OLLMchat.Response
Description:
API response handling namespace.
The OLLMchat.Response namespace provides classes for deserializing and handling responses from Ollama API calls. All response types
extend Response.Base and are automatically deserialized from JSON.
Content:
Classes:
- Base - Abstract base class for Ollama
API responses.
- CallFunction - Represents a function
call with name and arguments. Used within ToolCall to represent the function being called.
- Chat - Response from a chat API call.
- Create - Represents a progress chunk from the
create API.
- Embed - Represents the response from the
embeddings API.
- Generate - Represents the response from the
generate API.
- Model - Represents model information from the
Ollama server.
- Pull - Represents a progress chunk from the pull
API.
- ToolCall - Represents a tool call from the
assistant. Used in assistant messages with tool_calls array.