- Install ollama
- Configure models directory using
OLLAMA_MODELS
environment variable - Download models
- Run using JS
const ollama = new Ollama();
const response = await ollama.chat({});
OLLAMA_MODELS
environment variableconst ollama = new Ollama();
const response = await ollama.chat({});