OLLMchat.Call
Description:
API call implementations namespace.
The OLLMchat.Call namespace provides classes for making API calls to Ollama and OpenAI-compatible servers. All call classes extend
Call.Base which handles HTTP communication, URL building, streaming, and error management.
Content:
Classes:
- Base - Abstract base class for all Ollama
API calls.
- Chat - Chat API call implementation for sending
messages and receiving responses.
- Create - API call to create a model using the
Ollama create API endpoint.
- Delete - API call to delete a model from the
Ollama server.
- Embed - API call to generate embeddings for input
text.
- Generate - API call to generate a response for a
prompt.
- Models - API call to list available models (OpenAI
-compatible).
- Options - Options object for Ollama API calls.
- Ps - API call to list currently running models on the
Ollama server.
- Pull - API call to pull a model from the Ollama
server.
- ShowModel - API call to get detailed
information about a specific model.
- Version - API call to get the version of the
Ollama server.