Interface LangChain4jOllamaConfig.OllamaConfig
- Enclosing interface:
LangChain4jOllamaConfig
public static interface LangChain4jOllamaConfig.OllamaConfig
-
Method Summary
Modifier and TypeMethodDescriptionbaseUrl()Base URL where the Ollama serving is runningChat model related settingsEmbedding model related settingsWhether to enable the integration.Whether the Ollama client should log requestsWhether the Ollama client should log requests as cURL commandsWhether the Ollama client should log responsestimeout()Timeout for Ollama callsIf set, the named TLS configuration with the configured name will be applied to the REST Client
-
Method Details
-
baseUrl
-
tlsConfigurationName
-
timeout
-
logRequests
-
logResponses
-
logRequestsCurl
-
enableIntegration
Whether to enable the integration. Defaults totrue, which means requests are made to the OpenAI provider. Set tofalseto disable all requests. -
chatModel
ChatModelConfig chatModel()Chat model related settings -
embeddingModel
EmbeddingModelConfig embeddingModel()Embedding model related settings
-