Class OllamaChatClient

java.lang.Object
org.springframework.ai.ollama.OllamaChatClient
All Implemented Interfaces:
ChatClient, StreamingChatClient, ModelClient<Prompt,ChatResponse>, StreamingModelClient<Prompt,ChatResponse>

public class OllamaChatClient extends Object implements ChatClient, StreamingChatClient
ChatClient implementation for Ollama. Ollama allows developers to run large language models and generate embeddings locally. It supports open-source models available on [Ollama AI Library](https://ollama.ai/library). - Llama 2 (7B parameters, 3.8GB size) - Mistral (7B parameters, 4.1GB size) Please refer to the official Ollama website for the most up-to-date information on available models.
Since:
0.8.0
Author:
Christian Tzolov