ART Framework API Docs
    Preparing search index...

    Class OllamaAdapter

    Implements the ProviderAdapter interface for interacting with Ollama's OpenAI-compatible API endpoint.

    Handles formatting requests, parsing responses, streaming, and tool use.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    providerName: "ollama" = 'ollama'

    The unique identifier name for this provider (e.g., 'openai', 'anthropic').

    Methods

    • Optional method for graceful shutdown. For Ollama, which is typically a separate local server, this adapter doesn't manage persistent connections that need explicit closing.

      Returns Promise<void>

      A promise that resolves when the shutdown is complete.