Index

A B C D E F G H I L M N O P R S T U V Z 
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 arguments record 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 ChatCompletion record 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 ChatCompletionChunk record 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 ChatCompletionFunction record 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 ChatCompletionMessage record 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 ChatCompletionRequest record 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 Choice record class.
choices() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
Returns the value of the choices record component.
choices() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
Returns the value of the choices record 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 ChunkChoice record 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 completionTokens record 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 content record 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 Content record 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 created record component.
created() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
Returns the value of the created record component.
created() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageResponse
Returns the value of the created record 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 data record component.
data() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageResponse
Returns the value of the data record component.
Data(String) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.Data
Creates an instance of a Data record 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 delta record component.
detail() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl
Returns the value of the detail record component.
dimensions() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
Returns the value of the dimensions record 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 doSample record 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 embedding record 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 Embedding record 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 EmbeddingList record 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 EmbeddingRequest record 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 finishReason record component.
finishReason() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
Returns the value of the finishReason record 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 function record 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 id record component.
id() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
Returns the value of the id record component.
id() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ToolCall
Returns the value of the id record component.
imageUrl() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
Returns the value of the imageUrl record 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 ImageUrl record class.
index() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
Returns the value of the index record component.
index() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
Returns the value of the index record component.
index() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Embedding
Returns the value of the index record component.
input() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
Returns the value of the input record 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 logprob record component.
logprob() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
Returns the value of the logprob record component.
logprobs() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion.Choice
Returns the value of the logprobs record component.
logprobs() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice
Returns the value of the logprobs record component.
LogProbs(List<ZhiPuAiApi.LogProbs.Content>) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs
Creates an instance of a LogProbs record class.

M

maxTokens() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
Returns the value of the maxTokens record 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 MediaContent record 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 message record component.
messages() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
Returns the value of the messages record component.
model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingRequest
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
Returns the value of the model record 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 name record component.
name() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
Returns the value of the name record 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 object record component.
object() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
Returns the value of the object record component.
object() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Embedding
Returns the value of the object record component.
object() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
Returns the value of the object record 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 probBytes record component.
probBytes() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
Returns the value of the probBytes record component.
prompt() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
Returns the value of the prompt record component.
promptTokens() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
Returns the value of the promptTokens record 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 rawContent record 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 requestId record 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 ResponseFormat record 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 role record 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 stop record 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 stream record 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 systemFingerprint record component.
systemFingerprint() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
Returns the value of the systemFingerprint record component.

T

temperature() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
Returns the value of the temperature record 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 text record component.
token() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content
Returns the value of the token record component.
token() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
Returns the value of the token record 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 ToolCall record 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 toolCallId record component.
toolCalls() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
Returns the value of the toolCalls record component.
toolChoice() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
Returns the value of the toolChoice record 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 tools record 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 topLogprobs record component.
TopLogProbs(String, Float, List<Integer>) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.LogProbs.Content.TopLogProbs
Creates an instance of a TopLogProbs record class.
topP() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
Returns the value of the topP record 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 totalTokens record component.
type() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.ToolCall
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest.ResponseFormat
Returns the value of the type record component.

U

url() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.MediaContent.ImageUrl
Returns the value of the url record component.
url() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.Data
Returns the value of the url record component.
usage() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletion
Returns the value of the usage record component.
usage() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.EmbeddingList
Returns the value of the usage record component.
Usage(Integer, Integer, Integer) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
Creates an instance of a Usage record class.
user() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionRequest
Returns the value of the user record component.
user() - Method in record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageRequest
Returns the value of the user record 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
ChatModel and StreamingChatModel implementation for ZhiPuAI backed by ZhiPuAiApi.
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 ZhiPuAiImageRequest record class.
ZhiPuAiImageResponse(Long, List<ZhiPuAiImageApi.Data>) - Constructor for record class org.springframework.ai.zhipuai.api.ZhiPuAiImageApi.ZhiPuAiImageResponse
Creates an instance of a ZhiPuAiImageResponse record 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.
A B C D E F G H I L M N O P R S T U V Z 
All Classes and Interfaces|All Packages|Constant Field Values