Package dev.langchain4j.model.mistralai
Class MistralAiModels
java.lang.Object
dev.langchain4j.model.mistralai.MistralAiModels
Represents a collection of Mistral AI models.
You can find description of parameters here.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the list of all available models.builder()
static MistralAiModels
withApiKey
(String apiKey)
-
Constructor Details
-
MistralAiModels
-
MistralAiModels
@Deprecated(forRemoval=true) public MistralAiModels(String baseUrl, String apiKey, Duration timeout, Boolean logRequests, Boolean logResponses, Integer maxRetries) Deprecated, for removal: This API element is subject to removal in a future version.please useMistralAiModels(MistralAiModelsBuilder)
instead
-
-
Method Details
-
withApiKey
-
availableModels
Retrieves the list of all available models.- Returns:
- the response containing the list of models
-
builder
-
MistralAiModels(MistralAiModelsBuilder)
instead