Interface LangChain4jMistralAiConfig.MistralAiConfig
- Enclosing interface:
- LangChain4jMistralAiConfig
public static interface LangChain4jMistralAiConfig.MistralAiConfig
-
Method Summary
Modifier and TypeMethodDescriptionapiKey()Mistral API keybaseUrl()Base URL of Mistral APIChat model related settingsEmbedding model related settingsWhether to enable the integration.Whether the Mistral client should log requestsWhether the Mistral client should log responsestimeout()Timeout for Mistral calls
-
Method Details
-
baseUrl
Base URL of Mistral API -
apiKey
Mistral API key -
timeout
Timeout for Mistral calls -
chatModel
ChatModelConfig chatModel()Chat model related settings -
embeddingModel
EmbeddingModelConfig embeddingModel()Embedding model related settings -
logRequests
@ConfigDocDefault("false") @WithDefault("${quarkus.langchain4j.log-requests}") Optional<Boolean> logRequests()Whether the Mistral client should log requests -
logResponses
@ConfigDocDefault("false") @WithDefault("${quarkus.langchain4j.log-responses}") Optional<Boolean> logResponses()Whether the Mistral client should log responses -
enableIntegration
Whether to enable the integration. Defaults totrue, which means requests are made to the Mistral AI provider. Set tofalseto disable all requests.
-