Overview
Ollama allows you to run large language models locally on your machine. Perfect for development, testing, and privacy-sensitive applications. Model Class:OpenAIChatModel (OpenAI-compatible API)
Authentication
Examples
Parameters
| Parameter | Type | Description | Default | Source |
|---|---|---|---|---|
max_tokens | int | Maximum tokens to generate | Model default | Base |
temperature | float | Sampling temperature | 0.8 | Base |
top_p | float | Nucleus sampling | 0.9 | Base |
seed | int | Random seed | None | Base |
stop_sequences | list[str] | Stop sequences | None | Base |

