Package org.springframework.ai.zhipuai.api
package org.springframework.ai.zhipuai.api
-
ClassDescriptionSingle class implementation of the ZhiPuAI Chat Completion API and ZhiPuAI Embedding API.Represents a chat completion response returned by model, based on the provided input.Chat completion choice.Represents a streamed chunk of a chat completion response returned by model, based on the provided input.Chat completion choice.The reason the model stopped generating tokens.Message comprising the conversation.The function definition.An array of content parts with a defined type.The image content of the message.The role of the author of this message.The relevant tool call.Creates a model response for the given chat conversation.An object specifying the format that the model must output.Control whether to enable the large model's chain of thoughtHelper factory that creates a tool_choice of type 'none', 'auto' or selected function by name.ZhiPuAI Chat Completion Models: ZhiPuAI Model.Represents an embedding vector returned by embedding endpoint.List of multiple embedding responses.ZhiPuAI Embeddings Models: Embeddings.Creates an embedding vector representing the input text.Represents a tool the model may call.Function definition.Create a tool of type 'function' and the given function definition.Log probability information for the choice.Message content tokens with log probability information.The most likely tokens and their log probability, at this token position.Usage statistics for the completion request.Details about the prompt tokens used.ZhiPuAI Image API.ZhiPuAI Image API model.Helper class to support Streaming function calling.Common value constants for ZhiPu api.