Class MistralAiModelCatalog
java.lang.Object
dev.langchain4j.model.mistralai.MistralAiModelCatalog
- All Implemented Interfaces:
ModelCatalog
Mistral AI implementation of
ModelCatalog.
Example:
MistralAiModelCatalog catalog = MistralAiModelCatalog.builder()
.apiKey(System.getenv("MISTRAL_AI_API_KEY"))
.build();
List<ModelDescription> models = catalog.listModels();
- See Also:
-
Method Details
-
builder
-
listModels
Description copied from interface:ModelCatalogRetrieves a list of available models from the provider.- Specified by:
listModelsin interfaceModelCatalog- Returns:
- A list of model descriptions
-
provider
Description copied from interface:ModelCatalogReturns the provider for this catalog service.- Specified by:
providerin interfaceModelCatalog- Returns:
- The model provider
-