Class DefaultMistralAiClient
java.lang.Object
dev.langchain4j.model.mistralai.internal.client.MistralAiClient
dev.langchain4j.model.mistralai.internal.client.DefaultMistralAiClient
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
embedding
(MistralAiEmbeddingRequest request) void
streamingChatCompletion
(MistralAiChatCompletionRequest request, StreamingResponseHandler<AiMessage> handler)
-
Method Details
-
builder
-
chatCompletion
- Specified by:
chatCompletion
in classMistralAiClient
-
streamingChatCompletion
public void streamingChatCompletion(MistralAiChatCompletionRequest request, StreamingResponseHandler<AiMessage> handler) - Specified by:
streamingChatCompletion
in classMistralAiClient
-
embedding
- Specified by:
embedding
in classMistralAiClient
-
listModels
- Specified by:
listModels
in classMistralAiClient
-