Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 367 Bytes

ollama.md

File metadata and controls

11 lines (9 loc) · 367 Bytes

Configuration

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