Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- arguments() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Returns the value of the
argumentsrecord component. - ASSISTANT - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.Role
-
Assistant message.
- AUTO - Static variable in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ToolChoiceBuilder
-
Model can pick between generating a message or calling a function.
B
- build() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- build() - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions.Builder
- build() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions.Builder
- builder() - Static method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- builder() - Static method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions
- builder() - Static method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- Builder() - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- Builder() - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions.Builder
- Builder(ZhiPuAiChatOptions) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
C
- call(Prompt) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatModel
- call(EmbeddingRequest) - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingModel
- call(ImagePrompt) - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageModel
- ChatCompletion(String, List<ZhiPuAiApi.ChatCompletion.Choice>, Long, String, String, String, ZhiPuAiApi.Usage) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Creates an instance of a
ChatCompletionrecord class. - ChatCompletionChunk(String, List<ZhiPuAiApi.ChatCompletionChunk.ChunkChoice>, Long, String, String, String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Creates an instance of a
ChatCompletionChunkrecord class. - chatCompletionEntity(ZhiPuAiApi.ChatCompletionRequest) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi
-
Creates a model response for the given chat conversation.
- ChatCompletionFunction(String, String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Creates an instance of a
ChatCompletionFunctionrecord class. - ChatCompletionMessage(Object, ZhiPuAiApi.ChatCompletionMessage.Role) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Create a chat completion message with the given content and role.
- ChatCompletionMessage(Object, ZhiPuAiApi.ChatCompletionMessage.Role, String, String, List<ZhiPuAiApi.ChatCompletionMessage.ToolCall>) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Creates an instance of a
ChatCompletionMessagerecord class. - ChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage>, Boolean) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Shortcut constructor for a chat completion request with the given messages, model, tools and tool choice.
- ChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage>, String, Double) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Shortcut constructor for a chat completion request with the given messages and model.
- ChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage>, String, Double, boolean) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Shortcut constructor for a chat completion request with the given messages, model and control for streaming.
- ChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage>, String, Integer, List<String>, Boolean, Double, Double, List<ZhiPuAiApi.FunctionTool>, Object, String, String, Boolean) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Creates an instance of a
ChatCompletionRequestrecord class. - ChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage>, String, List<ZhiPuAiApi.FunctionTool>, Object) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Shortcut constructor for a chat completion request with the given messages, model, tools and tool choice.
- chatCompletionStream(ZhiPuAiApi.ChatCompletionRequest) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi
-
Creates a streaming chat response for the given chat conversation.
- Choice(ZhiPuAiApi.ChatCompletionFinishReason, Integer, ZhiPuAiApi.ChatCompletionMessage, ZhiPuAiApi.LogProbs) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
-
Creates an instance of a
Choicerecord class. - choices() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Returns the value of the
choicesrecord component. - choices() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Returns the value of the
choicesrecord component. - ChunkChoice(ZhiPuAiApi.ChatCompletionFinishReason, Integer, ZhiPuAiApi.ChatCompletionMessage, ZhiPuAiApi.LogProbs) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
-
Creates an instance of a
ChunkChoicerecord class. - chunkToChatCompletion(ZhiPuAiApi.ChatCompletionChunk) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiStreamFunctionCallingHelper
-
Convert the ChatCompletionChunk into a ChatCompletion.
- CogView_3 - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ImageModel
- completionTokens() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
-
Returns the value of the
completionTokensrecord component. - content() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Get message content as String.
- content() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs
-
Returns the value of the
contentrecord component. - Content(String, Float, List<Integer>, List<ZhiPuAiApi.LogProbs.Content.TopLogProbs>) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content
-
Creates an instance of a
Contentrecord class. - CONTENT_FILTER - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionFinishReason
-
The content was omitted due to a flag from our content filters.
- copy() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- created() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Returns the value of the
createdrecord component. - created() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Returns the value of the
createdrecord component. - created() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageResponse
-
Returns the value of the
createdrecord component. - createImage(ZhiPuAiImageApi.ZhiPuAiImageRequest) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi
D
- data() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
-
Returns the value of the
datarecord component. - data() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageResponse
-
Returns the value of the
datarecord component. - Data(String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.Data
-
Creates an instance of a
Datarecord class. - DEFAULT_BASE_URL - Static variable in class org.springframework.ai.zhipuai.api.ZhiPuApiConstants
- DEFAULT_CHAT_MODEL - Static variable in class org.springframework.ai.zhipuai.api.ZhiPuAiApi
- DEFAULT_EMBEDDING_MODEL - Static variable in class org.springframework.ai.zhipuai.api.ZhiPuAiApi
- DEFAULT_IMAGE_MODEL - Static variable in class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi
- delta() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
-
Returns the value of the
deltarecord component. - detail() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl
-
Returns the value of the
detailrecord component. - dimensions() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
-
Returns the value of the
dimensionsrecord component. - dimensions(Integer) - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions.Builder
- doSample() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
doSamplerecord component. - doSample(Boolean) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
E
- embed(Document) - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingModel
- embedding() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Embedding
-
Returns the value of the
embeddingrecord component. - Embedding(Integer, float[]) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.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.zhipuai.api.ZhiPuAiApi.Embedding
-
Creates an instance of a
Embeddingrecord class. - Embedding_2 - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingModel
-
DIMENSION: 1024
- Embedding_3 - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingModel
-
DIMENSION: up to 2048
- EmbeddingList(String, List<T>, String, ZhiPuAiApi.Usage) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
-
Creates an instance of a
EmbeddingListrecord class. - EmbeddingRequest(T) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
-
Create an embedding request with the given input.
- EmbeddingRequest(T, String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
-
Create an embedding request with the given input and model.
- EmbeddingRequest(T, String, Integer) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
-
Creates an instance of a
EmbeddingRequestrecord class. - embeddings(ZhiPuAiApi.EmbeddingRequest<T>) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi
-
Creates an embedding vector representing the input text or token array.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ToolCall
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ResponseFormat
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Embedding
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.Data
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- equals(Object) - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
F
- finishReason() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
-
Returns the value of the
finishReasonrecord component. - finishReason() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
-
Returns the value of the
finishReasonrecord component. - fromOptions(ZhiPuAiChatOptions) - Static method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- function() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ToolCall
-
Returns the value of the
functionrecord component. - function(String) - Static method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ToolChoiceBuilder
-
Specifying a particular function forces the model to call that function.
- Function(String, String, String) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
-
Create tool function definition.
- Function(String, String, Map<String, Object>) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
-
Create tool function definition.
- FUNCTION - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Type
-
Function tool type.
- FunctionTool() - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool
- FunctionTool(ZhiPuAiApi.FunctionTool.Function) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool
-
Create a tool of type 'function' and the given function definition.
- FunctionTool(ZhiPuAiApi.FunctionTool.Type, ZhiPuAiApi.FunctionTool.Function) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool
-
Create a tool of type 'function' and the given function definition.
G
- getDefaultOptions() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatModel
- getDefaultOptions() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageModel
- getDescription() - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
- getDimensions() - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions
- getDoSample() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getFrequencyPenalty() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getFunction() - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool
- getHeight() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- getInternalToolExecutionEnabled() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getJsonSchema() - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
- getMaxTokens() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getModel() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getModel() - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions
- getModel() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- getN() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- getName() - Method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
- getName() - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
- getParameters() - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
- getPresencePenalty() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getRequestId() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getResponseFormat() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- getStop() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getStopSequences() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getStyle() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- getTemperature() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getTextContent(List<ZhiPuAiApi.ChatCompletionMessage.MediaContent>) - Static method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi
- getToolCallbacks() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getToolChoice() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getToolContext() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getToolNames() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getTools() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getTopK() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getTopP() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getType() - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool
- getUser() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- getUser() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- getValue() - Method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
- getValue() - Method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingModel
- getValue() - Method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ImageModel
- getWidth() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- GLM_3_Turbo - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
- GLM_4 - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
- GLM_4_Air - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
- GLM_4_AirX - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
- GLM_4_Flash - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
- GLM_4V - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
H
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ToolCall
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ResponseFormat
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Embedding
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.Data
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageResponse
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- hashCode() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
I
- id() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Returns the value of the
idrecord component. - id() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Returns the value of the
idrecord component. - id() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ToolCall
-
Returns the value of the
idrecord component. - imageUrl() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
-
Returns the value of the
imageUrlrecord component. - ImageUrl(String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl
- ImageUrl(String, String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl
-
Creates an instance of a
ImageUrlrecord class. - index() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
-
Returns the value of the
indexrecord component. - index() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
-
Returns the value of the
indexrecord component. - index() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Embedding
-
Returns the value of the
indexrecord component. - input() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
-
Returns the value of the
inputrecord component. - internalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- isStreamingToolFunctionCall(ZhiPuAiApi.ChatCompletionChunk) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiStreamFunctionCallingHelper
- isStreamingToolFunctionCallFinish(ZhiPuAiApi.ChatCompletionChunk) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiStreamFunctionCallingHelper
L
- LENGTH - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionFinishReason
-
The maximum number of tokens specified in the request was reached.
- logprob() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content
-
Returns the value of the
logprobrecord component. - logprob() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
-
Returns the value of the
logprobrecord component. - logprobs() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
-
Returns the value of the
logprobsrecord component. - logprobs() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
-
Returns the value of the
logprobsrecord component. - LogProbs(List<ZhiPuAiApi.LogProbs.Content>) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs
-
Creates an instance of a
LogProbsrecord class.
M
- maxTokens() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
maxTokensrecord component. - maxTokens(Integer) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- MediaContent(String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
-
Shortcut constructor for a text content.
- MediaContent(String, String, ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
-
Creates an instance of a
MediaContentrecord class. - MediaContent(ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
-
Shortcut constructor for an image content.
- merge(ChatOptions) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- merge(ZhiPuAiApi.ChatCompletionChunk, ZhiPuAiApi.ChatCompletionChunk) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiStreamFunctionCallingHelper
-
Merge the previous and current ChatCompletionChunk into a single one.
- message() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
-
Returns the value of the
messagerecord component. - messages() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
messagesrecord component. - model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
-
Returns the value of the
modelrecord component. - model(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- model(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions.Builder
- model(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions.Builder
N
- name() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Returns the value of the
namerecord component. - name() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Returns the value of the
namerecord component. - NONE - Static variable in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ToolChoiceBuilder
-
Model will not call a function and instead generates a message
O
- object() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Returns the value of the
objectrecord component. - object() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Returns the value of the
objectrecord component. - object() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Embedding
-
Returns the value of the
objectrecord component. - object() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
-
Returns the value of the
objectrecord component. - options - Variable in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- options - Variable in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions.Builder
- org.springframework.ai.zhipuai - package org.springframework.ai.zhipuai
- org.springframework.ai.zhipuai.aot - package org.springframework.ai.zhipuai.aot
- org.springframework.ai.zhipuai.api - package org.springframework.ai.zhipuai.api
P
- probBytes() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content
-
Returns the value of the
probBytesrecord component. - probBytes() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
-
Returns the value of the
probBytesrecord component. - prompt() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
-
Returns the value of the
promptrecord component. - promptTokens() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
-
Returns the value of the
promptTokensrecord component. - PROVIDER_NAME - Static variable in class org.springframework.ai.zhipuai.api.ZhiPuApiConstants
R
- rawContent() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Returns the value of the
rawContentrecord component. - registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.ai.zhipuai.aot.ZhiPuAiRuntimeHints
- requestId() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
requestIdrecord component. - requestId(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- ResponseFormat(String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ResponseFormat
-
Creates an instance of a
ResponseFormatrecord class. - retryTemplate - Variable in class org.springframework.ai.zhipuai.ZhiPuAiChatModel
-
The retry template used to retry the ZhiPuAI API calls.
- retryTemplate - Variable in class org.springframework.ai.zhipuai.ZhiPuAiImageModel
- role() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Returns the value of the
rolerecord component.
S
- setDescription(String) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
- setDimensions(Integer) - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions
- setDoSample(Boolean) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setFunction(ZhiPuAiApi.FunctionTool.Function) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool
- setInternalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setJsonSchema(String) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
- setMaxTokens(Integer) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setModel(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setModel(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions
- setModel(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- setName(String) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
- setObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatModel
- setObservationConvention(EmbeddingModelObservationConvention) - Method in class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingModel
- setParameters(Map<String, Object>) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Function
- setRequestId(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setStop(List<String>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setStopSequences(List<String>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setTemperature(Double) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setToolCallbacks(List<ToolCallback>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setToolChoice(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setToolContext(Map<String, Object>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setToolNames(Set<String>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setTools(List<ZhiPuAiApi.FunctionTool>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setTopP(Double) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setType(ZhiPuAiApi.FunctionTool.Type) - Method in class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool
- setUser(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- setUser(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- stop() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
stoprecord component. - stop(List<String>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- STOP - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionFinishReason
-
The model hit a natural stop point or a provided stop sequence.
- stream() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
streamrecord component. - stream(Prompt) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatModel
- SYSTEM - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.Role
-
System message.
- systemFingerprint() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Returns the value of the
systemFingerprintrecord component. - systemFingerprint() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Returns the value of the
systemFingerprintrecord component.
T
- temperature() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
temperaturerecord component. - temperature(Double) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- text() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
-
Returns the value of the
textrecord component. - token() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content
-
Returns the value of the
tokenrecord component. - token() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
-
Returns the value of the
tokenrecord component. - TOOL - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.Role
-
Tool message.
- TOOL_CALL - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionFinishReason
-
Only for compatibility with Mistral AI API.
- TOOL_CALLS - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionFinishReason
-
The model called a tool.
- ToolCall(String, String, ZhiPuAiApi.ChatCompletionMessage.ChatCompletionFunction) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ToolCall
-
Creates an instance of a
ToolCallrecord class. - toolCallbacks(List<ToolCallback>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- toolCallbacks(ToolCallback...) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- toolCallId() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Returns the value of the
toolCallIdrecord component. - toolCalls() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Returns the value of the
toolCallsrecord component. - toolChoice() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
toolChoicerecord component. - toolChoice(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- ToolChoiceBuilder() - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ToolChoiceBuilder
- toolContext(Map<String, Object>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- toolNames(String...) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- toolNames(Set<String>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- tools() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
toolsrecord component. - tools(List<ZhiPuAiApi.FunctionTool>) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- topLogprobs() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content
-
Returns the value of the
topLogprobsrecord component. - TopLogProbs(String, Float, List<Integer>) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
-
Creates an instance of a
TopLogProbsrecord class. - topP() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
topPrecord component. - topP(Double) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ChatCompletionFunction
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ToolCall
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ResponseFormat
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Embedding
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.Data
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageResponse
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- totalTokens() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
-
Returns the value of the
totalTokensrecord component. - type() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ToolCall
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ResponseFormat
-
Returns the value of the
typerecord component.
U
- url() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl
-
Returns the value of the
urlrecord component. - url() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.Data
-
Returns the value of the
urlrecord component. - usage() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
-
Returns the value of the
usagerecord component. - usage() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
-
Returns the value of the
usagerecord component. - Usage(Integer, Integer, Integer) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
-
Creates an instance of a
Usagerecord class. - user() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
-
Returns the value of the
userrecord component. - user() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
-
Returns the value of the
userrecord component. - user(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiChatOptions.Builder
- user(String) - Method in class org.springframework.ai.zhipuai.ZhiPuAiImageOptions.Builder
- USER - Enum constant in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.Role
-
User message.
V
- value - Variable in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
- value - Variable in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingModel
- valueOf(String) - Static method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionFinishReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.Role
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatModel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingModel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.FunctionTool.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ImageModel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionFinishReason
-
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.zhipuai.api.ZhiPuAiApi.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.zhipuai.api.ZhiPuAiApi.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.zhipuai.api.ZhiPuAiApi.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.zhipuai.api.ZhiPuAiApi.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.zhipuai.api.ZhiPuAiImageApi.ImageModel
-
Returns an array containing the constants of this enum class, in the order they are declared.
Z
- ZhiPuAiApi - Class in org.springframework.ai.zhipuai.api
-
Single class implementation of the ZhiPuAI Chat Completion API and ZhiPuAI Embedding API.
- ZhiPuAiApi(String) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi
-
Create a new chat completion api with default base URL.
- ZhiPuAiApi(String, String) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi
-
Create a new chat completion api.
- ZhiPuAiApi(String, String, RestClient.Builder) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi
-
Create a new chat completion api.
- ZhiPuAiApi(String, String, RestClient.Builder, ResponseErrorHandler) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiApi
-
Create a new chat completion api.
- ZhiPuAiApi.ChatCompletion - Record Class in org.springframework.ai.zhipuai.api
-
Represents a chat completion response returned by model, based on the provided input.
- ZhiPuAiApi.ChatCompletion.Choice - Record Class in org.springframework.ai.zhipuai.api
-
Chat completion choice.
- ZhiPuAiApi.ChatCompletionChunk - Record Class in org.springframework.ai.zhipuai.api
-
Represents a streamed chunk of a chat completion response returned by model, based on the provided input.
- ZhiPuAiApi.ChatCompletionChunk.ChunkChoice - Record Class in org.springframework.ai.zhipuai.api
-
Chat completion choice.
- ZhiPuAiApi.ChatCompletionFinishReason - Enum Class in org.springframework.ai.zhipuai.api
-
The reason the model stopped generating tokens.
- ZhiPuAiApi.ChatCompletionMessage - Record Class in org.springframework.ai.zhipuai.api
-
Message comprising the conversation.
- ZhiPuAiApi.ChatCompletionMessage.ChatCompletionFunction - Record Class in org.springframework.ai.zhipuai.api
-
The function definition.
- ZhiPuAiApi.ChatCompletionMessage.MediaContent - Record Class in org.springframework.ai.zhipuai.api
-
An array of content parts with a defined type.
- ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl - Record Class in org.springframework.ai.zhipuai.api
-
The image content of the message.
- ZhiPuAiApi.ChatCompletionMessage.Role - Enum Class in org.springframework.ai.zhipuai.api
-
The role of the author of this message.
- ZhiPuAiApi.ChatCompletionMessage.ToolCall - Record Class in org.springframework.ai.zhipuai.api
-
The relevant tool call.
- ZhiPuAiApi.ChatCompletionRequest - Record Class in org.springframework.ai.zhipuai.api
-
Creates a model response for the given chat conversation.
- ZhiPuAiApi.ChatCompletionRequest.ResponseFormat - Record Class in org.springframework.ai.zhipuai.api
-
An object specifying the format that the model must output.
- ZhiPuAiApi.ChatCompletionRequest.ToolChoiceBuilder - Class in org.springframework.ai.zhipuai.api
-
Helper factory that creates a tool_choice of type 'none', 'auto' or selected function by name.
- ZhiPuAiApi.ChatModel - Enum Class in org.springframework.ai.zhipuai.api
-
ZhiPuAI Chat Completion Models: ZhiPuAI Model.
- ZhiPuAiApi.Embedding - Record Class in org.springframework.ai.zhipuai.api
-
Represents an embedding vector returned by embedding endpoint.
- ZhiPuAiApi.EmbeddingList<T> - Record Class in org.springframework.ai.zhipuai.api
-
List of multiple embedding responses.
- ZhiPuAiApi.EmbeddingModel - Enum Class in org.springframework.ai.zhipuai.api
-
ZhiPuAI Embeddings Models: Embeddings.
- ZhiPuAiApi.EmbeddingRequest<T> - Record Class in org.springframework.ai.zhipuai.api
-
Creates an embedding vector representing the input text.
- ZhiPuAiApi.FunctionTool - Class in org.springframework.ai.zhipuai.api
-
Represents a tool the model may call.
- ZhiPuAiApi.FunctionTool.Function - Class in org.springframework.ai.zhipuai.api
-
Function definition.
- ZhiPuAiApi.FunctionTool.Type - Enum Class in org.springframework.ai.zhipuai.api
-
Create a tool of type 'function' and the given function definition.
- ZhiPuAiApi.LogProbs - Record Class in org.springframework.ai.zhipuai.api
-
Log probability information for the choice.
- ZhiPuAiApi.LogProbs.Content - Record Class in org.springframework.ai.zhipuai.api
-
Message content tokens with log probability information.
- ZhiPuAiApi.LogProbs.Content.TopLogProbs - Record Class in org.springframework.ai.zhipuai.api
-
The most likely tokens and their log probability, at this token position.
- ZhiPuAiApi.Usage - Record Class in org.springframework.ai.zhipuai.api
-
Usage statistics for the completion request.
- ZhiPuAiChatModel - Class in org.springframework.ai.zhipuai
- ZhiPuAiChatModel(ZhiPuAiApi) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiChatModel
-
Creates an instance of the ZhiPuAiChatModel.
- ZhiPuAiChatModel(ZhiPuAiApi, ZhiPuAiChatOptions) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiChatModel
-
Initializes an instance of the ZhiPuAiChatModel.
- ZhiPuAiChatModel(ZhiPuAiApi, ZhiPuAiChatOptions, ToolCallingManager, RetryTemplate, ObservationRegistry) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiChatModel
-
Initializes an instance of the ZhiPuAiChatModel.
- ZhiPuAiChatModel(ZhiPuAiApi, ZhiPuAiChatOptions, ToolCallingManager, RetryTemplate, ObservationRegistry, ToolExecutionEligibilityPredicate) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiChatModel
-
Initializes a new instance of the ZhiPuAiChatModel.
- ZhiPuAiChatModel(ZhiPuAiApi, ZhiPuAiChatOptions, RetryTemplate) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiChatModel
-
Initializes an instance of the ZhiPuAiChatModel.
- ZhiPuAiChatModel(ZhiPuAiApi, ZhiPuAiChatOptions, RetryTemplate, ObservationRegistry) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiChatModel
-
Initializes an instance of the ZhiPuAiChatModel.
- ZhiPuAiChatOptions - Class in org.springframework.ai.zhipuai
-
ZhiPuAiChatOptions represents the options for the ZhiPuAiChat model.
- ZhiPuAiChatOptions() - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiChatOptions
- ZhiPuAiChatOptions.Builder - Class in org.springframework.ai.zhipuai
- ZhiPuAiEmbeddingModel - Class in org.springframework.ai.zhipuai
-
ZhiPuAI Embedding Model implementation.
- ZhiPuAiEmbeddingModel(ZhiPuAiApi) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingModel
-
Constructor for the ZhiPuAiEmbeddingModel class.
- ZhiPuAiEmbeddingModel(ZhiPuAiApi, MetadataMode) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingModel
-
Initializes a new instance of the ZhiPuAiEmbeddingModel class.
- ZhiPuAiEmbeddingModel(ZhiPuAiApi, MetadataMode, ZhiPuAiEmbeddingOptions) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingModel
-
Initializes a new instance of the ZhiPuAiEmbeddingModel class.
- ZhiPuAiEmbeddingModel(ZhiPuAiApi, MetadataMode, ZhiPuAiEmbeddingOptions, RetryTemplate) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingModel
-
Initializes a new instance of the ZhiPuAiEmbeddingModel class.
- ZhiPuAiEmbeddingModel(ZhiPuAiApi, MetadataMode, ZhiPuAiEmbeddingOptions, RetryTemplate, ObservationRegistry) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingModel
-
Initializes a new instance of the ZhiPuAiEmbeddingModel class.
- ZhiPuAiEmbeddingOptions - Class in org.springframework.ai.zhipuai
-
The ZhiPuAiEmbeddingOptions class represents the options for ZhiPuAI embedding.
- ZhiPuAiEmbeddingOptions() - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions
- ZhiPuAiEmbeddingOptions.Builder - Class in org.springframework.ai.zhipuai
- ZhiPuAiImageApi - Class in org.springframework.ai.zhipuai.api
-
ZhiPuAI Image API.
- ZhiPuAiImageApi(String) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi
-
Create a new ZhiPuAI Image api with base URL set to
https://api.ZhiPuAI.com. - ZhiPuAiImageApi(String, String, RestClient.Builder) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi
-
Create a new ZhiPuAI Image API with the provided base URL.
- ZhiPuAiImageApi(String, String, RestClient.Builder, ResponseErrorHandler) - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi
-
Create a new ZhiPuAI Image API with the provided base URL.
- ZhiPuAiImageApi.Data - Record Class in org.springframework.ai.zhipuai.api
- ZhiPuAiImageApi.ImageModel - Enum Class in org.springframework.ai.zhipuai.api
-
ZhiPuAI Image API model.
- ZhiPuAiImageApi.ZhiPuAiImageRequest - Record Class in org.springframework.ai.zhipuai.api
- ZhiPuAiImageApi.ZhiPuAiImageResponse - Record Class in org.springframework.ai.zhipuai.api
- ZhiPuAiImageModel - Class in org.springframework.ai.zhipuai
-
ZhiPuAiImageModel is a class that implements the ImageModel interface.
- ZhiPuAiImageModel(ZhiPuAiImageApi) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiImageModel
- ZhiPuAiImageModel(ZhiPuAiImageApi, ZhiPuAiImageOptions, RetryTemplate) - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiImageModel
- ZhiPuAiImageOptions - Class in org.springframework.ai.zhipuai
-
ZhiPuAiImageOptions represents the options for image generation using ZhiPuAI image model.
- ZhiPuAiImageOptions() - Constructor for class org.springframework.ai.zhipuai.ZhiPuAiImageOptions
- ZhiPuAiImageOptions.Builder - Class in org.springframework.ai.zhipuai
- ZhiPuAiImageRequest(String, String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
- ZhiPuAiImageRequest(String, String, String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
-
Creates an instance of a
ZhiPuAiImageRequestrecord class. - ZhiPuAiImageResponse(Long, List<ZhiPuAiImageApi.Data>) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageResponse
-
Creates an instance of a
ZhiPuAiImageResponserecord class. - ZhiPuAiRuntimeHints - Class in org.springframework.ai.zhipuai.aot
-
The ZhiPuAiRuntimeHints class is responsible for registering runtime hints for ZhiPu AI API classes.
- ZhiPuAiRuntimeHints() - Constructor for class org.springframework.ai.zhipuai.aot.ZhiPuAiRuntimeHints
- ZhiPuAiStreamFunctionCallingHelper - Class in org.springframework.ai.zhipuai.api
-
Helper class to support Streaming function calling.
- ZhiPuAiStreamFunctionCallingHelper() - Constructor for class org.springframework.ai.zhipuai.api.ZhiPuAiStreamFunctionCallingHelper
- ZhiPuApiConstants - Class in org.springframework.ai.zhipuai.api
-
Common value constants for ZhiPu api.
All Classes and Interfaces|All Packages|Constant Field Values