Interface Langchain4jOllamaConfig.OllamaConfig

Enclosing interface:
Langchain4jOllamaConfig

public static interface Langchain4jOllamaConfig.OllamaConfig
  • Method Details

    • baseUrl

      @WithDefault("http://localhost:11434") String baseUrl()
      Base URL where the Ollama serving is running
    • timeout

      @WithDefault("10s") Duration timeout()
      Timeout for Ollama calls
    • logRequests

      @WithDefault("false") Boolean logRequests()
      Whether the Ollama client should log requests
    • logResponses

      @WithDefault("false") Boolean logResponses()
      Whether the Ollama client should log responses
    • chatModel

      ChatModelConfig chatModel()
      Chat model related settings
    • embeddingModel

      EmbeddingModelConfig embeddingModel()
      Embedding model related settings