Expand description
Ollama API client library.
A type-safe, async client for the Ollama REST API.
Structs§
- Chat
Request - Request to generate a chat completion.
- Chat
Response - Response from a chat completion.
- Client
- Ollama API client.
- Client
Builder - Client builder.
- Error
Response - Error response from the API.
- Function
Call - Function call details.
- Function
Definition - Function definition.
- Generate
Request - Request to generate a completion (non-chat).
- Generate
Response - Response from a generate request.
- Message
- A message in the conversation.
- Model
Details - Model details.
- Model
Info - Model information.
- Model
List - List of models.
- Options
- Options for generation.
- Tool
- Tool definition.
- Tool
Call - Tool call made by the assistant.
Enums§
- Ollama
Error - Ollama API error type.
- Role
- Message role.
Type Aliases§
- Result
- Result type alias for Ollama operations.