Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractBuilder() - Constructor for class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- ANY - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ToolChoice
- apiKey(String) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.Builder
- apiKey(String) - Method in class org.springframework.ai.mistralai.api.MistralAiModerationApi.Builder
- arguments() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Returns the value of the
argumentsrecord component. - ASSISTANT - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.Role
- AUTO - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl.ImageDetail
- AUTO - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ToolChoice
B
- baseUrl(String) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.Builder
- baseUrl(String) - Method in class org.springframework.ai.mistralai.api.MistralAiModerationApi.Builder
- bottomRightX() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Returns the value of the
bottomRightXrecord component. - bottomRightY() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Returns the value of the
bottomRightYrecord component. - build() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.Builder
- build() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Builder
- build() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema.Builder
- build() - Method in class org.springframework.ai.mistralai.api.MistralAiModerationApi.Builder
- build() - Method in class org.springframework.ai.mistralai.MistralAiChatModel.Builder
- build() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- build() - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel.Builder
- build() - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingOptions.Builder
- build() - Method in class org.springframework.ai.mistralai.moderation.MistralAiModerationModel.Builder
- build() - Method in class org.springframework.ai.mistralai.moderation.MistralAiModerationOptions.Builder
- build() - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions.Builder
- builder() - Static method in class org.springframework.ai.mistralai.api.MistralAiApi
- builder() - Static method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- builder() - Static method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema
- builder() - Static method in class org.springframework.ai.mistralai.api.MistralAiModerationApi
- builder() - Static method in class org.springframework.ai.mistralai.MistralAiChatModel
- builder() - Static method in class org.springframework.ai.mistralai.MistralAiChatOptions
- builder() - Static method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel
- builder() - Static method in class org.springframework.ai.mistralai.MistralAiEmbeddingOptions
- builder() - Static method in class org.springframework.ai.mistralai.moderation.MistralAiModerationModel
- builder() - Static method in class org.springframework.ai.mistralai.moderation.MistralAiModerationOptions
- builder() - Static method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- Builder() - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.Builder
- Builder() - Constructor for class org.springframework.ai.mistralai.api.MistralAiModerationApi.Builder
- Builder() - Constructor for class org.springframework.ai.mistralai.MistralAiChatOptions.Builder
- Builder() - Constructor for class org.springframework.ai.mistralai.MistralAiEmbeddingModel.Builder
- Builder() - Constructor for class org.springframework.ai.mistralai.MistralAiEmbeddingOptions.Builder
- Builder() - Constructor for class org.springframework.ai.mistralai.moderation.MistralAiModerationModel.Builder
C
- call(Prompt) - Method in class org.springframework.ai.mistralai.MistralAiChatModel
- call(EmbeddingRequest) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel
- call(ModerationPrompt) - Method in class org.springframework.ai.mistralai.moderation.MistralAiModerationModel
- categories() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResult
-
Returns the value of the
categoriesrecord component. - Categories(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Creates an instance of a
Categoriesrecord class. - categoryScores() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResult
-
Returns the value of the
categoryScoresrecord component. - CategoryScores(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Creates an instance of a
CategoryScoresrecord class. - ChatCompletion(String, String, Long, String, List<MistralAiApi.ChatCompletion.Choice>, MistralAiApi.Usage) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Creates an instance of a
ChatCompletionrecord class. - ChatCompletionChunk(String, String, Long, String, List<MistralAiApi.ChatCompletionChunk.ChunkChoice>, MistralAiApi.Usage) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Creates an instance of a
ChatCompletionChunkrecord class. - chatCompletionEntity(MistralAiApi.ChatCompletionRequest) - Method in class org.springframework.ai.mistralai.api.MistralAiApi
-
Creates a model response for the given chat conversation.
- ChatCompletionFunction(String, String) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Creates an instance of a
ChatCompletionFunctionrecord class. - ChatCompletionMessage(Object, MistralAiApi.ChatCompletionMessage.Role, String, List<MistralAiApi.ChatCompletionMessage.ToolCall>, String) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Creates an instance of a
ChatCompletionMessagerecord class. - ChatCompletionMessage(Object, MistralAiApi.ChatCompletionMessage.Role) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Create a chat completion message with the given content and role.
- ChatCompletionMessage(Object, MistralAiApi.ChatCompletionMessage.Role, String, List<MistralAiApi.ChatCompletionMessage.ToolCall>) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Message comprising the conversation.
- ChatCompletionRequest(String, List<MistralAiApi.ChatCompletionMessage>, List<MistralAiApi.FunctionTool>, MistralAiApi.ChatCompletionRequest.ToolChoice, Double, Double, Integer, Integer, Double, Double, Boolean, Boolean, List<String>, MistralAiApi.ChatCompletionRequest.ReasoningEffort, Integer, MistralAiApi.ChatCompletionRequest.ResponseFormat) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Creates an instance of a
ChatCompletionRequestrecord class. - ChatCompletionRequest(List<MistralAiApi.ChatCompletionMessage>, Boolean) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Shortcut constructor for a chat completion request with the given messages and stream.
- ChatCompletionRequest(List<MistralAiApi.ChatCompletionMessage>, String) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Shortcut constructor for a chat completion request with the given messages and model.
- ChatCompletionRequest(List<MistralAiApi.ChatCompletionMessage>, String, Double) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Shortcut constructor for a chat completion request with the given messages, model and temperature.
- ChatCompletionRequest(List<MistralAiApi.ChatCompletionMessage>, String, Double, boolean) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Shortcut constructor for a chat completion request with the given messages, model and temperature.
- ChatCompletionRequest(List<MistralAiApi.ChatCompletionMessage>, String, List<MistralAiApi.FunctionTool>, MistralAiApi.ChatCompletionRequest.ToolChoice) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Shortcut constructor for a chat completion request with the given messages, model, tools and tool choice.
- chatCompletionStream(MistralAiApi.ChatCompletionRequest) - Method in class org.springframework.ai.mistralai.api.MistralAiApi
-
Creates a streaming chat response for the given chat conversation.
- Choice(Integer, MistralAiApi.ChatCompletionMessage, MistralAiApi.FinishReason, MistralAiApi.LogProbs) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion.Choice
-
Creates an instance of a
Choicerecord class. - choices() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Returns the value of the
choicesrecord component. - choices() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Returns the value of the
choicesrecord component. - ChunkChoice(Integer, MistralAiApi.ChatCompletionMessage, MistralAiApi.FinishReason, MistralAiApi.LogProbs) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk.ChunkChoice
-
Creates an instance of a
ChunkChoicerecord class. - clone() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- closed() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ThinkChunk
-
Returns the value of the
closedrecord component. - CODESTRAL - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
- CODESTRAL_EMBED - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel
-
Codestral Embed model optimized for code embeddings.
- combineWith(ChatOptions.Builder<?>) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- completionTokens() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Usage
-
Returns the value of the
completionTokensrecord component. - content() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Returns the value of the
contentrecord component. - content() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs
-
Returns the value of the
contentrecord component. - Content(String, Float, List<Integer>, List<MistralAiApi.LogProbs.Content.TopLogProbs>) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content
-
Creates an instance of a
Contentrecord class. - ContentDeserializer() - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ContentDeserializer
- ContentSerializer() - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ContentSerializer
- created() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Returns the value of the
createdrecord component. - created() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Returns the value of the
createdrecord component. - criminal() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
criminalrecord component. - criminal() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
criminalrecord component.
D
- dangerous() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
dangerousrecord component. - dangerous() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
dangerousrecord component. - data() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingList
-
Returns the value of the
datarecord component. - DEFAULT_EMBEDDING_MODEL - Static variable in class org.springframework.ai.mistralai.MistralAiEmbeddingOptions
- DEFAULT_ENCODING_FORMAT - Static variable in class org.springframework.ai.mistralai.MistralAiEmbeddingOptions
- delta() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk.ChunkChoice
-
Returns the value of the
deltarecord component. - deserialize(JsonParser, DeserializationContext) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ContentDeserializer
- detail() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl
-
Returns the value of the
detailrecord component. - dimensions() - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel
- dimensions() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPage
-
Returns the value of the
dimensionsrecord component. - docSizeBytes() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRResponse
-
Returns the value of the
docSizeBytesrecord component. - docSizeBytes() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRUsageInfo
-
Returns the value of the
docSizeBytesrecord component. - document() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Returns the value of the
documentrecord component. - documentName() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.DocumentURLChunk
-
Returns the value of the
documentNamerecord component. - documentUrl() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.DocumentURLChunk
-
Returns the value of the
documentUrlrecord component. - DocumentURLChunk(String) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.DocumentURLChunk
-
Create a DocumentURLChunk.
- DocumentURLChunk(String, String, String) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.DocumentURLChunk
-
Creates an instance of a
DocumentURLChunkrecord class. - dpi() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPageDimensions
-
Returns the value of the
dpirecord component.
E
- embed(Document) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel
- EMBED - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel
-
Mistral Embed model for general text embeddings.
- embedding() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Embedding
-
Returns the value of the
embeddingrecord component. - Embedding(Integer, float[]) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.Embedding
-
Create an embedding with the given index, embedding and object type set to 'embedding'.
- Embedding(Integer, float[], String) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.Embedding
-
Creates an instance of a
Embeddingrecord class. - EmbeddingList(String, List<T>, String, MistralAiApi.Usage) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingList
-
Creates an instance of a
EmbeddingListrecord class. - EmbeddingRequest(T) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingRequest
-
Create an embedding request with the given input.
- EmbeddingRequest(T, String) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingRequest
-
Create an embedding request with the given input, model and encoding format set to float.
- EmbeddingRequest(T, String, String) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingRequest
-
Creates an instance of a
EmbeddingRequestrecord class. - embeddings(MistralAiApi.EmbeddingRequest<T>) - Method in class org.springframework.ai.mistralai.api.MistralAiApi
-
Creates an embedding vector representing the input text or token array.
- encodingFormat() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingRequest
-
Returns the value of the
encodingFormatrecord component. - encodingFormat(String) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingOptions.Builder
- equals(Object) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- equals(Object) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Embedding
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- equals(Object) - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- equals(Object) - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion.Choice
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk.ChunkChoice
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ReferenceChunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.TextChunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ThinkChunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ToolCall
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingList
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content.TopLogProbs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Usage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPageDimensions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.DocumentURLChunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.ImageURLChunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRUsageInfo
-
Indicates whether some other object is "equal to" this one.
- ERROR - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.FinishReason
- ExtractedImage(String, Integer, Integer, Integer, Integer, String) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Creates an instance of a
ExtractedImagerecord class. - extractReferenceContent() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Extract text content as integers.
- extractTextContent() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Extract text content as string.
- extractThinkingReferenceContent() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Extract thinking reference content as integers.
- extractThinkingTextContent() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Extract thinking text content as string.
F
- financial() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
financialrecord component. - financial() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
financialrecord component. - finishReason() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion.Choice
-
Returns the value of the
finishReasonrecord component. - finishReason() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk.ChunkChoice
-
Returns the value of the
finishReasonrecord component. - flagged() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResult
- frequencyPenalty() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
frequencyPenaltyrecord component. - from(MistralAiApi.ChatCompletion) - Static method in class org.springframework.ai.mistralai.MistralAiChatModel
- from(MistralAiApi.ChatCompletion, Usage) - Static method in class org.springframework.ai.mistralai.MistralAiChatModel
- fromImageData(MimeType, byte[]) - Static method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl
-
Convert the bytes to a base64 encoded following the prefix pattern.
- fromImageData(MimeType, byte[], MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl.ImageDetail) - Static method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl
-
Convert the bytes to a base64 encoded following the prefix pattern.
- fromValue(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Type
- function() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ToolCall
-
Returns the value of the
functionrecord component. - Function(String, String, String) - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
-
Create tool function definition.
- Function(String, String, Map<String, Object>) - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
-
Create tool function definition.
- FUNCTION - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Type
-
Function tool type.
- FunctionTool() - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool
- FunctionTool(MistralAiApi.FunctionTool.Function) - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool
-
Create a tool of type 'function' and the given function definition.
- FunctionTool(MistralAiApi.FunctionTool.Type, MistralAiApi.FunctionTool.Function) - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool
G
- getDescription() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
- getDimensions() - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingOptions
- getEmbeddingContent(Document) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel
- getEncodingFormat() - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingOptions
- getFrequencyPenalty() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getFunction() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool
- getId() - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- getImageLimit() - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- getImageMinSize() - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- getIncludeImageBase64() - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- getJsonSchema() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- getJsonSchema() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
- getMaxTokens() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getModel() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getModel() - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingOptions
- getModel() - Method in class org.springframework.ai.mistralai.moderation.MistralAiModerationOptions
- getModel() - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- getN() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getName() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema
- getName() - Method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
- getName() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
- getOptions() - Method in class org.springframework.ai.mistralai.MistralAiChatModel
- getOutputSchema() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getPages() - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- getParameters() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
- getPresencePenalty() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getRandomSeed() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getReasoningEffort() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getResponseFormat() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getSafePrompt() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getSchema() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- getSchema() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema
- getStop() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getStopSequences() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getStrict() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema
- getTemperature() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getToolCallbacks() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getToolChoice() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getToolContext() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getTools() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getTopK() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getTopP() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- getType() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- getType() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool
- getValue() - Method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Type
- getValue() - Method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
- getValue() - Method in enum class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel
- getValue() - Method in enum class org.springframework.ai.mistralai.api.MistralAiModerationApi.Model
- getValue() - Method in enum class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRModel
H
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion.Choice
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk.ChunkChoice
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ReferenceChunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.TextChunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ThinkChunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ToolCall
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- hashCode() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Embedding
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingList
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content.TopLogProbs
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Usage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResult
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
- hashCode() - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- hashCode() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPageDimensions
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.DocumentURLChunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.ImageURLChunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRUsageInfo
-
Returns a hash code value for this object.
- hateAndDiscrimination() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
hateAndDiscriminationrecord component. - hateAndDiscrimination() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
hateAndDiscriminationrecord component. - health() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
healthrecord component. - health() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
healthrecord component. - height() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPageDimensions
-
Returns the value of the
heightrecord component. - HIGH - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl.ImageDetail
- HIGH - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ReasoningEffort
I
- id() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Returns the value of the
idrecord component. - id() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Returns the value of the
idrecord component. - id() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ToolCall
-
Returns the value of the
idrecord component. - id() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResponse
-
Returns the value of the
idrecord component. - id() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Returns the value of the
idrecord component. - id() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Returns the value of the
idrecord component. - id(String) - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions.Builder
- imageBase64() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Returns the value of the
imageBase64record component. - imageLimit() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Returns the value of the
imageLimitrecord component. - imageLimit(Integer) - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions.Builder
- imageMinSize() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Returns the value of the
imageMinSizerecord component. - imageMinSize(Integer) - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions.Builder
- imageName() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.ImageURLChunk
-
Returns the value of the
imageNamerecord component. - images() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPage
-
Returns the value of the
imagesrecord component. - imageUrl() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk
-
Returns the value of the
imageUrlrecord component. - imageUrl() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.ImageURLChunk
-
Returns the value of the
imageUrlrecord component. - ImageUrl(String, MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl.ImageDetail) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl
-
Creates an instance of a
ImageUrlrecord class. - ImageUrlChunk(MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk
-
Creates an instance of a
ImageUrlChunkrecord class. - ImageURLChunk(String) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.ImageURLChunk
-
Create an ImageURLChunk.
- ImageURLChunk(String, String, String) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.ImageURLChunk
-
Creates an instance of a
ImageURLChunkrecord class. - includeImageBase64() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Returns the value of the
includeImageBase64record component. - includeImageBase64(Boolean) - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions.Builder
- index() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion.Choice
-
Returns the value of the
indexrecord component. - index() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk.ChunkChoice
-
Returns the value of the
indexrecord component. - index() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ToolCall
-
Returns the value of the
indexrecord component. - index() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Embedding
-
Returns the value of the
indexrecord component. - index() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPage
-
Returns the value of the
indexrecord component. - input() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingRequest
-
Returns the value of the
inputrecord component. - isStreamingToolFunctionCall(MistralAiApi.ChatCompletionChunk) - Method in class org.springframework.ai.mistralai.api.MistralAiStreamFunctionCallingHelper
- isStreamingToolFunctionCallFinish(MistralAiApi.ChatCompletionChunk) - Method in class org.springframework.ai.mistralai.api.MistralAiStreamFunctionCallingHelper
J
- jailbreaking() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
jailbreakingrecord component. - jailbreaking() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
jailbreakingrecord component. - JSON_OBJECT - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Type
-
Enables JSON mode, which guarantees the message the model generates is valid JSON.
- JSON_SCHEMA - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Type
-
Enables Structured Outputs which guarantees the model will match your supplied JSON schema.
- jsonObject() - Static method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
-
Creates a ResponseFormat for JSON object output (JSON mode).
- jsonSchema(Class<?>) - Static method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
-
Creates a ResponseFormat for JSON schema output with automatic schema generation from a class.
- jsonSchema(String) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Builder
- jsonSchema(String) - Static method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
-
Creates a ResponseFormat for JSON schema output with a JSON schema string.
- jsonSchema(Map<String, Object>) - Static method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
-
Creates a ResponseFormat for JSON schema output with a JSON schema map.
- jsonSchema(MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Builder
- JsonSchema() - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema
L
- law() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
lawrecord component. - law() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
lawrecord component. - LENGTH - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.FinishReason
-
The maximum number of tokens specified in the request was reached.
- logprob() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content
-
Returns the value of the
logprobrecord component. - logprob() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content.TopLogProbs
-
Returns the value of the
logprobrecord component. - logprobs() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion.Choice
-
Returns the value of the
logprobsrecord component. - logprobs() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk.ChunkChoice
-
Returns the value of the
logprobsrecord component. - LogProbs(List<MistralAiApi.LogProbs.Content>) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs
-
Creates an instance of a
LogProbsrecord class. - LOW - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl.ImageDetail
M
- markdown() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPage
-
Returns the value of the
markdownrecord component. - maxTokens() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
maxTokensrecord component. - merge(MistralAiApi.ChatCompletionChunk, MistralAiApi.ChatCompletionChunk) - Method in class org.springframework.ai.mistralai.api.MistralAiStreamFunctionCallingHelper
-
Merge the previous and current ChatCompletionChunk into a single one.
- message() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion.Choice
-
Returns the value of the
messagerecord component. - messages() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
messagesrecord component. - metadataMode(MetadataMode) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel.Builder
- MINISTRAL_14B - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
- MINISTRAL_3B - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
- MINISTRAL_8B - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
- MISTRAL_LARGE - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
-
Deprecated, for removal: This API element is subject to removal in a future version.
- MISTRAL_MEDIUM - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
- MISTRAL_MODERATION - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiModerationApi.Model
- MISTRAL_OCR_LATEST - Enum constant in enum class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRModel
- MISTRAL_SMALL - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
- mistralAiApi(MistralAiApi) - Method in class org.springframework.ai.mistralai.MistralAiChatModel.Builder
- mistralAiApi(MistralAiApi) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel.Builder
- MistralAiApi - Class in org.springframework.ai.mistralai.api
-
Single-class, Java Client library for Mistral AI platform.
- MistralAiApi(String, String, RestClient.Builder, WebClient.Builder, ResponseErrorHandler) - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi
-
Create a new client API.
- MistralAiApi.Builder - Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletion - Record Class in org.springframework.ai.mistralai.api
-
Represents a chat completion response returned by model, based on the provided input.
- MistralAiApi.ChatCompletion.Choice - Record Class in org.springframework.ai.mistralai.api
-
Chat completion choice.
- MistralAiApi.ChatCompletionChunk - Record Class in org.springframework.ai.mistralai.api
-
Represents a streamed chunk of a chat completion response returned by model, based on the provided input.
- MistralAiApi.ChatCompletionChunk.ChunkChoice - Record Class in org.springframework.ai.mistralai.api
-
Chat completion choice.
- MistralAiApi.ChatCompletionMessage - Record Class in org.springframework.ai.mistralai.api
-
Message comprising the conversation.
- MistralAiApi.ChatCompletionMessage.ChatCompletionFunction - Record Class in org.springframework.ai.mistralai.api
-
The function definition.
- MistralAiApi.ChatCompletionMessage.ContentChunk - Interface in org.springframework.ai.mistralai.api
-
Marker interface representing the different content chunks supported.
- MistralAiApi.ChatCompletionMessage.ContentDeserializer - Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionMessage.ContentSerializer - Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionMessage.ImageUrlChunk - Record Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl - Record Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl.ImageDetail - Enum Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionMessage.ReferenceChunk - Record Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionMessage.Role - Enum Class in org.springframework.ai.mistralai.api
-
The role of the author of this message.
- MistralAiApi.ChatCompletionMessage.TextChunk - Record Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionMessage.ThinkChunk - Record Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionMessage.ThinkingContentChunk - Interface in org.springframework.ai.mistralai.api
-
Marker interface representing the different thinking content chunks supported.
- MistralAiApi.ChatCompletionMessage.ToolCall - Record Class in org.springframework.ai.mistralai.api
-
The relevant tool call.
- MistralAiApi.ChatCompletionRequest - Record Class in org.springframework.ai.mistralai.api
-
Creates a model request for chat conversation.
- MistralAiApi.ChatCompletionRequest.ReasoningEffort - Enum Class in org.springframework.ai.mistralai.api
-
Controls the reasoning effort level for adjustable reasoning models.
- MistralAiApi.ChatCompletionRequest.ResponseFormat - Class in org.springframework.ai.mistralai.api
-
An object specifying the format that the model must output.
- MistralAiApi.ChatCompletionRequest.ResponseFormat.Builder - Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema - Class in org.springframework.ai.mistralai.api
-
JSON schema object that describes the format of the JSON object.
- MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema.Builder - Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionRequest.ResponseFormat.Type - Enum Class in org.springframework.ai.mistralai.api
- MistralAiApi.ChatCompletionRequest.ToolChoice - Enum Class in org.springframework.ai.mistralai.api
-
Specifies a tool the model should use.
- MistralAiApi.ChatModel - Enum Class in org.springframework.ai.mistralai.api
-
List of well-known Mistral chat models.
- MistralAiApi.Embedding - Record Class in org.springframework.ai.mistralai.api
-
Represents an embedding vector returned by embedding endpoint.
- MistralAiApi.EmbeddingList<T> - Record Class in org.springframework.ai.mistralai.api
-
List of multiple embedding responses.
- MistralAiApi.EmbeddingModel - Enum Class in org.springframework.ai.mistralai.api
-
List of well-known Mistral embedding models.
- MistralAiApi.EmbeddingRequest<T> - Record Class in org.springframework.ai.mistralai.api
-
Creates an embedding vector representing the input text.
- MistralAiApi.FinishReason - Enum Class in org.springframework.ai.mistralai.api
-
The reason the model stopped generating tokens.
- MistralAiApi.FunctionTool - Class in org.springframework.ai.mistralai.api
-
Represents a tool the model may call.
- MistralAiApi.FunctionTool.Function - Class in org.springframework.ai.mistralai.api
-
Function definition.
- MistralAiApi.FunctionTool.Type - Enum Class in org.springframework.ai.mistralai.api
-
Create a tool of type 'function' and the given function definition.
- MistralAiApi.LogProbs - Record Class in org.springframework.ai.mistralai.api
-
Log probability information for the choice. anticipation of future changes.
- MistralAiApi.LogProbs.Content - Record Class in org.springframework.ai.mistralai.api
-
Message content tokens with log probability information.
- MistralAiApi.LogProbs.Content.TopLogProbs - Record Class in org.springframework.ai.mistralai.api
-
The most likely tokens and their log probability, at this token position.
- MistralAiApi.Usage - Record Class in org.springframework.ai.mistralai.api
-
Usage statistics.
- MistralAiChatModel - Class in org.springframework.ai.mistralai
-
Represents a Mistral AI Chat Model.
- MistralAiChatModel(MistralAiApi, MistralAiChatOptions, ToolCallingManager, RetryTemplate, ObservationRegistry) - Constructor for class org.springframework.ai.mistralai.MistralAiChatModel
- MistralAiChatModel.Builder - Class in org.springframework.ai.mistralai
- MistralAiChatOptions - Class in org.springframework.ai.mistralai
-
Options for the Mistral AI Chat API.
- MistralAiChatOptions(String, Double, Double, Integer, Boolean, Integer, MistralAiApi.ChatCompletionRequest.ResponseFormat, List<String>, MistralAiApi.ChatCompletionRequest.ReasoningEffort, Double, Double, Integer, List<MistralAiApi.FunctionTool>, MistralAiApi.ChatCompletionRequest.ToolChoice, List<ToolCallback>, Map<String, Object>) - Constructor for class org.springframework.ai.mistralai.MistralAiChatOptions
- MistralAiChatOptions.AbstractBuilder<B extends MistralAiChatOptions.AbstractBuilder<B>> - Class in org.springframework.ai.mistralai
- MistralAiChatOptions.Builder - Class in org.springframework.ai.mistralai
- MistralAiEmbeddingModel - Class in org.springframework.ai.mistralai
-
Provides the Mistral AI Embedding Model.
- MistralAiEmbeddingModel(MistralAiApi, MetadataMode, MistralAiEmbeddingOptions, RetryTemplate, ObservationRegistry) - Constructor for class org.springframework.ai.mistralai.MistralAiEmbeddingModel
- MistralAiEmbeddingModel.Builder - Class in org.springframework.ai.mistralai
- MistralAiEmbeddingOptions - Class in org.springframework.ai.mistralai
-
Options for the Mistral AI Embedding API.
- MistralAiEmbeddingOptions(String, String) - Constructor for class org.springframework.ai.mistralai.MistralAiEmbeddingOptions
- MistralAiEmbeddingOptions.Builder - Class in org.springframework.ai.mistralai
- mistralAiModerationApi(MistralAiModerationApi) - Method in class org.springframework.ai.mistralai.moderation.MistralAiModerationModel.Builder
- MistralAiModerationApi - Class in org.springframework.ai.mistralai.api
-
Mistral AI Moderation API.
- MistralAiModerationApi(String, String, RestClient.Builder, ResponseErrorHandler) - Constructor for class org.springframework.ai.mistralai.api.MistralAiModerationApi
- MistralAiModerationApi.Builder - Class in org.springframework.ai.mistralai.api
- MistralAiModerationApi.Categories - Record Class in org.springframework.ai.mistralai.api
- MistralAiModerationApi.CategoryScores - Record Class in org.springframework.ai.mistralai.api
- MistralAiModerationApi.MistralAiModerationRequest - Record Class in org.springframework.ai.mistralai.api
- MistralAiModerationApi.MistralAiModerationResponse - Record Class in org.springframework.ai.mistralai.api
- MistralAiModerationApi.MistralAiModerationResult - Record Class in org.springframework.ai.mistralai.api
- MistralAiModerationApi.Model - Enum Class in org.springframework.ai.mistralai.api
-
List of well-known Mistral moderation models.
- MistralAiModerationModel - Class in org.springframework.ai.mistralai.moderation
- MistralAiModerationModel(MistralAiModerationApi, RetryTemplate, MistralAiModerationOptions) - Constructor for class org.springframework.ai.mistralai.moderation.MistralAiModerationModel
- MistralAiModerationModel.Builder - Class in org.springframework.ai.mistralai.moderation
- MistralAiModerationOptions - Class in org.springframework.ai.mistralai.moderation
- MistralAiModerationOptions(String) - Constructor for class org.springframework.ai.mistralai.moderation.MistralAiModerationOptions
- MistralAiModerationOptions.Builder - Class in org.springframework.ai.mistralai.moderation
- MistralAiModerationRequest(String, String) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationRequest
-
Creates an instance of a
MistralAiModerationRequestrecord class. - MistralAiModerationResponse(String, String, MistralAiModerationApi.MistralAiModerationResult[]) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResponse
-
Creates an instance of a
MistralAiModerationResponserecord class. - MistralAiModerationResult(MistralAiModerationApi.Categories, MistralAiModerationApi.CategoryScores) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResult
-
Creates an instance of a
MistralAiModerationResultrecord class. - MistralAiOcrOptions - Class in org.springframework.ai.mistralai.ocr
-
Options for Mistral AI OCR requests.
- MistralAiOcrOptions(String, String, List<Integer>, Boolean, Integer, Integer) - Constructor for class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions
- MistralAiOcrOptions.Builder - Class in org.springframework.ai.mistralai.ocr
- MistralAiRuntimeHints - Class in org.springframework.ai.mistralai.aot
-
The MistralAiRuntimeHints class is responsible for registering runtime hints for Mistral AI API classes.
- MistralAiRuntimeHints() - Constructor for class org.springframework.ai.mistralai.aot.MistralAiRuntimeHints
- MistralAiStreamFunctionCallingHelper - Class in org.springframework.ai.mistralai.api
-
Helper class to support Streaming function calling.
- MistralAiStreamFunctionCallingHelper() - Constructor for class org.springframework.ai.mistralai.api.MistralAiStreamFunctionCallingHelper
- MistralOcrApi - Class in org.springframework.ai.mistralai.ocr
-
Java Client library for the Mistral AI OCR API.
- MistralOcrApi(String) - Constructor for class org.springframework.ai.mistralai.ocr.MistralOcrApi
-
Create a new MistralOcrApi instance.
- MistralOcrApi(String, String) - Constructor for class org.springframework.ai.mistralai.ocr.MistralOcrApi
-
Create a new MistralOcrApi instance.
- MistralOcrApi(String, String, RestClient.Builder) - Constructor for class org.springframework.ai.mistralai.ocr.MistralOcrApi
-
Create a new MistralOcrApi instance.
- MistralOcrApi(String, String, RestClient.Builder, ResponseErrorHandler) - Constructor for class org.springframework.ai.mistralai.ocr.MistralOcrApi
-
Create a new MistralOcrApi instance.
- MistralOcrApi.ExtractedImage - Record Class in org.springframework.ai.mistralai.ocr
-
Represents an extracted image from a page.
- MistralOcrApi.OCRModel - Enum Class in org.springframework.ai.mistralai.ocr
-
List of well-known Mistral OCR models.
- MistralOcrApi.OCRPage - Record Class in org.springframework.ai.mistralai.ocr
-
Represents OCR information for a single page.
- MistralOcrApi.OCRPageDimensions - Record Class in org.springframework.ai.mistralai.ocr
-
Represents the dimensions of a PDF page's screenshot image.
- MistralOcrApi.OCRRequest - Record Class in org.springframework.ai.mistralai.ocr
-
Represents the request for the OCR API.
- MistralOcrApi.OCRRequest.Document - Interface in org.springframework.ai.mistralai.ocr
-
Represents the document to be processed, which can be either a document URL or an image URL.
- MistralOcrApi.OCRRequest.DocumentURLChunk - Record Class in org.springframework.ai.mistralai.ocr
-
Represents a document URL chunk.
- MistralOcrApi.OCRRequest.ImageURLChunk - Record Class in org.springframework.ai.mistralai.ocr
-
Represents an image URL chunk.
- MistralOcrApi.OCRResponse - Record Class in org.springframework.ai.mistralai.ocr
-
Represents the response from the OCR API.
- MistralOcrApi.OCRUsageInfo - Record Class in org.springframework.ai.mistralai.ocr
-
Represents usage information for the OCR request.
- model() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingList
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingRequest
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationRequest
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResponse
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRResponse
-
Returns the value of the
modelrecord component. - model(String) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingOptions.Builder
- model(String) - Method in class org.springframework.ai.mistralai.moderation.MistralAiModerationOptions.Builder
- model(String) - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions.Builder
- model(MistralAiApi.ChatModel) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- MODEL_LENGTH - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.FinishReason
-
The content was omitted due to a flag from our content filters.
- moderate(MistralAiModerationApi.MistralAiModerationRequest) - Method in class org.springframework.ai.mistralai.api.MistralAiModerationApi
- mutate() - Method in class org.springframework.ai.mistralai.MistralAiChatOptions
N
- n() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
nrecord component. - n(Integer) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- name() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Returns the value of the
namerecord component. - name() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Returns the value of the
namerecord component. - name(String) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema.Builder
- NONE - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ReasoningEffort
- NONE - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ToolChoice
O
- object() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Returns the value of the
objectrecord component. - object() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Returns the value of the
objectrecord component. - object() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Embedding
-
Returns the value of the
objectrecord component. - object() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingList
-
Returns the value of the
objectrecord component. - observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.mistralai.MistralAiChatModel.Builder
- observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel.Builder
- ocr(MistralOcrApi.OCRRequest) - Method in class org.springframework.ai.mistralai.ocr.MistralOcrApi
-
Performs OCR on a document and returns the extracted information.
- OCRPage(Integer, String, List<MistralOcrApi.ExtractedImage>, MistralOcrApi.OCRPageDimensions) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPage
-
Creates an instance of a
OCRPagerecord class. - OCRPageDimensions(Integer, Integer, Integer) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPageDimensions
-
Creates an instance of a
OCRPageDimensionsrecord class. - OCRRequest(String, String, MistralOcrApi.OCRRequest.Document, List<Integer>, Boolean, Integer, Integer) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Creates an instance of a
OCRRequestrecord class. - OCRResponse(List<MistralOcrApi.OCRPage>, String, MistralOcrApi.OCRUsageInfo, Integer, Integer) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRResponse
-
Creates an instance of a
OCRResponserecord class. - OCRUsageInfo(Integer, Integer) - Constructor for record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRUsageInfo
-
Creates an instance of a
OCRUsageInforecord class. - options(MistralAiChatOptions) - Method in class org.springframework.ai.mistralai.MistralAiChatModel.Builder
- options(MistralAiEmbeddingOptions) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel.Builder
- options(MistralAiModerationOptions) - Method in class org.springframework.ai.mistralai.moderation.MistralAiModerationModel.Builder
- org.springframework.ai.mistralai - package org.springframework.ai.mistralai
- org.springframework.ai.mistralai.aot - package org.springframework.ai.mistralai.aot
- org.springframework.ai.mistralai.api - package org.springframework.ai.mistralai.api
- org.springframework.ai.mistralai.moderation - package org.springframework.ai.mistralai.moderation
- org.springframework.ai.mistralai.ocr - package org.springframework.ai.mistralai.ocr
- outputSchema(String) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
P
- pages() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Returns the value of the
pagesrecord component. - pages() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRResponse
-
Returns the value of the
pagesrecord component. - pages(List<Integer>) - Method in class org.springframework.ai.mistralai.ocr.MistralAiOcrOptions.Builder
- pagesProcessed() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRResponse
-
Returns the value of the
pagesProcessedrecord component. - pagesProcessed() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRUsageInfo
-
Returns the value of the
pagesProcessedrecord component. - pii() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
piirecord component. - pii() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
piirecord component. - presencePenalty() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
presencePenaltyrecord component. - probBytes() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content
-
Returns the value of the
probBytesrecord component. - probBytes() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content.TopLogProbs
-
Returns the value of the
probBytesrecord component. - prompt() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationRequest
-
Returns the value of the
promptrecord component. - promptTokens() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Usage
-
Returns the value of the
promptTokensrecord component. - PROVIDER_NAME - Static variable in class org.springframework.ai.mistralai.api.MistralAiApi
R
- randomSeed() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
randomSeedrecord component. - randomSeed(Integer) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- reasoningEffort() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
reasoningEffortrecord component. - reasoningEffort(MistralAiApi.ChatCompletionRequest.ReasoningEffort) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- REFERENCE_CONTENT_METADATA - Static variable in class org.springframework.ai.mistralai.MistralAiChatModel
- REFERENCE_THINKING_CONTENT_METADATA - Static variable in class org.springframework.ai.mistralai.MistralAiChatModel
- ReferenceChunk(List<Integer>) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ReferenceChunk
-
Creates an instance of a
ReferenceChunkrecord class. - referenceIds() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ReferenceChunk
-
Returns the value of the
referenceIdsrecord component. - registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.ai.mistralai.aot.MistralAiRuntimeHints
- responseErrorHandler(ResponseErrorHandler) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.Builder
- responseErrorHandler(ResponseErrorHandler) - Method in class org.springframework.ai.mistralai.api.MistralAiModerationApi.Builder
- responseFormat() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
responseFormatrecord component. - responseFormat(MistralAiApi.ChatCompletionRequest.ResponseFormat) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- ResponseFormat() - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- ResponseFormat(String) - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
-
Deprecated.
- ResponseFormat(String, Map<String, Object>) - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
-
Deprecated.Use
MistralAiApi.ChatCompletionRequest.ResponseFormat.builder()or factory methods instead. - ResponseFormat(MistralAiApi.ChatCompletionRequest.ResponseFormat.Type, String) - Constructor for class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- restClientBuilder(RestClient.Builder) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.Builder
- restClientBuilder(RestClient.Builder) - Method in class org.springframework.ai.mistralai.api.MistralAiModerationApi.Builder
- results() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResponse
-
Returns the value of the
resultsrecord component. - retryTemplate(RetryTemplate) - Method in class org.springframework.ai.mistralai.MistralAiChatModel.Builder
- retryTemplate(RetryTemplate) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel.Builder
- retryTemplate(RetryTemplate) - Method in class org.springframework.ai.mistralai.moderation.MistralAiModerationModel.Builder
- role() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Returns the value of the
rolerecord component.
S
- safePrompt() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
safePromptrecord component. - safePrompt(Boolean) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- schema(String) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema.Builder
- schema(Map<String, Object>) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema.Builder
- selfHarm() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
selfHarmrecord component. - selfHarm() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
selfHarmrecord component. - serialize(Object, JsonGenerator, SerializationContext) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ContentSerializer
- setDescription(String) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
- setFunction(MistralAiApi.FunctionTool.Function) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool
- setJsonSchema(String) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
- setJsonSchema(MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- setName(String) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
- setObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.mistralai.MistralAiChatModel
-
Use the provided convention for reporting observation data
- setObservationConvention(EmbeddingModelObservationConvention) - Method in class org.springframework.ai.mistralai.MistralAiEmbeddingModel
-
Use the provided convention for reporting observation data
- setParameters(Map<String, Object>) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Function
- setSchema(String) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- setType(MistralAiApi.ChatCompletionRequest.ResponseFormat.Type) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- setType(MistralAiApi.FunctionTool.Type) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool
- sexual() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
sexualrecord component. - sexual() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
sexualrecord component. - stop() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
stoprecord component. - stop(List<String>) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- STOP - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.FinishReason
-
The model hit a natural stop point or a provided stop sequence.
- stream() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
streamrecord component. - stream(Prompt) - Method in class org.springframework.ai.mistralai.MistralAiChatModel
- strict(Boolean) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema.Builder
- SYSTEM - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.Role
T
- temperature() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
temperaturerecord component. - text() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.TextChunk
-
Returns the value of the
textrecord component. - text() - Static method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
-
Creates a ResponseFormat for text output.
- TEXT - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Type
-
Generates a text response.
- TextChunk(String) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.TextChunk
-
Creates an instance of a
TextChunkrecord class. - ThinkChunk(List<MistralAiApi.ChatCompletionMessage.ThinkingContentChunk>, Boolean) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ThinkChunk
-
Creates an instance of a
ThinkChunkrecord class. - thinking() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ThinkChunk
-
Returns the value of the
thinkingrecord component. - THINKING_CONTENT_METADATA - Static variable in class org.springframework.ai.mistralai.MistralAiChatModel
- token() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content
-
Returns the value of the
tokenrecord component. - token() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content.TopLogProbs
-
Returns the value of the
tokenrecord component. - TOOL - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.Role
- TOOL_CALLS - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.FinishReason
-
The model requested a tool call.
- ToolCall(String, String, MistralAiApi.ChatCompletionMessage.ChatCompletionFunction, Integer) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ToolCall
-
Creates an instance of a
ToolCallrecord class. - toolCallId() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Returns the value of the
toolCallIdrecord component. - toolCallingManager(ToolCallingManager) - Method in class org.springframework.ai.mistralai.MistralAiChatModel.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.since 2.0.0 for removal in 3.0.0 — internal tool execution in
MistralAiChatModelis superseded byToolCallingAdvisorused viaChatClient. - toolCalls() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Returns the value of the
toolCallsrecord component. - toolChoice() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
toolChoicerecord component. - toolChoice(MistralAiApi.ChatCompletionRequest.ToolChoice) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- tools() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
toolsrecord component. - tools(List<MistralAiApi.FunctionTool>) - Method in class org.springframework.ai.mistralai.MistralAiChatOptions.AbstractBuilder
- topLeftX() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Returns the value of the
topLeftXrecord component. - topLeftY() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Returns the value of the
topLeftYrecord component. - topLogprobs() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content
-
Returns the value of the
topLogprobsrecord component. - TopLogProbs(String, Float, List<Integer>) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content.TopLogProbs
-
Creates an instance of a
TopLogProbsrecord class. - topP() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns the value of the
topPrecord component. - toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion.Choice
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk.ChunkChoice
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ReferenceChunk
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.TextChunk
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ThinkChunk
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ToolCall
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.JsonSchema
- toString() - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Embedding
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingList
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content.TopLogProbs
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs.Content
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.LogProbs
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Usage
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.MistralAiModerationResult
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.ExtractedImage
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPage
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPageDimensions
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.DocumentURLChunk
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.ImageURLChunk
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRUsageInfo
-
Returns a string representation of this record class.
- totalTokens() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.Usage
-
Returns the value of the
totalTokensrecord component. - type() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ToolCall
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.DocumentURLChunk
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRRequest.ImageURLChunk
-
Returns the value of the
typerecord component. - type(MistralAiApi.ChatCompletionRequest.ResponseFormat.Type) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Builder
U
- url() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl
-
Returns the value of the
urlrecord component. - usage() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletion
-
Returns the value of the
usagerecord component. - usage() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionChunk
-
Returns the value of the
usagerecord component. - usage() - Method in record class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingList
-
Returns the value of the
usagerecord component. - Usage(Integer, Integer, Integer) - Constructor for record class org.springframework.ai.mistralai.api.MistralAiApi.Usage
-
Creates an instance of a
Usagerecord class. - usageInfo() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRResponse
-
Returns the value of the
usageInforecord component. - USER - Enum constant in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.Role
V
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl.ImageDetail
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.Role
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ReasoningEffort
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ToolChoice
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.FinishReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.api.MistralAiModerationApi.Model
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRModel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.ImageUrlChunk.ImageUrl.ImageDetail
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.Role
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ReasoningEffort
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ResponseFormat.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ToolChoice
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.ChatModel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.FinishReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiApi.FunctionTool.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.api.MistralAiModerationApi.Model
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRModel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- violenceAndThreats() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.Categories
-
Returns the value of the
violenceAndThreatsrecord component. - violenceAndThreats() - Method in record class org.springframework.ai.mistralai.api.MistralAiModerationApi.CategoryScores
-
Returns the value of the
violenceAndThreatsrecord component.
W
- webClientBuilder(WebClient.Builder) - Method in class org.springframework.ai.mistralai.api.MistralAiApi.Builder
- width() - Method in record class org.springframework.ai.mistralai.ocr.MistralOcrApi.OCRPageDimensions
-
Returns the value of the
widthrecord component.
All Classes and Interfaces|All Packages|Constant Field Values
MistralAiApi.ChatCompletionRequest.ResponseFormat.builder()or factory methods instead.