This example is a basic "hello world" of using LangChain with Ollama using Node.js and Typescript.
Install the prerequisites:
npm install
Ensure the mistral model is available:
mistral
ollama pull mistral
Run the example:
npm start