ART Framework API Docs
    Preparing search index...

    Interface OllamaAdapterOptions

    Configuration options required for the OllamaAdapter.

    interface OllamaAdapterOptions {
        apiKey?: string;
        defaultModel?: string;
        ollamaBaseUrl?: string;
    }
    Index

    Properties

    apiKey?: string

    API key for Ollama (if secured). Defaults to "ollama" as commonly used.

    defaultModel?: string

    The default Ollama model ID to use (e.g., 'llama3', 'mistral'). This can be overridden by RuntimeProviderConfig.modelId or CallOptions.model. It's recommended to set this if you primarily use one model with Ollama.

    ollamaBaseUrl?: string

    The base URL for the Ollama API. Defaults to 'http://localhost:11434'. The '/v1' suffix for OpenAI compatibility will be added automatically.