All Classes and Interfaces
类
说明
This class represents an attachment with a file ID.
This class represents an assistant's choice output.
Deserializer that can build instances of
AssistantChoice from any
JSON content, using appropriate AssistantChoice type.This class represents the completion data returned by an assistant.
Deserializer that can build instances of
AssistantCompletion from any
JSON content, using appropriate AssistantCompletion type.This class represents the parameters for an assistant, including optional fields.
This class represents the details of an assistant.
This class represents the response containing a list of assistant supports.
OkHttp Interceptor that adds an authorization token header
BaseNodeDeserializer<T extends com.fasterxml.jackson.databind.JsonNode>
Base class for all actual
JsonNode deserializer
implementationsDeserializer that can build instances of
ChatFunctionCall from any
JSON content, using appropriate ChatFunctionCall type.Class that accumulates chat messages and provides utility methods for
handling message chunks and function calls within a chat stream.
Deserializer that can build instances of
ChatMessage from any
JSON content, using appropriate ChatMessage type.超拟人对话
角色及用户信息数据,该信息中 user_info:用户信息,bot_info:角色信息,bot_name:角色名,user_name:用户名
Deserializer that can build instances of
ChoiceDelta from any
JSON content, using appropriate ChoiceDelta type.Deserializer that can build instances of
ChoiceDeltaToolCall from any
JSON content, using appropriate ChoiceDeltaToolCall type.This class represents a code interpreter that executes code and returns the results.
This class represents a block of code tool data.
This class represents the output result of a code tool.
common extra json
other ZhiPuAI request class should extend_s this class
This class represents the usage statistics for a completion.
Deserializer that can build instances of
CompletionUsage from any
JSON content, using appropriate CompletionUsage type.This class represents a conversation message body.
This class represents the parameters for a conversation, including pagination.
This class represents the usage data for a specific conversation.
This class represents a list of conversation usage data.
This class represents the response containing a list of conversation usage data.
A request for ZhiPuAi to create an image based on a prompt
All fields except prompt are optional
This class represents the parameters required for file creation and upload.
This class represents the document data, including metadata and processing status.
Deserializer that can build instances of
DocumentData from any
JSON content, using appropriate DocumentData type.This class represents the failure information of document data processing.
Deserializer that can build instances of
DocumentDataFailInfo from any
JSON content, using appropriate DocumentDataFailInfo type.This class represents the parameters for editing a document in the knowledge base.
This class represents the information of a failed document upload.
Deserializer that can build instances of
DocumentFailedInfo from any
JSON content, using appropriate DocumentFailedInfo type.This class represents the document information including success and failure details.
Deserializer that can build instances of
DocumentObject from any
JSON content, using appropriate DocumentObject type.This class represents a page of document data, including a list of document entries and the object type.
Deserializer that can build instances of
DocumentPage from any
JSON content, using appropriate DocumentPage type.This class represents the information of a successfully uploaded document.
Deserializer that can build instances of
DocumentSuccessInfo from any
JSON content, using appropriate DocumentSuccessInfo type.The input string that was used to generate the drawing.
This class represents a block of drawing tool data.
This class represents the output of a drawing tool, containing the generated image.
Represents an embedding returned by the embedding api
Creates an embedding vector representing the input text.
An object containing a response from the answer api
Deserializer that can build instances of
EmbeddingResult from any
JSON content, using appropriate EmbeddingResult type.This class represents error information.
A file uploaded to ZhiPuAi
An object representing an event in the lifecycle of a fine-tuning job
Fine-tuning job
ClientRequest to create a fine tuning job
This class represents a function tool with a name, arguments, and outputs.
This class represents a block of function tool data.
This class represents the output of a function tool, containing the generated content.
Hyperparameters for a fine-tuning job
token缓存接口,默认提供LocalCache实现,可根据需求替换为分布式缓存(如redis)
An object containing either a URL or a base 64 encoded image.
An object with a list of image results.
Deserializer that can build instances of
ImageResult from any
JSON content, using appropriate ImageResult type.This class represents the knowledge base information.
Deserializer that can build instances of
KnowledgeInfo from any
JSON content, using appropriate KnowledgeInfo type.This class represents a page of knowledge base information.
Deserializer that can build instances of
KnowledgePage from any
JSON content, using appropriate KnowledgePage type.This class represents the usage statistics of the knowledge base.
Deserializer that can build instances of
KnowledgeStatistics from any
JSON content, using appropriate KnowledgeStatistics type.This class represents the usage information of the knowledge base.
Deserializer that can build instances of
KnowledgeUsed from any
JSON content, using appropriate KnowledgeUsed type.This class represents the text content of a message.
Fine-tuning job
查询文件列表
ClientRequest to create a fine tuning job
ClientRequest to create a fine tuning job
Callback to parse Server Sent Events (SSE) from raw InputStream and
emit the events with io.reactivex.FlowableEmitter to allow streaming of
SSE.
This class represents the outputs of a retrieval tool.
This class represents a block for invoking the retrieval tool.
This class represents the output of a retrieval tool.
Deserializer that can build instances of
SearchChatMessage from any
JSON content, using appropriate SearchChatMessage type.Deserializer that can build instances of
SearchIntent from any
JSON content, using appropriate SearchIntent type.Deserializer that can build instances of
SearchRecommend from any
JSON content, using appropriate SearchRecommend type.Deserializer that can build instances of
SearchResult from any
JSON content, using appropriate SearchResult type.Simple Server Sent Event representation
Exception indicating a SSE format error
This class represents a block of text content in a conversation.
This class represents a block of tool call data in a conversation.
This class represents the details required for uploading a file to the knowledge base.
Create file upload request
This class represents the usage statistics for a conversation.
This class represents the video object containing details about the video generation task.
Deserializer that can build instances of
VideoObject from any
JSON content, using appropriate VideoObject type.This class represents the result of a video creation process.
Deserializer that can build instances of
VideoResult from any
JSON content, using appropriate VideoResult type.This class represents the input and outputs of a web browser search.
This class represents the output of a web browser search result.
This class represents a block for invoking the web browser tool.
Deserializer that can build instances of
WebSearchChoice from any
JSON content, using appropriate WebSearchChoice type.Deserializer that can build instances of
WebSearchMessage from any
JSON content, using appropriate WebSearchMessage type.Deserializer that can build instances of
WebSearchMessageToolCall from any
JSON content, using appropriate WebSearchMessageToolCall type.Deserializer that can build instances of
WebSearchPro from any
JSON content, using appropriate WebSearchPro type.Represents the error body when an ZhiPuAI request fails
敏感词