Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W Z _ 

A

AbstractAiClient - Class in ai.z.openapi
AbstractAiClient is the abstract base class for AI client implementations.
AbstractAiClient(ZaiConfig, String) - Constructor for class ai.z.openapi.AbstractAiClient
Constructs a new AbstractAiClient with the specified configuration.
AbstractAiClient.AbstractBuilder<T extends AbstractAiClient,B extends AbstractAiClient.AbstractBuilder<T,B>> - Class in ai.z.openapi
Abstract base builder class for creating AI client instances with custom configurations.
AbstractBuilder() - Constructor for class ai.z.openapi.AbstractAiClient.AbstractBuilder
 
AbstractBuilder(String) - Constructor for class ai.z.openapi.AbstractAiClient.AbstractBuilder
Creates a new builder with the specified API key.
AbstractBuilder(String, String) - Constructor for class ai.z.openapi.AbstractAiClient.AbstractBuilder
Creates a new builder with a custom base URL and API secret key.
AbstractClientBaseService - Class in ai.z.openapi.service
Abstract base service class that provides common functionality for API client implementations.
AbstractClientBaseService() - Constructor for class ai.z.openapi.service.AbstractClientBaseService
 
AgentAsyncResultRetrieveParams - Class in ai.z.openapi.service.agents
Parameters for retrieving agent asynchronous task results.
AgentAsyncResultRetrieveParams() - Constructor for class ai.z.openapi.service.agents.AgentAsyncResultRetrieveParams
 
AgentContent - Class in ai.z.openapi.service.agents
 
AgentContent() - Constructor for class ai.z.openapi.service.agents.AgentContent
 
AgentMessage - Class in ai.z.openapi.service.agents
 
AgentMessage() - Constructor for class ai.z.openapi.service.agents.AgentMessage
 
agents() - Method in class ai.z.openapi.AbstractAiClient
Returns the agent service for AI agent management.
AgentsApi - Interface in ai.z.openapi.api.agents
Agents API for intelligent agent capabilities based on GLM-4 All Tools Provides AI agents with automatic tool calling, function execution, and complex task automation Features include web browsing, code interpreter, image generation, and multi-tool coordination Supports streaming and synchronous agent interactions with real-time task planning
AgentsCompletionRequest - Class in ai.z.openapi.service.agents
Request parameters for agent completion API calls.
AgentsCompletionRequest() - Constructor for class ai.z.openapi.service.agents.AgentsCompletionRequest
 
agentsCompletionStream(AgentsCompletionRequest) - Method in interface ai.z.openapi.api.agents.AgentsApi
Create a streaming agent completion with GLM-4 All Tools Returns agent responses in real-time through Server-Sent Events (SSE) Automatically selects and calls appropriate tools (web search, code execution, image generation)
agentsCompletionSync(AgentsCompletionRequest) - Method in interface ai.z.openapi.api.agents.AgentsApi
Create a synchronous agent completion with GLM-4 All Tools Waits for the agent to complete complex task execution and returns the final result Supports automatic tool selection including CogView3 image generation, Python code interpreter, and web browsing
AgentService - Interface in ai.z.openapi.service.agents
Agent completion service interface
AgentServiceImpl - Class in ai.z.openapi.service.agents
Agent completion service implementation
AgentServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.agents.AgentServiceImpl
 
ai.z.openapi - package ai.z.openapi
 
ai.z.openapi.api.agents - package ai.z.openapi.api.agents
 
ai.z.openapi.api.assistant - package ai.z.openapi.api.assistant
 
ai.z.openapi.api.audio - package ai.z.openapi.api.audio
 
ai.z.openapi.api.batches - package ai.z.openapi.api.batches
 
ai.z.openapi.api.chat - package ai.z.openapi.api.chat
 
ai.z.openapi.api.embedding - package ai.z.openapi.api.embedding
 
ai.z.openapi.api.file - package ai.z.openapi.api.file
 
ai.z.openapi.api.fileparsing - package ai.z.openapi.api.fileparsing
 
ai.z.openapi.api.images - package ai.z.openapi.api.images
 
ai.z.openapi.api.moderations - package ai.z.openapi.api.moderations
 
ai.z.openapi.api.ocr - package ai.z.openapi.api.ocr
 
ai.z.openapi.api.tools - package ai.z.openapi.api.tools
 
ai.z.openapi.api.videos - package ai.z.openapi.api.videos
 
ai.z.openapi.api.voiceclone - package ai.z.openapi.api.voiceclone
 
ai.z.openapi.api.web_reader - package ai.z.openapi.api.web_reader
 
ai.z.openapi.api.web_search - package ai.z.openapi.api.web_search
 
ai.z.openapi.core - package ai.z.openapi.core
 
ai.z.openapi.core.cache - package ai.z.openapi.core.cache
 
ai.z.openapi.core.config - package ai.z.openapi.core.config
 
ai.z.openapi.core.model - package ai.z.openapi.core.model
 
ai.z.openapi.core.response - package ai.z.openapi.core.response
 
ai.z.openapi.core.token - package ai.z.openapi.core.token
 
ai.z.openapi.service - package ai.z.openapi.service
 
ai.z.openapi.service.agents - package ai.z.openapi.service.agents
 
ai.z.openapi.service.assistant - package ai.z.openapi.service.assistant
 
ai.z.openapi.service.assistant.conversation - package ai.z.openapi.service.assistant.conversation
 
ai.z.openapi.service.assistant.message - package ai.z.openapi.service.assistant.message
 
ai.z.openapi.service.assistant.message.tools - package ai.z.openapi.service.assistant.message.tools
 
ai.z.openapi.service.assistant.message.tools.code_interpreter - package ai.z.openapi.service.assistant.message.tools.code_interpreter
 
ai.z.openapi.service.assistant.message.tools.drawing_tool - package ai.z.openapi.service.assistant.message.tools.drawing_tool
 
ai.z.openapi.service.assistant.message.tools.function - package ai.z.openapi.service.assistant.message.tools.function
 
ai.z.openapi.service.assistant.message.tools.retrieval - package ai.z.openapi.service.assistant.message.tools.retrieval
 
ai.z.openapi.service.assistant.message.tools.web_browser - package ai.z.openapi.service.assistant.message.tools.web_browser
 
ai.z.openapi.service.assistant.query_support - package ai.z.openapi.service.assistant.query_support
 
ai.z.openapi.service.audio - package ai.z.openapi.service.audio
 
ai.z.openapi.service.batches - package ai.z.openapi.service.batches
 
ai.z.openapi.service.chat - package ai.z.openapi.service.chat
 
ai.z.openapi.service.deserialize - package ai.z.openapi.service.deserialize
 
ai.z.openapi.service.deserialize.assistant - package ai.z.openapi.service.deserialize.assistant
 
ai.z.openapi.service.deserialize.assistant.message - package ai.z.openapi.service.deserialize.assistant.message
 
ai.z.openapi.service.embedding - package ai.z.openapi.service.embedding
 
ai.z.openapi.service.file - package ai.z.openapi.service.file
 
ai.z.openapi.service.fileparsing - package ai.z.openapi.service.fileparsing
 
ai.z.openapi.service.image - package ai.z.openapi.service.image
 
ai.z.openapi.service.model - package ai.z.openapi.service.model
 
ai.z.openapi.service.model.params - package ai.z.openapi.service.model.params
 
ai.z.openapi.service.moderations - package ai.z.openapi.service.moderations
 
ai.z.openapi.service.ocr - package ai.z.openapi.service.ocr
 
ai.z.openapi.service.realtime - package ai.z.openapi.service.realtime
 
ai.z.openapi.service.realtime.client - package ai.z.openapi.service.realtime.client
 
ai.z.openapi.service.realtime.object - package ai.z.openapi.service.realtime.object
 
ai.z.openapi.service.realtime.server - package ai.z.openapi.service.realtime.server
 
ai.z.openapi.service.tools - package ai.z.openapi.service.tools
 
ai.z.openapi.service.videos - package ai.z.openapi.service.videos
 
ai.z.openapi.service.voiceclone - package ai.z.openapi.service.voiceclone
 
ai.z.openapi.service.web_reader - package ai.z.openapi.service.web_reader
 
ai.z.openapi.service.web_search - package ai.z.openapi.service.web_search
 
ai.z.openapi.utils - package ai.z.openapi.utils
 
apiKey(String) - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Config the apikey
AssistantApi - Interface in ai.z.openapi.api.assistant
Assistant API for intelligent conversational AI Provides advanced assistant capabilities with streaming and synchronous responses Supports conversation management and usage tracking for AI assistants
AssistantApiResponse - Class in ai.z.openapi.service.assistant
Response wrapper for Assistant API calls that supports both synchronous and streaming responses.
AssistantApiResponse() - Constructor for class ai.z.openapi.service.assistant.AssistantApiResponse
Default constructor.
AssistantApiResponse(int, String) - Constructor for class ai.z.openapi.service.assistant.AssistantApiResponse
Constructor with code and message.
AssistantAttachments - Class in ai.z.openapi.service.assistant
This class represents an attachment with a file ID.
AssistantAttachments() - Constructor for class ai.z.openapi.service.assistant.AssistantAttachments
 
AssistantChoice - Class in ai.z.openapi.service.assistant
Represents an assistant's choice output in conversation responses.
AssistantChoice() - Constructor for class ai.z.openapi.service.assistant.AssistantChoice
 
AssistantChoice(ObjectNode) - Constructor for class ai.z.openapi.service.assistant.AssistantChoice
 
AssistantChoiceDeserializer - Class in ai.z.openapi.service.deserialize.assistant
Deserializer that can build instances of AssistantChoice from any JSON content, using appropriate AssistantChoice type.
AssistantChoiceDeserializer() - Constructor for class ai.z.openapi.service.deserialize.assistant.AssistantChoiceDeserializer
 
AssistantCodeInterpreter - Class in ai.z.openapi.service.assistant.message.tools.code_interpreter
This class represents a code interpreter that executes code and returns the results.
AssistantCodeInterpreter() - Constructor for class ai.z.openapi.service.assistant.message.tools.code_interpreter.AssistantCodeInterpreter
 
AssistantCodeInterpreterToolBlock - Class in ai.z.openapi.service.assistant.message.tools.code_interpreter
This class represents a block of code tool data.
AssistantCodeInterpreterToolBlock() - Constructor for class ai.z.openapi.service.assistant.message.tools.code_interpreter.AssistantCodeInterpreterToolBlock
 
AssistantCodeInterpreterToolOutput - Class in ai.z.openapi.service.assistant.message.tools.code_interpreter
This class represents the output result of a code tool.
AssistantCodeInterpreterToolOutput() - Constructor for class ai.z.openapi.service.assistant.message.tools.code_interpreter.AssistantCodeInterpreterToolOutput
 
assistantCompletion(AssistantParameters) - Method in interface ai.z.openapi.api.assistant.AssistantApi
Generate assistant response with complete output Creates conversational responses and returns the complete assistant reply
AssistantCompletion - Class in ai.z.openapi.service.assistant
This class represents the completion data returned by an assistant.
AssistantCompletion() - Constructor for class ai.z.openapi.service.assistant.AssistantCompletion
 
assistantCompletion(AssistantParameters) - Method in interface ai.z.openapi.service.assistant.AssistantService
Creates a non-streaming assistant completion.
assistantCompletion(AssistantParameters) - Method in class ai.z.openapi.service.assistant.AssistantServiceImpl
 
assistantCompletionStream(AssistantParameters) - Method in interface ai.z.openapi.api.assistant.AssistantApi
Generate assistant response with streaming output Creates real-time conversational responses with streaming delivery
assistantCompletionStream(AssistantParameters) - Method in interface ai.z.openapi.service.assistant.AssistantService
Creates a streaming assistant completion.
assistantCompletionStream(AssistantParameters) - Method in class ai.z.openapi.service.assistant.AssistantServiceImpl
 
AssistantCompletionUsage - Class in ai.z.openapi.service.assistant
This class represents the usage statistics for a completion.
AssistantCompletionUsage() - Constructor for class ai.z.openapi.service.assistant.AssistantCompletionUsage
 
AssistantConversationMessage - Class in ai.z.openapi.service.assistant
This class represents a conversation message body.
AssistantConversationMessage() - Constructor for class ai.z.openapi.service.assistant.AssistantConversationMessage
 
AssistantConversationParameters - Class in ai.z.openapi.service.assistant.conversation
This class represents the parameters for a conversation, including pagination.
AssistantConversationParameters() - Constructor for class ai.z.openapi.service.assistant.conversation.AssistantConversationParameters
 
AssistantConversationUsage - Class in ai.z.openapi.service.assistant.conversation
This class represents the usage data for a specific conversation.
AssistantConversationUsage() - Constructor for class ai.z.openapi.service.assistant.conversation.AssistantConversationUsage
 
AssistantConversationUsageList - Class in ai.z.openapi.service.assistant.conversation
This class represents a list of conversation usage data.
AssistantConversationUsageList() - Constructor for class ai.z.openapi.service.assistant.conversation.AssistantConversationUsageList
 
AssistantConversationUsageListResponse - Class in ai.z.openapi.service.assistant.conversation
Response for conversation usage list API calls.
AssistantConversationUsageListResponse() - Constructor for class ai.z.openapi.service.assistant.conversation.AssistantConversationUsageListResponse
 
AssistantConversationUsageListResponse(int, String) - Constructor for class ai.z.openapi.service.assistant.conversation.AssistantConversationUsageListResponse
 
AssistantConversationUsageListStatus - Class in ai.z.openapi.service.assistant.conversation
This class represents the response containing a list of conversation usage data.
AssistantConversationUsageListStatus() - Constructor for class ai.z.openapi.service.assistant.conversation.AssistantConversationUsageListStatus
 
AssistantDrawingTool - Class in ai.z.openapi.service.assistant.message.tools.drawing_tool
The input string that was used to generate the drawing.
AssistantDrawingTool() - Constructor for class ai.z.openapi.service.assistant.message.tools.drawing_tool.AssistantDrawingTool
 
AssistantDrawingToolBlock - Class in ai.z.openapi.service.assistant.message.tools.drawing_tool
This class represents a block of drawing tool data.
AssistantDrawingToolBlock() - Constructor for class ai.z.openapi.service.assistant.message.tools.drawing_tool.AssistantDrawingToolBlock
 
AssistantDrawingToolOutput - Class in ai.z.openapi.service.assistant.message.tools.drawing_tool
This class represents the output of a drawing tool, containing the generated image.
AssistantDrawingToolOutput() - Constructor for class ai.z.openapi.service.assistant.message.tools.drawing_tool.AssistantDrawingToolOutput
 
AssistantErrorInfo - Class in ai.z.openapi.service.assistant
This class represents error information.
AssistantErrorInfo() - Constructor for class ai.z.openapi.service.assistant.AssistantErrorInfo
 
AssistantExtraParameters - Class in ai.z.openapi.service.assistant
Extra parameters for assistant configuration.
AssistantExtraParameters() - Constructor for class ai.z.openapi.service.assistant.AssistantExtraParameters
 
AssistantFunctionTool - Class in ai.z.openapi.service.assistant.message.tools.function
This class represents a function tool with a name, arguments, and outputs.
AssistantFunctionTool() - Constructor for class ai.z.openapi.service.assistant.message.tools.function.AssistantFunctionTool
 
AssistantFunctionToolBlock - Class in ai.z.openapi.service.assistant.message.tools.function
This class represents a block of function tool data.
AssistantFunctionToolBlock() - Constructor for class ai.z.openapi.service.assistant.message.tools.function.AssistantFunctionToolBlock
 
AssistantFunctionToolOutput - Class in ai.z.openapi.service.assistant.message.tools.function
This class represents the output of a function tool, containing the generated content.
AssistantFunctionToolOutput() - Constructor for class ai.z.openapi.service.assistant.message.tools.function.AssistantFunctionToolOutput
 
AssistantMessageContent - Class in ai.z.openapi.service.assistant.message
 
AssistantMessageContent() - Constructor for class ai.z.openapi.service.assistant.message.AssistantMessageContent
 
AssistantMessageContentDeserializer - Class in ai.z.openapi.service.deserialize.assistant.message
 
AssistantMessageContentDeserializer() - Constructor for class ai.z.openapi.service.deserialize.assistant.message.AssistantMessageContentDeserializer
 
AssistantMessageTextContent - Class in ai.z.openapi.service.assistant
This class represents the text content of a message.
AssistantMessageTextContent() - Constructor for class ai.z.openapi.service.assistant.AssistantMessageTextContent
 
AssistantParameters - Class in ai.z.openapi.service.assistant
This class represents the parameters for an assistant, including optional fields.
AssistantParameters() - Constructor for class ai.z.openapi.service.assistant.AssistantParameters
 
AssistantQuerySupportParams - Class in ai.z.openapi.service.assistant.query_support
Parameters for querying assistant support status.
AssistantQuerySupportParams() - Constructor for class ai.z.openapi.service.assistant.query_support.AssistantQuerySupportParams
 
AssistantRetrievalTool - Class in ai.z.openapi.service.assistant.message.tools.retrieval
This class represents the outputs of a retrieval tool.
AssistantRetrievalTool() - Constructor for class ai.z.openapi.service.assistant.message.tools.retrieval.AssistantRetrievalTool
 
AssistantRetrievalToolBlock - Class in ai.z.openapi.service.assistant.message.tools.retrieval
 
AssistantRetrievalToolBlock() - Constructor for class ai.z.openapi.service.assistant.message.tools.retrieval.AssistantRetrievalToolBlock
 
AssistantRetrievalToolOutput - Class in ai.z.openapi.service.assistant.message.tools.retrieval
This class represents the output of a retrieval tool.
AssistantRetrievalToolOutput() - Constructor for class ai.z.openapi.service.assistant.message.tools.retrieval.AssistantRetrievalToolOutput
 
assistants() - Method in class ai.z.openapi.AbstractAiClient
Returns the assistant service for AI assistant functionality.
AssistantService - Interface in ai.z.openapi.service.assistant
Assistant service interface
AssistantServiceImpl - Class in ai.z.openapi.service.assistant
Implementation of AssistantService
AssistantServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.assistant.AssistantServiceImpl
 
AssistantSupport - Class in ai.z.openapi.service.assistant.query_support
This class represents the details of an assistant.
AssistantSupport() - Constructor for class ai.z.openapi.service.assistant.query_support.AssistantSupport
 
AssistantSupportResponse - Class in ai.z.openapi.service.assistant.query_support
Response for assistant support query API calls.
AssistantSupportResponse() - Constructor for class ai.z.openapi.service.assistant.query_support.AssistantSupportResponse
 
AssistantSupportResponse(int, String) - Constructor for class ai.z.openapi.service.assistant.query_support.AssistantSupportResponse
 
AssistantSupportStatus - Class in ai.z.openapi.service.assistant.query_support
This class represents the response containing a list of assistant supports.
AssistantSupportStatus() - Constructor for class ai.z.openapi.service.assistant.query_support.AssistantSupportStatus
 
AssistantTextContentBlock - Class in ai.z.openapi.service.assistant.message
This class represents a block of text content in a conversation.
AssistantTextContentBlock() - Constructor for class ai.z.openapi.service.assistant.message.AssistantTextContentBlock
Default constructor.
AssistantToolsDeltaBlock - Class in ai.z.openapi.service.assistant.message
This class represents a block of tool call data in a conversation.
AssistantToolsDeltaBlock() - Constructor for class ai.z.openapi.service.assistant.message.AssistantToolsDeltaBlock
Default constructor.
AssistantToolsType - Class in ai.z.openapi.service.assistant.message.tools
 
AssistantToolsType() - Constructor for class ai.z.openapi.service.assistant.message.tools.AssistantToolsType
 
AssistantTranslateParameters - Class in ai.z.openapi.service.assistant
Parameters for translation operations.
AssistantTranslateParameters() - Constructor for class ai.z.openapi.service.assistant.AssistantTranslateParameters
 
AssistantUsage - Class in ai.z.openapi.service.assistant.conversation
This class represents the usage statistics for a conversation.
AssistantUsage() - Constructor for class ai.z.openapi.service.assistant.conversation.AssistantUsage
 
AssistantWebBrowser - Class in ai.z.openapi.service.assistant.message.tools.web_browser
This class represents the input and outputs of a web browser search.
AssistantWebBrowser() - Constructor for class ai.z.openapi.service.assistant.message.tools.web_browser.AssistantWebBrowser
 
AssistantWebBrowserOutput - Class in ai.z.openapi.service.assistant.message.tools.web_browser
This class represents the output of a web browser search result.
AssistantWebBrowserOutput() - Constructor for class ai.z.openapi.service.assistant.message.tools.web_browser.AssistantWebBrowserOutput
 
AssistantWebBrowserToolBlock - Class in ai.z.openapi.service.assistant.message.tools.web_browser
This class represents a block for invoking the web browser tool.
AssistantWebBrowserToolBlock() - Constructor for class ai.z.openapi.service.assistant.message.tools.web_browser.AssistantWebBrowserToolBlock
 
asyncChatCompletion(ChatCompletionCreateParams) - Method in interface ai.z.openapi.service.chat.ChatService
Creates an asynchronous chat completion.
asyncChatCompletion(ChatCompletionCreateParams) - Method in class ai.z.openapi.service.chat.ChatServiceImpl
 
AsyncResultRetrieveParams - Class in ai.z.openapi.service.model
 
AsyncResultRetrieveParams() - Constructor for class ai.z.openapi.service.model.AsyncResultRetrieveParams
 
audio() - Method in class ai.z.openapi.AbstractAiClient
Returns the audio service for audio processing.
Audio - Class in ai.z.openapi.service.model
 
Audio() - Constructor for class ai.z.openapi.service.model.Audio
 
audio(String) - Static method in class ai.z.openapi.service.moderations.ModerationInput
Helper method to create audio input
AudioApi - Interface in ai.z.openapi.api.audio
Audio API for advanced speech processing capabilities Powered by GLM-4-Voice for end-to-end speech understanding and generation Provides text-to-speech, speech-to-text, voice customization, and real-time conversation Supports emotion control, tone adjustment, speed variation, and dialect generation Features real-time audio processing, voice cloning, and multilingual ASR capabilities
audioCustomization(Map<String, RequestBody>, MultipartBody.Part) - Method in interface ai.z.openapi.api.audio.AudioApi
Voice cloning and customization using advanced neural models Creates custom voice models from provided audio samples with high fidelity Enables personalized speech synthesis preserving unique voice characteristics and speaking style Supports fine-tuning of voice parameters including pitch, timbre, and speaking patterns
AudioCustomizationRequest - Class in ai.z.openapi.service.audio
Request parameters for audio customization API calls.
AudioCustomizationRequest() - Constructor for class ai.z.openapi.service.audio.AudioCustomizationRequest
 
AudioCustomizationResponse - Class in ai.z.openapi.service.audio
Response wrapper for audio customization API calls.
AudioCustomizationResponse() - Constructor for class ai.z.openapi.service.audio.AudioCustomizationResponse
 
AudioService - Interface in ai.z.openapi.service.audio
Audio service interface
AudioServiceImpl - Class in ai.z.openapi.service.audio
Audio service implementation
AudioServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.audio.AudioServiceImpl
 
audioSpeech(AudioSpeechRequest) - Method in interface ai.z.openapi.api.audio.AudioApi
Text-to-Speech (TTS) conversion using GLM-4-Voice Converts text input into natural-sounding speech audio with emotion and tone control Supports multiple voices, languages, speed adjustment, and various audio formats Features advanced voice synthesis with customizable emotional expressions and dialects
AudioSpeechRequest - Class in ai.z.openapi.service.audio
 
AudioSpeechRequest() - Constructor for class ai.z.openapi.service.audio.AudioSpeechRequest
 
AudioSpeechResponse - Class in ai.z.openapi.service.audio
 
AudioSpeechResponse() - Constructor for class ai.z.openapi.service.audio.AudioSpeechResponse
 
audioSpeechStreaming(AudioSpeechRequest) - Method in interface ai.z.openapi.api.audio.AudioApi
Text-to-Speech (TTS) conversion using GLM-4-Voice Converts text input into natural-sounding speech audio with emotion and tone control Supports multiple voices, languages, speed adjustment, and various audio formats Features advanced voice synthesis with customizable emotional expressions and dialects
AudioSpeechStreamingResponse - Class in ai.z.openapi.service.audio
 
AudioSpeechStreamingResponse() - Constructor for class ai.z.openapi.service.audio.AudioSpeechStreamingResponse
 
audioTranscription(Map<String, RequestBody>, MultipartBody.Part) - Method in interface ai.z.openapi.api.audio.AudioApi
Speech-to-text transcription using GLM ASR models Converts audio files to text with high accuracy and multilingual support Features advanced noise reduction, speaker recognition, and punctuation restoration Supports multiple languages with automatic language detection capabilities
AudioTranscriptionChunk - Class in ai.z.openapi.service.audio
 
AudioTranscriptionChunk() - Constructor for class ai.z.openapi.service.audio.AudioTranscriptionChunk
 
AudioTranscriptionRequest - Class in ai.z.openapi.service.audio
 
AudioTranscriptionRequest() - Constructor for class ai.z.openapi.service.audio.AudioTranscriptionRequest
 
AudioTranscriptionResponse - Class in ai.z.openapi.service.audio
 
AudioTranscriptionResponse() - Constructor for class ai.z.openapi.service.audio.AudioTranscriptionResponse
 
AudioTranscriptionResult - Class in ai.z.openapi.service.audio
 
AudioTranscriptionResult() - Constructor for class ai.z.openapi.service.audio.AudioTranscriptionResult
 
audioTranscriptionStream(Map<String, RequestBody>, MultipartBody.Part) - Method in interface ai.z.openapi.api.audio.AudioApi
Streaming speech-to-text transcription using GLM ASR Converts audio files to text with real-time streaming results and low latency Returns transcription results incrementally as they become available for immediate processing Optimized for real-time applications requiring immediate text feedback

B

BaseNodeDeserializer<T extends com.fasterxml.jackson.databind.JsonNode> - Class in ai.z.openapi.service.deserialize
Base class for all actual JsonNode deserializer implementations
BaseNodeDeserializer(Class<T>, Boolean) - Constructor for class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
baseUrl(String) - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Config the api service base url
Batch - Class in ai.z.openapi.service.batches
 
Batch() - Constructor for class ai.z.openapi.service.batches.Batch
 
BatchCreateParams - Class in ai.z.openapi.service.batches
Parameters for creating batch processing requests.
BatchCreateParams() - Constructor for class ai.z.openapi.service.batches.BatchCreateParams
 
batches() - Method in class ai.z.openapi.AbstractAiClient
Returns the batch service for batch processing operations.
BatchesApi - Interface in ai.z.openapi.api.batches
Batch Processing API for large-scale data operations Enables efficient processing of millions of requests with cost-effective batch execution Provides up to 50% discount compared to individual API calls with 24-hour completion guarantee Supports up to 50,000 requests per batch with maximum 200MB input file size Ideal for evaluation, classification, and embedding tasks that don't require immediate responses
batchesCancel(String) - Method in interface ai.z.openapi.api.batches.BatchesApi
Cancel a running batch job Stops the batch processing and marks the job as cancelled (may take up to 10 minutes) Only works for batches in 'validating' or 'in_progress' status
batchesCreate(BatchCreateParams) - Method in interface ai.z.openapi.api.batches.BatchesApi
Create a new batch processing job Submits a large number of requests for efficient batch processing with JSONL format Each request must include a unique custom_id for result mapping Supports /v1/chat/completions and /v1/embeddings endpoints
batchesList(String, Integer) - Method in interface ai.z.openapi.api.batches.BatchesApi
List all batch jobs with pagination Retrieves a paginated list of all batch processing jobs with filtering options Useful for monitoring multiple batch operations and their completion status
batchesRetrieve(String) - Method in interface ai.z.openapi.api.batches.BatchesApi
Retrieve details of a specific batch job Gets comprehensive information about batch processing status and results Status can be: validating, failed, in_progress, finalizing, completed, expired, cancelling, cancelled
BatchPage - Class in ai.z.openapi.service.batches
 
BatchPage() - Constructor for class ai.z.openapi.service.batches.BatchPage
 
BatchRequest - Class in ai.z.openapi.service.batches
 
BatchRequest() - Constructor for class ai.z.openapi.service.batches.BatchRequest
 
BatchResponse - Class in ai.z.openapi.service.batches
 
BatchResponse() - Constructor for class ai.z.openapi.service.batches.BatchResponse
 
BatchService - Interface in ai.z.openapi.service.batches
Batch service interface
BatchServiceImpl - Class in ai.z.openapi.service.batches
Batch service implementation
BatchServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.batches.BatchServiceImpl
 
BetaFieldObj - Class in ai.z.openapi.service.realtime.object
 
BetaFieldObj() - Constructor for class ai.z.openapi.service.realtime.object.BetaFieldObj
 
BiFlowableClientResponse<T,F> - Interface in ai.z.openapi.core.model
A client response that supports a reactive Flowable stream with separate body type and stream item type.
biStreamRequest(TReq, FlowableRequestSupplier<Param, Call<ResponseBody>>, Class<TResp>, Class<F>) - Method in class ai.z.openapi.AbstractAiClient
Executes a streaming API request and returns a BiFlowableClientResponse where response body and stream element type can differ.
biStreamRequest(TReq, FlowableRequestSupplier<Param, Call<ResponseBody>>, Class<TResp>, Class<F>) - Method in class ai.z.openapi.service.AbstractClientBaseService
Executes a streaming API request and returns a Flowable-based response.
build() - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Builds and returns a new AI client instance with the configured settings.
build() - Method in class ai.z.openapi.ZaiClient.Builder
 
build() - Method in class ai.z.openapi.ZhipuAiClient.Builder
 
builder() - Static method in class ai.z.openapi.ZaiClient
Creates a new Builder instance for constructing ZaiClient.
Builder() - Constructor for class ai.z.openapi.ZaiClient.Builder
 
Builder(String) - Constructor for class ai.z.openapi.ZaiClient.Builder
 
Builder(String, String) - Constructor for class ai.z.openapi.ZaiClient.Builder
 
builder() - Static method in class ai.z.openapi.ZhipuAiClient
Creates a new Builder instance for constructing ZaiClient.
Builder() - Constructor for class ai.z.openapi.ZhipuAiClient.Builder
 
Builder(String) - Constructor for class ai.z.openapi.ZhipuAiClient.Builder
Creates a new builder with the specified API key.
Builder(String, String) - Constructor for class ai.z.openapi.ZhipuAiClient.Builder
Creates a new builder with a custom base URL and API secret key.

C

cancelBatch(BatchRequest) - Method in interface ai.z.openapi.service.batches.BatchService
Cancels a batch request.
cancelBatch(String) - Method in interface ai.z.openapi.service.batches.BatchService
Cancels a batch request by ID.
cancelBatch(BatchRequest) - Method in class ai.z.openapi.service.batches.BatchServiceImpl
 
cancelBatch(String) - Method in class ai.z.openapi.service.batches.BatchServiceImpl
 
changeState(OkHttpRealtimeClient.ConnectivityState) - Method in class ai.z.openapi.service.realtime.OkHttpRealtimeClient.ConnectivityMonitor
 
changeStateOn(OkHttpRealtimeClient.ConnectivityState, OkHttpRealtimeClient.ConnectivityState) - Method in class ai.z.openapi.service.realtime.OkHttpRealtimeClient.ConnectivityMonitor
 
changeStateOnAnyOf(EnumSet<OkHttpRealtimeClient.ConnectivityState>, OkHttpRealtimeClient.ConnectivityState) - Method in class ai.z.openapi.service.realtime.OkHttpRealtimeClient.ConnectivityMonitor
 
chat() - Method in class ai.z.openapi.AbstractAiClient
Returns the chat service for conversational AI operations.
ChatApi - Interface in ai.z.openapi.api.chat
Chat Completions API for advanced GLM-4 series models Provides synchronous, asynchronous, and streaming chat completion capabilities Supports complex reasoning, long context processing (up to 128K tokens), and ultra-fast inference Features GLM-4-Plus, GLM-4-Air, GLM-4-Flash, and GLM-4-AllTools with specialized capabilities Optimized for Chinese and multilingual conversations with superior performance
ChatCompletionCreateParams - Class in ai.z.openapi.service.model
 
ChatCompletionCreateParams() - Constructor for class ai.z.openapi.service.model.ChatCompletionCreateParams
 
ChatCompletionResponse - Class in ai.z.openapi.service.model
 
ChatCompletionResponse() - Constructor for class ai.z.openapi.service.model.ChatCompletionResponse
 
ChatError - Class in ai.z.openapi.service.model
Represents an error that occurred during API operations.
ChatError() - Constructor for class ai.z.openapi.service.model.ChatError
 
ChatFunction - Class in ai.z.openapi.service.model
 
ChatFunction() - Constructor for class ai.z.openapi.service.model.ChatFunction
 
ChatFunctionCall - Class in ai.z.openapi.service.model
Represents a function call generated by the chat model.
ChatFunctionCall() - Constructor for class ai.z.openapi.service.model.ChatFunctionCall
 
ChatFunctionParameterProperty - Class in ai.z.openapi.service.model
 
ChatFunctionParameterProperty() - Constructor for class ai.z.openapi.service.model.ChatFunctionParameterProperty
 
ChatFunctionParameters - Class in ai.z.openapi.service.model
 
ChatFunctionParameters() - Constructor for class ai.z.openapi.service.model.ChatFunctionParameters
 
ChatMessage - Class in ai.z.openapi.service.model
 
ChatMessage(String, Object) - Constructor for class ai.z.openapi.service.model.ChatMessage
 
ChatMessageRole - Enum in ai.z.openapi.service.model
 
ChatMeta - Class in ai.z.openapi.service.model
Meta information for hyper-realistic conversations.
ChatMeta() - Constructor for class ai.z.openapi.service.model.ChatMeta
 
ChatRequestWithHeaders - Class in ai.z.openapi.service.model
Chat request wrapper that includes custom headers support.
ChatRequestWithHeaders() - Constructor for class ai.z.openapi.service.model.ChatRequestWithHeaders
 
ChatService - Interface in ai.z.openapi.service.chat
Chat completion service interface
ChatServiceImpl - Class in ai.z.openapi.service.chat
Chat completion service implementation
ChatServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.chat.ChatServiceImpl
 
ChatThinking - Class in ai.z.openapi.service.model
 
ChatThinking() - Constructor for class ai.z.openapi.service.model.ChatThinking
 
ChatThinkingType - Enum in ai.z.openapi.service.model
 
ChatTool - Class in ai.z.openapi.service.model
 
ChatTool() - Constructor for class ai.z.openapi.service.model.ChatTool
 
ChatToolType - Enum in ai.z.openapi.service.model
 
Choice - Class in ai.z.openapi.service.model
 
Choice() - Constructor for class ai.z.openapi.service.model.Choice
 
ChoiceDelta - Class in ai.z.openapi.service.tools
 
ChoiceDelta() - Constructor for class ai.z.openapi.service.tools.ChoiceDelta
 
ChoiceDeltaToolCall - Class in ai.z.openapi.service.tools
 
ChoiceDeltaToolCall() - Constructor for class ai.z.openapi.service.tools.ChoiceDeltaToolCall
 
ClientRequest<T> - Interface in ai.z.openapi.core.model
 
ClientResponse<T> - Interface in ai.z.openapi.core.model
 
cloneVoice(VoiceCloneRequest) - Method in interface ai.z.openapi.api.voiceclone.VoiceCloneApi
Creates a new voice clone from provided audio sample and parameters.
cloneVoice(VoiceCloneRequest) - Method in interface ai.z.openapi.service.voiceclone.VoiceCloneService
Creates a new voice clone based on the provided audio sample and parameters.
cloneVoice(VoiceCloneRequest) - Method in class ai.z.openapi.service.voiceclone.VoiceCloneServiceImpl
 
close() - Method in class ai.z.openapi.AbstractAiClient
Closes the AI client and releases all associated resources.
close() - Method in class ai.z.openapi.core.response.HttpxBinaryResponseContent
 
close() - Method in class ai.z.openapi.service.realtime.OkHttpRealtimeClient
 
code - Variable in exception ai.z.openapi.service.model.ZAiHttpException
ZAI error code, for example "1233"
CodeGeexContext - Class in ai.z.openapi.service.model.params
 
CodeGeexContext() - Constructor for class ai.z.openapi.service.model.params.CodeGeexContext
 
CodeGeexExtra - Class in ai.z.openapi.service.model.params
 
CodeGeexExtra() - Constructor for class ai.z.openapi.service.model.params.CodeGeexExtra
 
CodeGeexTarget - Class in ai.z.openapi.service.model.params
 
CodeGeexTarget() - Constructor for class ai.z.openapi.service.model.params.CodeGeexTarget
 
CommonRequest - Class in ai.z.openapi.service
Common request base class with extra JSON fields.
CommonRequest() - Constructor for class ai.z.openapi.service.CommonRequest
 
CompletionTokensDetails - Class in ai.z.openapi.service.model
 
CompletionTokensDetails() - Constructor for class ai.z.openapi.service.model.CompletionTokensDetails
 
ComputerToolCall() - Constructor for class ai.z.openapi.service.realtime.object.OutputItemObj.ComputerToolCall
 
config - Variable in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Configuration object that accumulates all builder settings
ConfigIntOrInfDeserializer() - Constructor for class ai.z.openapi.service.realtime.object.IntOrInfObj.ConfigIntOrInfDeserializer
 
ConfigIntOrInfSerializer() - Constructor for class ai.z.openapi.service.realtime.object.IntOrInfObj.ConfigIntOrInfSerializer
 
connectionPool(int, long, TimeUnit) - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Configures the HTTP connection pool settings.
ConnectivityMonitor() - Constructor for class ai.z.openapi.service.realtime.OkHttpRealtimeClient.ConnectivityMonitor
 
Constants - Class in ai.z.openapi.core
Constants class containing all the configuration values and model identifiers used throughout the Z.AI OpenAPI SDK.
contentFilter - Variable in class ai.z.openapi.service.model.ZAiError
 
ContentFilter() - Constructor for class ai.z.openapi.service.model.ZAiError.ContentFilter
 
ConversationCreated - Class in ai.z.openapi.service.realtime.server
Server event indicating that a new conversation has been created.
ConversationCreated() - Constructor for class ai.z.openapi.service.realtime.server.ConversationCreated
 
ConversationItemCreate - Class in ai.z.openapi.service.realtime.client
Client event for creating a new item in the conversation.
ConversationItemCreate() - Constructor for class ai.z.openapi.service.realtime.client.ConversationItemCreate
 
ConversationItemCreated - Class in ai.z.openapi.service.realtime.server
 
ConversationItemCreated() - Constructor for class ai.z.openapi.service.realtime.server.ConversationItemCreated
 
ConversationItemDelete - Class in ai.z.openapi.service.realtime.client
Client event for deleting an item from the conversation history.
ConversationItemDelete() - Constructor for class ai.z.openapi.service.realtime.client.ConversationItemDelete
 
ConversationItemDeleted - Class in ai.z.openapi.service.realtime.server
 
ConversationItemDeleted() - Constructor for class ai.z.openapi.service.realtime.server.ConversationItemDeleted
 
ConversationItemInputAudioTranscriptionCompleted - Class in ai.z.openapi.service.realtime.server
 
ConversationItemInputAudioTranscriptionCompleted() - Constructor for class ai.z.openapi.service.realtime.server.ConversationItemInputAudioTranscriptionCompleted
 
ConversationItemInputAudioTranscriptionFailed - Class in ai.z.openapi.service.realtime.server
 
ConversationItemInputAudioTranscriptionFailed() - Constructor for class ai.z.openapi.service.realtime.server.ConversationItemInputAudioTranscriptionFailed
 
ConversationItemTruncate - Class in ai.z.openapi.service.realtime.client
 
ConversationItemTruncate() - Constructor for class ai.z.openapi.service.realtime.client.ConversationItemTruncate
 
ConversationItemTruncated - Class in ai.z.openapi.service.realtime.server
 
ConversationItemTruncated() - Constructor for class ai.z.openapi.service.realtime.server.ConversationItemTruncated
 
ConversationObj - Class in ai.z.openapi.service.realtime.object
 
ConversationObj() - Constructor for class ai.z.openapi.service.realtime.object.ConversationObj
 
create(ZaiConfig) - Static method in class ai.z.openapi.utils.OkHttps
Creates a configured OkHttpClient instance based on the provided configuration.
createAgentCompletion(AgentsCompletionRequest) - Method in interface ai.z.openapi.service.agents.AgentService
Creates an agent completion, either streaming or non-streaming based on the request configuration.
createAgentCompletion(AgentsCompletionRequest) - Method in class ai.z.openapi.service.agents.AgentServiceImpl
 
createBatch(BatchCreateParams) - Method in interface ai.z.openapi.service.batches.BatchService
Creates a batch request.
createBatch(BatchCreateParams) - Method in class ai.z.openapi.service.batches.BatchServiceImpl
 
createChatCompletion(ChatCompletionCreateParams) - Method in interface ai.z.openapi.api.chat.ChatApi
Create a synchronous chat completion with immediate response Waits for the GLM-4 model to complete execution and returns the final result Supports complex reasoning, tool calling, function execution, and multi-modal understanding Features advanced capabilities like web search integration, code interpretation, and image analysis
createChatCompletion(ChatCompletionCreateParams, Map<String, String>) - Method in interface ai.z.openapi.api.chat.ChatApi
Create a synchronous chat completion with custom headers support Waits for the GLM-4 model to complete execution and returns the final result with custom HTTP headers Supports complex reasoning, tool calling, function execution, and multi-modal understanding Features advanced capabilities like web search integration, code interpretation, and image analysis
createChatCompletion(ChatCompletionCreateParams) - Method in interface ai.z.openapi.service.chat.ChatService
Creates a chat completion, either streaming or non-streaming based on the request configuration.
createChatCompletion(ChatCompletionCreateParams, Map<String, String>) - Method in interface ai.z.openapi.service.chat.ChatService
Creates a chat completion with custom headers support.
createChatCompletion(ChatCompletionCreateParams) - Method in class ai.z.openapi.service.chat.ChatServiceImpl
 
createChatCompletion(ChatCompletionCreateParams, Map<String, String>) - Method in class ai.z.openapi.service.chat.ChatServiceImpl
 
createChatCompletionAsync(ChatCompletionCreateParams) - Method in interface ai.z.openapi.api.chat.ChatApi
Create an asynchronous chat completion for long-running tasks Submits the request and returns immediately with a task ID for later result retrieval Ideal for complex reasoning tasks, long document processing, or batch operations Supports advanced GLM-4 models with extended context and computational requirements
createChatCompletionStream(ChatCompletionCreateParams) - Method in interface ai.z.openapi.api.chat.ChatApi
Create a streaming chat completion with real-time response Returns response content incrementally through Server-Sent Events (SSE) for immediate user feedback Optimized for interactive applications requiring low latency and progressive content delivery Supports all GLM-4 models with configurable streaming parameters and token-by-token generation
createChatCompletionStream(ChatCompletionCreateParams, Map<String, String>) - Method in interface ai.z.openapi.api.chat.ChatApi
Create a streaming chat completion with custom headers support Returns response content incrementally through Server-Sent Events (SSE) for immediate user feedback Optimized for interactive applications requiring low latency and progressive content delivery Supports all GLM-4 models with configurable streaming parameters and custom HTTP headers
createCustomSpeech(AudioCustomizationRequest) - Method in interface ai.z.openapi.service.audio.AudioService
Creates customized speech with specific voice characteristics.
createCustomSpeech(AudioCustomizationRequest) - Method in class ai.z.openapi.service.audio.AudioServiceImpl
 
createEmbeddings(EmbeddingCreateParams) - Method in interface ai.z.openapi.api.embedding.EmbeddingApi
Create embeddings for input text using GLM embedding models Converts text strings into numerical vector representations that capture semantic meaning Supports customizable vector dimensions for different use cases and performance requirements Optimized for both single text and batch processing scenarios
createEmbeddings(EmbeddingCreateParams) - Method in interface ai.z.openapi.service.embedding.EmbeddingService
Creates embeddings for the given input text.
createEmbeddings(EmbeddingCreateParams) - Method in class ai.z.openapi.service.embedding.EmbeddingServiceImpl
 
createImage(CreateImageRequest) - Method in interface ai.z.openapi.api.images.ImagesApi
Generate images from text prompts using CogView-3-Plus Creates high-quality images based on textual descriptions with advanced semantic understanding Supports complex scene composition, lighting effects, and accurate Chinese character rendering Optimized for both artistic creation and practical image generation needs
createImage(CreateImageRequest) - Method in interface ai.z.openapi.service.image.ImageService
Creates an image based on the provided generation request.
createImage(CreateImageRequest) - Method in class ai.z.openapi.service.image.ImageServiceImpl
 
CreateImageRequest - Class in ai.z.openapi.service.image
A request for ZAi to create an image based on a prompt All fields except prompt are optional
CreateImageRequest() - Constructor for class ai.z.openapi.service.image.CreateImageRequest
 
createModeration(ModerationCreateParams) - Method in interface ai.z.openapi.api.moderations.ModerationApi
Create a content moderation request for safety detection Analyzes content for potential risks including adult content, violence, illegal activities Supports multiple content types: text strings, images, audio, and video files Returns detailed risk assessment with structured results and specific risk segments
createModeration(ModerationCreateParams) - Method in interface ai.z.openapi.service.moderations.ModerationService
Create a content moderation request for safety detection Analyzes content for potential risks including adult content, violence, illegal activities Supports multiple content types: text strings, images, audio, and video files Returns detailed risk assessment with structured results and specific risk segments
createModeration(ModerationCreateParams) - Method in class ai.z.openapi.service.moderations.ModerationServiceImpl
 
createParseTask(MultipartBody) - Method in interface ai.z.openapi.api.fileparsing.FileParsingApi
Create a file parsing task.
createParseTask(FileParsingUploadReq) - Method in interface ai.z.openapi.service.fileparsing.FileParsingService
Submits a file parsing task to the server.
createParseTask(FileParsingUploadReq) - Method in class ai.z.openapi.service.fileparsing.FileParsingServiceImpl
 
createSpeech(AudioSpeechRequest) - Method in interface ai.z.openapi.service.audio.AudioService
Creates speech from text using text-to-speech.
createSpeech(AudioSpeechRequest) - Method in class ai.z.openapi.service.audio.AudioServiceImpl
 
createStreamingSpeechStreaming(AudioSpeechRequest) - Method in interface ai.z.openapi.service.audio.AudioService
Creates speech from text using text-to-speech.
createStreamingSpeechStreaming(AudioSpeechRequest) - Method in class ai.z.openapi.service.audio.AudioServiceImpl
 
createTranscription(AudioTranscriptionRequest) - Method in interface ai.z.openapi.service.audio.AudioService
Creates audio transcription from audio files.
createTranscription(AudioTranscriptionRequest) - Method in class ai.z.openapi.service.audio.AudioServiceImpl
 
createWebReader(WebReaderRequest) - Method in interface ai.z.openapi.service.web_reader.WebReaderService
Creates a web reader request to parse a URL.
createWebReader(WebReaderRequest) - Method in class ai.z.openapi.service.web_reader.WebReaderServiceImpl
 
createWebSearch(WebSearchRequest) - Method in interface ai.z.openapi.service.web_search.WebSearchService
Creates a basic web search.
createWebSearch(WebSearchRequest) - Method in class ai.z.openapi.service.web_search.WebSearchServiceImpl
 
createWebSearchPro(WebSearchParamsRequest) - Method in interface ai.z.openapi.service.web_search.WebSearchService
Creates a web search with enhanced capabilities.
createWebSearchPro(WebSearchParamsRequest) - Method in class ai.z.openapi.service.web_search.WebSearchServiceImpl
 
createWebSearchProStream(WebSearchParamsRequest) - Method in interface ai.z.openapi.service.web_search.WebSearchService
Creates a streaming web search with enhanced capabilities.
createWebSearchProStream(WebSearchParamsRequest) - Method in class ai.z.openapi.service.web_search.WebSearchServiceImpl
 
customHeaders(Map<String, String>) - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Config the custom headers

D

defaultObjectMapper() - Static method in class ai.z.openapi.service.deserialize.MessageDeserializeFactory
 
deletedFile(String) - Method in interface ai.z.openapi.api.file.FileApi
Delete a file from the platform Permanently removes the file and all associated data
deleteFile(FileDelRequest) - Method in interface ai.z.openapi.service.file.FileService
Delete file by file ID.
deleteFile(FileDelRequest) - Method in class ai.z.openapi.service.file.FileServiceImpl
 
deleteVoice(VoiceDeleteRequest) - Method in interface ai.z.openapi.api.voiceclone.VoiceCloneApi
Deletes an existing voice clone by voice.
deleteVoice(VoiceDeleteRequest) - Method in interface ai.z.openapi.service.voiceclone.VoiceCloneService
Deletes an existing voice clone by voice.
deleteVoice(VoiceDeleteRequest) - Method in class ai.z.openapi.service.voiceclone.VoiceCloneServiceImpl
 
Delta - Class in ai.z.openapi.service.model
 
Delta() - Constructor for class ai.z.openapi.service.model.Delta
 
deserialize(JsonParser, DeserializationContext) - Method in class ai.z.openapi.service.deserialize.assistant.AssistantChoiceDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class ai.z.openapi.service.deserialize.assistant.message.AssistantMessageContentDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class ai.z.openapi.service.deserialize.ObjectDeserializer
 
deserialize(JsonParser, DeserializationContext, ObjectNode) - Method in class ai.z.openapi.service.deserialize.ObjectDeserializer
Variant needed to support both root-level `updateValue()` and merging.
deserialize(JsonParser, DeserializationContext) - Method in class ai.z.openapi.service.realtime.object.IntOrInfObj.ConfigIntOrInfDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class ai.z.openapi.service.realtime.object.ToolChoiceObj.ToolChoiceObjDeserializer
 
deserializeAny(JsonParser, DeserializationContext, JsonNodeFactory) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
deserializeArray(JsonParser, DeserializationContext, JsonNodeFactory) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
deserializeObject(JsonParser, DeserializationContext, JsonNodeFactory) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
Method called to deserialize Object node instance when there is no existing node to modify.
deserializeObjectAtName(JsonParser, DeserializationContext, JsonNodeFactory) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
Alternate deserialization method used when parser already points to first FIELD_NAME and not START_OBJECT.
deserializeWithType(JsonParser, DeserializationContext, TypeDeserializer) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
disableTokenCache() - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Disables token caching, forcing the client to use API keys for direct requests.
downloadParseResult(String, String) - Method in interface ai.z.openapi.api.fileparsing.FileParsingApi
Get a file parsing result.

E

Embedding - Class in ai.z.openapi.service.embedding
Represents an embedding returned by the embedding api
Embedding() - Constructor for class ai.z.openapi.service.embedding.Embedding
 
EmbeddingApi - Interface in ai.z.openapi.api.embedding
Embeddings API for text vectorization using GLM models Converts text into high-dimensional vector representations for semantic similarity and search Supports batch processing of multiple text inputs with configurable dimensions Ideal for RAG applications, semantic search, text classification, and similarity matching Features optimized performance for Chinese and multilingual text processing
EmbeddingCreateParams - Class in ai.z.openapi.service.embedding
Creates an embedding vector representing the input text.
EmbeddingCreateParams() - Constructor for class ai.z.openapi.service.embedding.EmbeddingCreateParams
 
EmbeddingResponse - Class in ai.z.openapi.service.embedding
Response wrapper for embedding API calls.
EmbeddingResponse() - Constructor for class ai.z.openapi.service.embedding.EmbeddingResponse
 
EmbeddingResult - Class in ai.z.openapi.service.embedding
An object containing a response from the answer api
EmbeddingResult() - Constructor for class ai.z.openapi.service.embedding.EmbeddingResult
 
embeddings() - Method in class ai.z.openapi.AbstractAiClient
Returns the embedding service for text embeddings.
EmbeddingService - Interface in ai.z.openapi.service.embedding
Embedding service interface
EmbeddingServiceImpl - Class in ai.z.openapi.service.embedding
Embedding service implementation
EmbeddingServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.embedding.EmbeddingServiceImpl
 
enableTokenCache() - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Enables token caching, allowing the client to use access tokens for requests.
equals(Object) - Method in class ai.z.openapi.service.realtime.object.IntOrInfObj
 
equals(Object) - Method in class ai.z.openapi.service.realtime.object.ToolChoiceObj
 
equals(Object) - Method in class ai.z.openapi.service.realtime.object.ToolChoiceObj.ToolObj
 
error - Variable in class ai.z.openapi.service.model.ZAiError
 
ErrorObj - Class in ai.z.openapi.service.realtime.object
Represents an error object containing error details.
ErrorObj() - Constructor for class ai.z.openapi.service.realtime.object.ErrorObj
 
execute(Single<T>) - Static method in class ai.z.openapi.service.AbstractClientBaseService
Executes a Single API call synchronously and handles errors.
executeRequest(TReq, RequestSupplier<Param, Data>, Class<TResp>) - Method in class ai.z.openapi.AbstractAiClient
Executes a synchronous API request and returns the response.
executeRequest(TReq, RequestSupplier<Param, Data>, Class<TResp>) - Method in class ai.z.openapi.service.AbstractClientBaseService
Executes a synchronous API request.

F

File - Class in ai.z.openapi.service.file
A file uploaded to ZAi
File() - Constructor for class ai.z.openapi.service.file.File
 
FileApi - Interface in ai.z.openapi.api.file
File Management API for document and data handling Provides file upload, retrieval, deletion, and content access capabilities Supports various file formats for fine-tuning, knowledge base, and other AI tasks
FileApiResponse - Class in ai.z.openapi.service.file
 
FileApiResponse() - Constructor for class ai.z.openapi.service.file.FileApiResponse
 
fileContent(String) - Method in interface ai.z.openapi.api.file.FileApi
Download file content Streams the actual file content for download or processing
FileDeleted - Class in ai.z.openapi.service.file
Represents the result of a file deletion operation.
FileDeleted() - Constructor for class ai.z.openapi.service.file.FileDeleted
 
FileDelRequest - Class in ai.z.openapi.service.file
 
FileDelRequest() - Constructor for class ai.z.openapi.service.file.FileDelRequest
 
FileDelResponse - Class in ai.z.openapi.service.file
 
FileDelResponse() - Constructor for class ai.z.openapi.service.file.FileDelResponse
 
FileListParams - Class in ai.z.openapi.service.file
Query file list
FileListParams() - Constructor for class ai.z.openapi.service.file.FileListParams
 
fileParsing() - Method in class ai.z.openapi.AbstractAiClient
Returns the file service for file operations.
FileParsingApi - Interface in ai.z.openapi.api.fileparsing
File Parsing API Provides functionality for uploading files for parsing, and retrieving the parsing results.
FileParsingDownloadReq - Class in ai.z.openapi.service.fileparsing
File parsing result download request parameters
FileParsingDownloadReq() - Constructor for class ai.z.openapi.service.fileparsing.FileParsingDownloadReq
 
FileParsingDownloadResp - Class in ai.z.openapi.service.fileparsing
File parsing result response DTO
FileParsingDownloadResp() - Constructor for class ai.z.openapi.service.fileparsing.FileParsingDownloadResp
 
FileParsingDownloadResponse - Class in ai.z.openapi.service.fileparsing
 
FileParsingDownloadResponse() - Constructor for class ai.z.openapi.service.fileparsing.FileParsingDownloadResponse
 
FileParsingResponse - Class in ai.z.openapi.service.fileparsing
 
FileParsingResponse() - Constructor for class ai.z.openapi.service.fileparsing.FileParsingResponse
 
FileParsingService - Interface in ai.z.openapi.service.fileparsing
File parsing service interface
FileParsingServiceImpl - Class in ai.z.openapi.service.fileparsing
File parsing service implementation
FileParsingServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.fileparsing.FileParsingServiceImpl
 
FileParsingUploadReq - Class in ai.z.openapi.service.fileparsing
File parsing task upload request parameters
FileParsingUploadReq() - Constructor for class ai.z.openapi.service.fileparsing.FileParsingUploadReq
 
FileParsingUploadResp - Class in ai.z.openapi.service.fileparsing
File Parsing Task Upload Response DTO Compatible with multiple response structures
FileParsingUploadResp() - Constructor for class ai.z.openapi.service.fileparsing.FileParsingUploadResp
 
files() - Method in class ai.z.openapi.AbstractAiClient
Returns the file service for file operations.
FileSearchResult() - Constructor for class ai.z.openapi.service.realtime.object.OutputItemObj.FileSearchResult
 
FileSearchToolCall() - Constructor for class ai.z.openapi.service.realtime.object.OutputItemObj.FileSearchToolCall
 
FileService - Interface in ai.z.openapi.service.file
File service interface
FileServiceImpl - Class in ai.z.openapi.service.file
File service implementation
FileServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.file.FileServiceImpl
 
FileUploadParams - Class in ai.z.openapi.service.file
Create file upload request
FileUploadParams() - Constructor for class ai.z.openapi.service.file.FileUploadParams
 
FileUrl - Class in ai.z.openapi.service.model
 
FileUrl() - Constructor for class ai.z.openapi.service.model.FileUrl
 
FlowableClientResponse<T> - Interface in ai.z.openapi.core.model
Simplified client response with a Flowable stream where the body type and stream item type are the same.
FlowableRequestSupplier<Param,Data> - Interface in ai.z.openapi.utils
Functional interface for supplying flowable request operations.
fromJsonToClientEvent(String) - Static method in class ai.z.openapi.service.realtime.JasonUtil
Converts JSON string to RealtimeClientEvent object.
fromJsonToServerEvent(String) - Static method in class ai.z.openapi.service.realtime.JasonUtil
Converts JSON string to RealtimeServerEvent object.
FunctionToolCall() - Constructor for class ai.z.openapi.service.realtime.object.OutputItemObj.FunctionToolCall
 

G

get(String) - Method in interface ai.z.openapi.core.cache.ICache
Retrieves cached value by key.
get(String) - Method in class ai.z.openapi.core.cache.LocalCache
 
get() - Method in class ai.z.openapi.service.realtime.OkHttpRealtimeClient.ConnectivityMonitor
 
get(Param) - Method in interface ai.z.openapi.utils.FlowableRequestSupplier
Executes the operation with the given parameters and returns the result.
get(Param) - Method in interface ai.z.openapi.utils.RequestSupplier
Executes an asynchronous operation with the given parameters.
getAlg() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets algorithm with system property and environment variable fallback.
getApiKey() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets API secret key with system property and environment variable fallback.
getAuthToken() - Method in interface ai.z.openapi.service.realtime.OkHttpRealtimeClient.CommunicationProvider
 
getBaseUrl() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets base URL with system property and environment variable fallback.
getConnectionPoolKeepAliveDuration() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets connection pool keep alive duration with system property and environment variable fallback.
getConnectionPoolMaxIdleConnections() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets connection pool max idle connections with system property and environment variable fallback.
getConnectionPoolTimeUnit() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets connection pool time unit (always returns the set value or default).
getConnectTimeout() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets connect timeout with system property and environment variable fallback.
getContent() - Method in class ai.z.openapi.core.response.HttpxBinaryResponseContent
 
getContent() - Method in class ai.z.openapi.service.assistant.message.AssistantTextContentBlock
 
getCustomHeaders() - Method in class ai.z.openapi.core.config.ZaiConfig
Get custom headers
getData() - Method in interface ai.z.openapi.core.model.ClientResponse
 
getData() - Method in class ai.z.openapi.service.model.SSE
 
getDelta() - Method in class ai.z.openapi.service.assistant.AssistantChoice
 
getDeserializer(Class<?>) - Static method in class ai.z.openapi.service.deserialize.assistant.AssistantChoiceDeserializer
 
getEncoding() - Method in class ai.z.openapi.core.response.HttpxBinaryResponseContent
 
getExpireMillis() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets expire millis with system property and environment variable fallback.
getExtraJsonFlattened() - Method in class ai.z.openapi.service.CommonRequest
Expose dynamic properties as top-level fields during serialization.
getFileId() - Method in class ai.z.openapi.service.assistant.AssistantAttachments
 
getFinishReason() - Method in class ai.z.openapi.service.assistant.AssistantChoice
 
getFlowable() - Method in interface ai.z.openapi.core.model.BiFlowableClientResponse
 
getIndex() - Method in class ai.z.openapi.service.assistant.AssistantChoice
 
getInstance() - Static method in class ai.z.openapi.core.cache.LocalCache
Gets singleton instance of LocalCache.
getInstance() - Static method in class ai.z.openapi.service.deserialize.ObjectDeserializer
 
getMetadata() - Method in class ai.z.openapi.service.assistant.AssistantChoice
 
getNullValue(DeserializationContext) - Method in class ai.z.openapi.service.deserialize.assistant.AssistantChoiceDeserializer
 
getParseResult(FileParsingDownloadReq) - Method in interface ai.z.openapi.service.fileparsing.FileParsingService
Retrieves the result of a parsing task.
getParseResult(FileParsingDownloadReq) - Method in class ai.z.openapi.service.fileparsing.FileParsingServiceImpl
 
getReadTimeout() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets read timeout with system property and environment variable fallback.
getRequestTimeOut() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets request timeout with system property and environment variable fallback.
getRole() - Method in class ai.z.openapi.service.assistant.message.AssistantTextContentBlock
 
getRole() - Method in class ai.z.openapi.service.assistant.message.AssistantToolsDeltaBlock
 
getSource_channel() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets source channel with system property.
getText() - Method in class ai.z.openapi.core.response.HttpxBinaryResponseContent
 
getTimeOutTimeUnit() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets timeout time unit (always returns the set value or null).
getToken(ZaiConfig) - Method in class ai.z.openapi.core.token.TokenManager
Gets valid JWT token, either from cache or generates new one.
getTokenManagerV4() - Static method in class ai.z.openapi.core.token.GlobalTokenManager
Gets the global TokenManager instance.
getToolCalls() - Method in class ai.z.openapi.service.assistant.message.AssistantToolsDeltaBlock
 
getWebSocketUrl() - Method in interface ai.z.openapi.service.realtime.OkHttpRealtimeClient.CommunicationProvider
 
getWriteTimeout() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets write timeout with system property and environment variable fallback.
GlobalTokenManager - Class in ai.z.openapi.core.token
Global token manager providing singleton access to TokenManager instance.
GlobalTokenManager() - Constructor for class ai.z.openapi.core.token.GlobalTokenManager
 

H

handwriting() - Method in class ai.z.openapi.AbstractAiClient
 
HandwritingOcrApi - Interface in ai.z.openapi.api.ocr
OCR Handwriting Recognition API Provides functionality to upload an image for handwriting recognition, and retrieve the parsed result.
HandwritingOcrResponse - Class in ai.z.openapi.service.ocr
 
HandwritingOcrResponse() - Constructor for class ai.z.openapi.service.ocr.HandwritingOcrResponse
 
HandwritingOcrResult - Class in ai.z.openapi.service.ocr
 
HandwritingOcrResult() - Constructor for class ai.z.openapi.service.ocr.HandwritingOcrResult
 
HandwritingOcrService - Interface in ai.z.openapi.service.ocr
 
HandwritingOcrServiceImpl - Class in ai.z.openapi.service.ocr
OCR handwriting recognition service implementation
HandwritingOcrServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.ocr.HandwritingOcrServiceImpl
 
HandwritingOcrUploadReq - Class in ai.z.openapi.service.ocr
Handwriting OCR upload request object
HandwritingOcrUploadReq() - Constructor for class ai.z.openapi.service.ocr.HandwritingOcrUploadReq
 
hashCode() - Method in class ai.z.openapi.service.realtime.object.IntOrInfObj
 
hashCode() - Method in class ai.z.openapi.service.realtime.object.ToolChoiceObj
 
hashCode() - Method in class ai.z.openapi.service.realtime.object.ToolChoiceObj.ToolObj
 
httpClient - Variable in class ai.z.openapi.AbstractAiClient
HTTP client for making network requests
HttpRequestInterceptor - Class in ai.z.openapi.core.token
OkHttp Interceptor that adds an authorization token header
HttpRequestInterceptor(ZaiConfig) - Constructor for class ai.z.openapi.core.token.HttpRequestInterceptor
 
HttpxBinaryResponseContent - Class in ai.z.openapi.core.response
 
HttpxBinaryResponseContent(Response<ResponseBody>) - Constructor for class ai.z.openapi.core.response.HttpxBinaryResponseContent
 

I

ICache - Interface in ai.z.openapi.core.cache
Token cache interface with default LocalCache implementation.
Image - Class in ai.z.openapi.service.image
An object containing either a URL or a base 64 encoded image.
Image() - Constructor for class ai.z.openapi.service.image.Image
 
image(String) - Static method in class ai.z.openapi.service.moderations.ModerationInput
Helper method to create image input
ImageResponse - Class in ai.z.openapi.service.image
Response wrapper for image generation API calls.
ImageResponse() - Constructor for class ai.z.openapi.service.image.ImageResponse
 
ImageResult - Class in ai.z.openapi.service.image
An object with a list of image results.
ImageResult() - Constructor for class ai.z.openapi.service.image.ImageResult
 
images() - Method in class ai.z.openapi.AbstractAiClient
Returns the image service for image generation and processing.
ImagesApi - Interface in ai.z.openapi.api.images
Images API for AI-powered image generation Powered by CogView-3-Plus models using advanced Transformer architecture Delivers high-quality text-to-image generation with performance comparable to industry leaders Features optimized diffusion model with enhanced noise planning for superior image quality Supports various image styles, sizes, and generation parameters with Chinese text rendering capabilities
ImageService - Interface in ai.z.openapi.service.image
Image service interface
ImageServiceImpl - Class in ai.z.openapi.service.image
Image service implementation
ImageServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.image.ImageServiceImpl
 
ImageUrl - Class in ai.z.openapi.service.model
 
ImageUrl() - Constructor for class ai.z.openapi.service.model.ImageUrl
 
inf() - Static method in class ai.z.openapi.service.realtime.object.IntOrInfObj
Creates an IntOrInfObj representing infinity.
InputAudio - Class in ai.z.openapi.service.model
 
InputAudio() - Constructor for class ai.z.openapi.service.model.InputAudio
 
InputAudioBufferAppend - Class in ai.z.openapi.service.realtime.client
Client event for appending audio data to the input audio buffer.
InputAudioBufferAppend() - Constructor for class ai.z.openapi.service.realtime.client.InputAudioBufferAppend
 
InputAudioBufferClear - Class in ai.z.openapi.service.realtime.client
Client event for clearing the input audio buffer.
InputAudioBufferClear() - Constructor for class ai.z.openapi.service.realtime.client.InputAudioBufferClear
 
InputAudioBufferCleared - Class in ai.z.openapi.service.realtime.server
 
InputAudioBufferCleared() - Constructor for class ai.z.openapi.service.realtime.server.InputAudioBufferCleared
 
InputAudioBufferCommit - Class in ai.z.openapi.service.realtime.client
 
InputAudioBufferCommit() - Constructor for class ai.z.openapi.service.realtime.client.InputAudioBufferCommit
 
InputAudioBufferCommitted - Class in ai.z.openapi.service.realtime.server
 
InputAudioBufferCommitted() - Constructor for class ai.z.openapi.service.realtime.server.InputAudioBufferCommitted
 
InputAudioBufferPreCommit - Class in ai.z.openapi.service.realtime.client
 
InputAudioBufferPreCommit() - Constructor for class ai.z.openapi.service.realtime.client.InputAudioBufferPreCommit
 
InputAudioBufferSpeechStarted - Class in ai.z.openapi.service.realtime.server
 
InputAudioBufferSpeechStarted() - Constructor for class ai.z.openapi.service.realtime.server.InputAudioBufferSpeechStarted
 
InputAudioBufferSpeechStopped - Class in ai.z.openapi.service.realtime.server
 
InputAudioBufferSpeechStopped() - Constructor for class ai.z.openapi.service.realtime.server.InputAudioBufferSpeechStopped
 
InputAudioTranscriptionObj - Class in ai.z.openapi.service.realtime.object
 
InputAudioTranscriptionObj() - Constructor for class ai.z.openapi.service.realtime.object.InputAudioTranscriptionObj
 
InputSchema() - Constructor for class ai.z.openapi.service.model.MCPToolDefinition.InputSchema
 
InputVideoBufferAppend - Class in ai.z.openapi.service.realtime.client
 
InputVideoBufferAppend() - Constructor for class ai.z.openapi.service.realtime.client.InputVideoBufferAppend
 
intercept(Interceptor.Chain) - Method in class ai.z.openapi.core.token.HttpRequestInterceptor
 
IntOrInfObj - Class in ai.z.openapi.service.realtime.object
Represents a value that can be either an integer or "inf" (infinity).
IntOrInfObj.ConfigIntOrInfDeserializer - Class in ai.z.openapi.service.realtime.object
 
IntOrInfObj.ConfigIntOrInfSerializer - Class in ai.z.openapi.service.realtime.object
 
isCachable() - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
isDisableTokenCache() - Method in class ai.z.openapi.core.config.ZaiConfig
Gets disable token cache flag with system property and environment variable fallback.
isDone() - Method in class ai.z.openapi.service.model.SSE
 
isEmpty(String) - Static method in class ai.z.openapi.utils.StringUtils
Checks if a string is empty or null.
isFlagged() - Method in class ai.z.openapi.service.moderations.ModerationResult.ModerationItem
Check if the content is flagged as unsafe.
isNotEmpty(String) - Static method in class ai.z.openapi.utils.StringUtils
Checks if a string is not empty and not null.
isSafe() - Method in class ai.z.openapi.service.moderations.ModerationResult.ModerationItem
Check if the content is safe.
ItemContent() - Constructor for class ai.z.openapi.service.realtime.object.ItemObj.ItemContent
 
ItemObj - Class in ai.z.openapi.service.realtime.object
Represents a conversation item object containing message content.
ItemObj() - Constructor for class ai.z.openapi.service.realtime.object.ItemObj
 
ItemObj.ItemContent - Class in ai.z.openapi.service.realtime.object
Represents the content of an item, which can include text, audio, or transcript data.
iterBytes(int) - Method in class ai.z.openapi.core.response.HttpxBinaryResponseContent
 
iterText(int) - Method in class ai.z.openapi.core.response.HttpxBinaryResponseContent
 

J

JasonUtil - Class in ai.z.openapi.service.realtime
Utility class for JSON serialization and deserialization of realtime events.
JasonUtil() - Constructor for class ai.z.openapi.service.realtime.JasonUtil
 
JsonTypeField - Annotation Type in ai.z.openapi.service.deserialize
 
JsonTypeMapping - Annotation Type in ai.z.openapi.service.deserialize
 

L

listBatches(QueryBatchRequest) - Method in interface ai.z.openapi.service.batches.BatchService
Lists all batches.
listBatches(QueryBatchRequest) - Method in class ai.z.openapi.service.batches.BatchServiceImpl
 
listFiles(FileListParams) - Method in interface ai.z.openapi.service.file.FileService
Lists all files.
listFiles(FileListParams) - Method in class ai.z.openapi.service.file.FileServiceImpl
 
listVoice(VoiceListRequest) - Method in interface ai.z.openapi.service.voiceclone.VoiceCloneService
Retrieves a list of available voice clones with optional filtering.
listVoice(VoiceListRequest) - Method in class ai.z.openapi.service.voiceclone.VoiceCloneServiceImpl
 
listVoices(String, String) - Method in interface ai.z.openapi.api.voiceclone.VoiceCloneApi
Retrieves a list of available voice clones with optional filtering.
listVoices(String, String, String) - Method in interface ai.z.openapi.api.voiceclone.VoiceCloneApi
Retrieves a list of available voice clones with optional filtering and Request-Id header.
LocalCache - Class in ai.z.openapi.core.cache
Thread-safe local cache implementation using ConcurrentHashMap.
Location - Class in ai.z.openapi.service.ocr
 
Location() - Constructor for class ai.z.openapi.service.ocr.Location
 
logger - Static variable in class ai.z.openapi.service.AbstractClientBaseService
 

M

mapper - Static variable in class ai.z.openapi.service.AbstractClientBaseService
 
mapper - Static variable in class ai.z.openapi.service.audio.AudioServiceImpl
 
mapper - Static variable in class ai.z.openapi.service.voiceclone.VoiceCloneServiceImpl
 
MCPTool - Class in ai.z.openapi.service.model
 
MCPTool() - Constructor for class ai.z.openapi.service.model.MCPTool
 
MCPToolCall - Class in ai.z.openapi.service.model
 
MCPToolCall() - Constructor for class ai.z.openapi.service.model.MCPToolCall
 
MCPToolDefinition - Class in ai.z.openapi.service.model
 
MCPToolDefinition() - Constructor for class ai.z.openapi.service.model.MCPToolDefinition
 
MCPToolDefinition.InputSchema - Class in ai.z.openapi.service.model
 
McpToolTransportType - Enum in ai.z.openapi.service.model
 
MediaUrl() - Constructor for class ai.z.openapi.service.moderations.ModerationInput.MediaUrl
 
MessageContent - Class in ai.z.openapi.service.model
 
MessageContent() - Constructor for class ai.z.openapi.service.model.MessageContent
 
MessageDeserializeFactory - Class in ai.z.openapi.service.deserialize
 
MessageDeserializeFactory() - Constructor for class ai.z.openapi.service.deserialize.MessageDeserializeFactory
 
ModelCharGLM3 - Static variable in class ai.z.openapi.core.Constants
CharGLM-3 model - Anthropomorphic character interaction model.
ModelChatGLM36B - Static variable in class ai.z.openapi.core.Constants
ChatGLM3 6B model - Open-source base model with 6 billion parameters.
ModelChatGLM4 - Static variable in class ai.z.openapi.core.Constants
GLM-4 standard model - Balanced performance and capability.
ModelChatGLM40520 - Static variable in class ai.z.openapi.core.Constants
GLM-4 model version 0520 - Specific version release.
ModelChatGLM41VThinkingFlash - Static variable in class ai.z.openapi.core.Constants
GLM-4.1V Thinking Flash model - Visual reasoning model with thinking capabilities.
ModelChatGLM49B - Static variable in class ai.z.openapi.core.Constants
GLM-4 9B model - Open-source model with 9 billion parameters.
ModelChatGLM4_5 - Static variable in class ai.z.openapi.core.Constants
GLM-4.5 model code
ModelChatGLM4_5_AIR - Static variable in class ai.z.openapi.core.Constants
GLM-4.5-Air model code
ModelChatGLM4_5_AIRX - Static variable in class ai.z.openapi.core.Constants
GLM-4.5-AirX model code
ModelChatGLM4_5_X - Static variable in class ai.z.openapi.core.Constants
GLM-4.5-X model code
ModelChatGLM4_5V - Static variable in class ai.z.openapi.core.Constants
GLM-4.5V model code
ModelChatGLM4Air - Static variable in class ai.z.openapi.core.Constants
GLM-4 Air model - Lightweight version optimized for speed.
ModelChatGLM4Air250414 - Static variable in class ai.z.openapi.core.Constants
GLM-4 Air 250414 model - Enhanced with reinforcement learning optimization.
ModelChatGLM4Airx - Static variable in class ai.z.openapi.core.Constants
GLM-4 AirX model - Extended Air model with additional features.
ModelChatGLM4AllTools - Static variable in class ai.z.openapi.core.Constants
GLM-4 AllTools model - Agent model for complex task planning and execution.
ModelChatGLM4Assistant - Static variable in class ai.z.openapi.core.Constants
GLM-4 Assistant model - AI assistant for various business scenarios.
ModelChatGLM4Flash - Static variable in class ai.z.openapi.core.Constants
GLM-4 Flash model - Ultra-fast response model.
ModelChatGLM4Flash250414 - Static variable in class ai.z.openapi.core.Constants
GLM-4 Flash 250414 model - Latest free language model.
ModelChatGLM4FlashX - Static variable in class ai.z.openapi.core.Constants
GLM-4 FlashX model - Enhanced Flash version with ultra-fast inference speed.
ModelChatGLM4Plus - Static variable in class ai.z.openapi.core.Constants
GLM-4 Plus model - Enhanced version with improved capabilities.
ModelChatGLM4ThinkingFlashX - Static variable in class ai.z.openapi.core.Constants
GLM-4.1V-Thinking-FlashX Variable resolution video and image understanding.
ModelChatGLM4V - Static variable in class ai.z.openapi.core.Constants
GLM-4V standard model - Standard vision model for image analysis.
ModelChatGLM4VFlash - Static variable in class ai.z.openapi.core.Constants
GLM-4V Flash model - Free and powerful image understanding model.
ModelChatGLM4Voice - Static variable in class ai.z.openapi.core.Constants
GLM-4 Voice model - Specialized for voice-related tasks.
ModelChatGLM4VPlus - Static variable in class ai.z.openapi.core.Constants
GLM-4V Plus model - Enhanced vision model for image understanding.
ModelChatGLM4VPlus0111 - Static variable in class ai.z.openapi.core.Constants
GLM-4V Plus 0111 model - Variable resolution video and image understanding.
ModelChatGLMLong - Static variable in class ai.z.openapi.core.Constants
GLM-4 Long model - Optimized for long-context conversations.
ModelChatGLMZ1Air - Static variable in class ai.z.openapi.core.Constants
GLM-Z1 Air model - Optimized for mathematical and logical reasoning.
ModelChatGLMZ1AirX - Static variable in class ai.z.openapi.core.Constants
GLM-Z1 AirX model - Fastest domestic inference model with 200 tokens/s.
ModelChatGLMZ1Flash - Static variable in class ai.z.openapi.core.Constants
GLM-Z1 Flash model - Completely free reasoning model service.
ModelCodeGeeX4 - Static variable in class ai.z.openapi.core.Constants
CodeGeeX-4 model - Code generation and completion model.
ModelCogVideoX - Static variable in class ai.z.openapi.core.Constants
CogVideoX model - Video generation from text or images.
ModelCogVideoX2 - Static variable in class ai.z.openapi.core.Constants
CogVideoX-2 model - New video generation model.
ModelCogVideoX3 - Static variable in class ai.z.openapi.core.Constants
CogVideoX-3 model
ModelCogVideoXFlash - Static variable in class ai.z.openapi.core.Constants
CogVideoX Flash model - Free video generation model.
ModelCogView3 - Static variable in class ai.z.openapi.core.Constants
CogView-3 standard model - Standard image generation model.
ModelCogView3Flash - Static variable in class ai.z.openapi.core.Constants
CogView-3 Flash model - Free image generation model.
ModelCogView3Plus - Static variable in class ai.z.openapi.core.Constants
CogView-3 Plus model - Enhanced image generation capabilities.
ModelCogView4 - Static variable in class ai.z.openapi.core.Constants
CogView-4 model - Advanced image generation for precise and personalized AI image expression.
ModelCogView4250304 - Static variable in class ai.z.openapi.core.Constants
CogView-4 250304 model - Advanced image generation with text capabilities.
ModelData - Class in ai.z.openapi.service.model
 
ModelData() - Constructor for class ai.z.openapi.service.model.ModelData
 
ModelEmbedding2 - Static variable in class ai.z.openapi.core.Constants
Embedding model version 2 - Text embedding generation.
ModelEmbedding3 - Static variable in class ai.z.openapi.core.Constants
Embedding model version 3 - Latest text embedding generation.
ModelGLM4_6 - Static variable in class ai.z.openapi.core.Constants
GLM-4.6 model code
ModelGLM4_6_AIR - Static variable in class ai.z.openapi.core.Constants
GLM-4.6-air model code
ModelGLM4_6_FLASH - Static variable in class ai.z.openapi.core.Constants
GLM-4.6-flash model code
ModelGLM4_6V - Static variable in class ai.z.openapi.core.Constants
GLM-4.6v model code
ModelGLM4_6V_FLASH - Static variable in class ai.z.openapi.core.Constants
GLM-4.6v flash model code
ModelGLMASR - Static variable in class ai.z.openapi.core.Constants
GLM-ASR model - Context-aware audio transcription model that converts audio to fluent and readable text.
ModelGLMRealtimeAir - Static variable in class ai.z.openapi.core.Constants
GLM-Realtime Air model - Real-time video call model with cross-modal reasoning capabilities across text, audio, and video.
ModelGLMRealtimeFlash - Static variable in class ai.z.openapi.core.Constants
GLM-Realtime Flash model - Fast real-time video call model with cross-modal reasoning capabilities.
ModelRerank - Static variable in class ai.z.openapi.core.Constants
Rerank model - Text reordering and relevance scoring.
ModelTTS - Static variable in class ai.z.openapi.core.Constants
CogTTS model - Text-to-Speech synthesis model.
ModelVidu2Image - Static variable in class ai.z.openapi.core.Constants
Vidu 2 Image model - Enhanced video generation from first frame image and text description.
ModelVidu2Reference - Static variable in class ai.z.openapi.core.Constants
Vidu 2 Reference model - Video generation with reference images of people, objects, etc.
ModelVidu2StartEnd - Static variable in class ai.z.openapi.core.Constants
Vidu 2 Start-End model - Enhanced video generation from first and last frame images.
ModelViduQ1Image - Static variable in class ai.z.openapi.core.Constants
Vidu Q1 Image model - Video generation from first frame image and text description.
ModelViduQ1StartEnd - Static variable in class ai.z.openapi.core.Constants
Vidu Q1 Start-End model - Video generation from first and last frame images.
ModelViduQ1Text - Static variable in class ai.z.openapi.core.Constants
Vidu Q1 Text model - High-performance video generation from text input.
ModerationApi - Interface in ai.z.openapi.api.moderations
Moderation API for content safety detection Provides content moderation capabilities for text, image, audio, and video formats Accurately identifies risky content including adult content, violence, illegal content, etc.
ModerationCreateParams - Class in ai.z.openapi.service.moderations
Parameters for creating a moderation request to check content safety.
ModerationCreateParams() - Constructor for class ai.z.openapi.service.moderations.ModerationCreateParams
 
ModerationInput - Class in ai.z.openapi.service.moderations
Base class for moderation input content
ModerationInput() - Constructor for class ai.z.openapi.service.moderations.ModerationInput
 
ModerationInput.MediaUrl - Class in ai.z.openapi.service.moderations
Media URL configuration
ModerationItem() - Constructor for class ai.z.openapi.service.moderations.ModerationResult.ModerationItem
 
ModerationResponse - Class in ai.z.openapi.service.moderations
Response wrapper for moderation API calls.
ModerationResponse() - Constructor for class ai.z.openapi.service.moderations.ModerationResponse
 
ModerationResult - Class in ai.z.openapi.service.moderations
Result data from the moderation API containing safety analysis results.
ModerationResult() - Constructor for class ai.z.openapi.service.moderations.ModerationResult
 
ModerationResult.ModerationItem - Class in ai.z.openapi.service.moderations
Individual moderation result for a single input item.
moderations() - Method in class ai.z.openapi.AbstractAiClient
Returns the moderation service for content safety detection.
ModerationService - Interface in ai.z.openapi.service.moderations
Moderation service for content safety detection Provides content moderation capabilities for text, image, audio, and video formats Accurately identifies risky content including adult content, violence, illegal content, etc.
ModerationServiceImpl - Class in ai.z.openapi.service.moderations
Implementation of ModerationService
ModerationServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.moderations.ModerationServiceImpl
 
ModerationText() - Constructor for class ai.z.openapi.service.moderations.ModerationUsage.ModerationText
 
ModerationUsage - Class in ai.z.openapi.service.moderations
Usage statistics for Moderation API calls.
ModerationUsage() - Constructor for class ai.z.openapi.service.moderations.ModerationUsage
 
ModerationUsage.ModerationText - Class in ai.z.openapi.service.moderations
 
msg - Variable in exception ai.z.openapi.service.model.ZAiHttpException
ZAI error message

N

networkConfig(int, int, int, int, TimeUnit) - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Configures network request timeout settings.

O

ObjectDeserializer - Class in ai.z.openapi.service.deserialize
 
of(int) - Static method in class ai.z.openapi.service.realtime.object.IntOrInfObj
Creates an IntOrInfObj with a specific integer value.
of(String) - Static method in class ai.z.openapi.service.realtime.object.ToolChoiceObj
Creates a ToolChoiceObj with string mode.
of(ToolChoiceObj.ToolObj) - Static method in class ai.z.openapi.service.realtime.object.ToolChoiceObj
Creates a ToolChoiceObj with object mode for forcing a specific tool.
ofImageUrl(String) - Static method in class ai.z.openapi.service.agents.AgentContent
 
ofObject(Object) - Static method in class ai.z.openapi.service.agents.AgentContent
 
ofText(String) - Static method in class ai.z.openapi.service.agents.AgentContent
 
ofVideoUrl(String) - Static method in class ai.z.openapi.service.agents.AgentContent
 
ofZAI() - Method in class ai.z.openapi.ZaiClient.Builder
Use the Z AI base url
ofZAI() - Method in class ai.z.openapi.ZhipuAiClient.Builder
Use the Z AI base url
ofZHIPU() - Method in class ai.z.openapi.ZaiClient.Builder
Use the ZHIPU AI base url
ofZHIPU(String) - Static method in class ai.z.openapi.ZaiClient
Creates a ZaiClient configured for ZHIPU AI platform with the specified API key.
ofZHIPU() - Static method in class ai.z.openapi.ZaiClient
Creates a ZaiClient configured for ZHIPU AI platform with the specified API key.
ofZHIPU() - Method in class ai.z.openapi.ZhipuAiClient.Builder
Use the ZHIPU AI base url
OkHttpRealtimeClient - Class in ai.z.openapi.service.realtime
 
OkHttpRealtimeClient(OkHttpRealtimeClient.CommunicationProvider, Consumer<RealtimeServerEvent>, OkHttpClient) - Constructor for class ai.z.openapi.service.realtime.OkHttpRealtimeClient
 
OkHttpRealtimeClient(OkHttpRealtimeClient.CommunicationProvider, Consumer<RealtimeServerEvent>, OkHttpClient, boolean) - Constructor for class ai.z.openapi.service.realtime.OkHttpRealtimeClient
 
OkHttpRealtimeClient(OkHttpRealtimeClient.CommunicationProvider, Consumer<RealtimeServerEvent>) - Constructor for class ai.z.openapi.service.realtime.OkHttpRealtimeClient
 
OkHttpRealtimeClient.CommunicationProvider - Interface in ai.z.openapi.service.realtime
 
OkHttpRealtimeClient.ConnectivityMonitor - Class in ai.z.openapi.service.realtime
 
OkHttpRealtimeClient.ConnectivityState - Enum in ai.z.openapi.service.realtime
 
OkHttps - Class in ai.z.openapi.utils
Utility class for creating and configuring OkHttpClient instances.
onFailure(Call<ResponseBody>, Throwable) - Method in class ai.z.openapi.service.model.ResponseBodyCallback
 
onResponse(Call<ResponseBody>, Response<ResponseBody>) - Method in class ai.z.openapi.service.model.ResponseBodyCallback
 
OutputItemObj - Class in ai.z.openapi.service.realtime.object
 
OutputItemObj() - Constructor for class ai.z.openapi.service.realtime.object.OutputItemObj
 
OutputItemObj.ComputerToolCall - Class in ai.z.openapi.service.realtime.object
 
OutputItemObj.FileSearchResult - Class in ai.z.openapi.service.realtime.object
 
OutputItemObj.FileSearchToolCall - Class in ai.z.openapi.service.realtime.object
 
OutputItemObj.FunctionToolCall - Class in ai.z.openapi.service.realtime.object
 
OutputItemObj.OutputMessage - Class in ai.z.openapi.service.realtime.object
 
OutputItemObj.PendingSafetyCheck - Class in ai.z.openapi.service.realtime.object
 
OutputItemObj.Reasoning - Class in ai.z.openapi.service.realtime.object
 
OutputItemObj.WebSearchToolCall - Class in ai.z.openapi.service.realtime.object
 
OutputMessage() - Constructor for class ai.z.openapi.service.realtime.object.OutputItemObj.OutputMessage
 

P

ParameterObj - Class in ai.z.openapi.service.realtime.object
Represents the parameter schema for a function tool.
ParameterObj() - Constructor for class ai.z.openapi.service.realtime.object.ParameterObj
 
ParameterObj.PropertyItem - Class in ai.z.openapi.service.realtime.object
Represents a single property definition in the parameter schema.
PendingSafetyCheck() - Constructor for class ai.z.openapi.service.realtime.object.OutputItemObj.PendingSafetyCheck
 
Probability - Class in ai.z.openapi.service.ocr
 
Probability() - Constructor for class ai.z.openapi.service.ocr.Probability
 
PromptTokensDetails - Class in ai.z.openapi.service.model
 
PromptTokensDetails() - Constructor for class ai.z.openapi.service.model.PromptTokensDetails
 
PropertyItem() - Constructor for class ai.z.openapi.service.realtime.object.ParameterObj.PropertyItem
 

Q

queryAgentsAsyncResult(AgentAsyncResultRetrieveParams) - Method in interface ai.z.openapi.api.agents.AgentsApi
Query the result of an asynchronous agent execution Retrieves the agent execution result using the task parameters for long-running tasks Useful for complex multi-tool operations that require extended processing time
queryAsyncResult(String) - Method in interface ai.z.openapi.api.chat.ChatApi
Query the result of an asynchronous chat completion task Retrieves the completion result or current status using the task ID from async request Provides detailed progress information for long-running tasks and complex reasoning operations Supports polling-based result retrieval with comprehensive status reporting
QueryBatchRequest - Class in ai.z.openapi.service.file
 
QueryBatchRequest() - Constructor for class ai.z.openapi.service.file.QueryBatchRequest
 
QueryBatchResponse - Class in ai.z.openapi.service.batches
 
QueryBatchResponse() - Constructor for class ai.z.openapi.service.batches.QueryBatchResponse
 
queryConversationUsage(AssistantConversationParameters) - Method in interface ai.z.openapi.api.assistant.AssistantApi
Query conversation usage statistics Retrieves usage metrics and conversation history for assistant interactions
queryConversationUsage(AssistantConversationParameters) - Method in interface ai.z.openapi.service.assistant.AssistantService
Queries conversation usage information.
queryConversationUsage(AssistantConversationParameters) - Method in class ai.z.openapi.service.assistant.AssistantServiceImpl
 
QueryFileApiResponse - Class in ai.z.openapi.service.file
 
QueryFileApiResponse() - Constructor for class ai.z.openapi.service.file.QueryFileApiResponse
 
queryFileList(String, String, String, Integer) - Method in interface ai.z.openapi.api.file.FileApi
Query and list files with filtering options Retrieves a paginated list of files with optional filtering by purpose and ordering
QueryFileResult - Class in ai.z.openapi.service.file
 
QueryFileResult() - Constructor for class ai.z.openapi.service.file.QueryFileResult
 
QueryModelResultResponse - Class in ai.z.openapi.service.model
 
QueryModelResultResponse() - Constructor for class ai.z.openapi.service.model.QueryModelResultResponse
 
querySupport(AssistantQuerySupportParams) - Method in interface ai.z.openapi.api.assistant.AssistantApi
Query assistant support capabilities Retrieves information about available assistant features and supported operations
querySupport(AssistantQuerySupportParams) - Method in interface ai.z.openapi.service.assistant.AssistantService
Queries assistant support status.
querySupport(AssistantQuerySupportParams) - Method in class ai.z.openapi.service.assistant.AssistantServiceImpl
 

R

RateLimitObj - Class in ai.z.openapi.service.realtime.object
 
RateLimitObj() - Constructor for class ai.z.openapi.service.realtime.object.RateLimitObj
 
RateLimitsUpdated - Class in ai.z.openapi.service.realtime.server
Server event indicating that rate limits have been updated.
RateLimitsUpdated() - Constructor for class ai.z.openapi.service.realtime.server.RateLimitsUpdated
 
reader(WebReaderRequest) - Method in interface ai.z.openapi.api.web_reader.WebReaderApi
Read and parse content from a given URL.
ReaderData() - Constructor for class ai.z.openapi.service.web_reader.WebReaderResult.ReaderData
 
RealtimeClientEvent - Class in ai.z.openapi.service.realtime
Base class for all realtime client events sent to the server.
RealtimeClientEvent() - Constructor for class ai.z.openapi.service.realtime.RealtimeClientEvent
 
RealtimeError - Class in ai.z.openapi.service.realtime.server
Server event indicating that an error has occurred.
RealtimeError() - Constructor for class ai.z.openapi.service.realtime.server.RealtimeError
 
RealtimeHeartBeat - Class in ai.z.openapi.service.realtime.server
 
RealtimeHeartBeat() - Constructor for class ai.z.openapi.service.realtime.server.RealtimeHeartBeat
 
RealtimeServerEvent - Class in ai.z.openapi.service.realtime
Base class for all realtime server events received from the server.
RealtimeServerEvent() - Constructor for class ai.z.openapi.service.realtime.RealtimeServerEvent
 
Reasoning() - Constructor for class ai.z.openapi.service.realtime.object.OutputItemObj.Reasoning
 
recognize(MultipartBody) - Method in interface ai.z.openapi.api.ocr.HandwritingOcrApi
Executes handwriting recognition synchronously.
recognize(HandwritingOcrUploadReq) - Method in interface ai.z.openapi.service.ocr.HandwritingOcrService
Executes a synchronous handwriting recognition operation.
recognize(HandwritingOcrUploadReq) - Method in class ai.z.openapi.service.ocr.HandwritingOcrServiceImpl
 
RequestSupplier<Param,Data> - Interface in ai.z.openapi.utils
Functional interface for supplying single request operations using RxJava.
ResponseAudioDelta - Class in ai.z.openapi.service.realtime.server
 
ResponseAudioDelta() - Constructor for class ai.z.openapi.service.realtime.server.ResponseAudioDelta
 
ResponseAudioDone - Class in ai.z.openapi.service.realtime.server
Server event indicating that model-generated audio is complete.
ResponseAudioDone() - Constructor for class ai.z.openapi.service.realtime.server.ResponseAudioDone
 
ResponseAudioTranscriptDelta - Class in ai.z.openapi.service.realtime.server
 
ResponseAudioTranscriptDelta() - Constructor for class ai.z.openapi.service.realtime.server.ResponseAudioTranscriptDelta
 
ResponseAudioTranscriptDone - Class in ai.z.openapi.service.realtime.server
 
ResponseAudioTranscriptDone() - Constructor for class ai.z.openapi.service.realtime.server.ResponseAudioTranscriptDone
 
ResponseBodyCallback - Class in ai.z.openapi.service.model
Callback to parse Server Sent Events (SSE) from raw InputStream and emit the events with io.reactivex.FlowableEmitter to allow streaming of SSE.
ResponseBodyCallback(FlowableEmitter<SSE>, boolean) - Constructor for class ai.z.openapi.service.model.ResponseBodyCallback
 
ResponseCancel - Class in ai.z.openapi.service.realtime.client
Client event for canceling an ongoing response generation.
ResponseCancel() - Constructor for class ai.z.openapi.service.realtime.client.ResponseCancel
 
ResponseContentPartAdded - Class in ai.z.openapi.service.realtime.server
 
ResponseContentPartAdded() - Constructor for class ai.z.openapi.service.realtime.server.ResponseContentPartAdded
 
ResponseContentPartDone - Class in ai.z.openapi.service.realtime.server
 
ResponseContentPartDone() - Constructor for class ai.z.openapi.service.realtime.server.ResponseContentPartDone
 
ResponseContentPartObj - Class in ai.z.openapi.service.realtime.object
Represents a content part in a response from the realtime API.
ResponseContentPartObj() - Constructor for class ai.z.openapi.service.realtime.object.ResponseContentPartObj
 
ResponseCreate - Class in ai.z.openapi.service.realtime.client
Client event to trigger the server to create a response through model inference.
ResponseCreate() - Constructor for class ai.z.openapi.service.realtime.client.ResponseCreate
 
ResponseCreated - Class in ai.z.openapi.service.realtime.server
Server event indicating that a new response has been created.
ResponseCreated() - Constructor for class ai.z.openapi.service.realtime.server.ResponseCreated
 
ResponseDone - Class in ai.z.openapi.service.realtime.server
Server event indicating that response generation is complete.
ResponseDone() - Constructor for class ai.z.openapi.service.realtime.server.ResponseDone
 
ResponseFormat - Class in ai.z.openapi.service.model
 
ResponseFormat() - Constructor for class ai.z.openapi.service.model.ResponseFormat
 
ResponseFormatType - Enum in ai.z.openapi.service.model
 
ResponseFunctionCallArgumentsDelta - Class in ai.z.openapi.service.realtime.server
 
ResponseFunctionCallArgumentsDelta() - Constructor for class ai.z.openapi.service.realtime.server.ResponseFunctionCallArgumentsDelta
 
ResponseFunctionCallArgumentsDone - Class in ai.z.openapi.service.realtime.server
Server event indicating that model-generated function call arguments are complete.
ResponseFunctionCallArgumentsDone() - Constructor for class ai.z.openapi.service.realtime.server.ResponseFunctionCallArgumentsDone
 
ResponseObj - Class in ai.z.openapi.service.realtime.object
Represents a response configuration object for realtime API responses.
ResponseObj() - Constructor for class ai.z.openapi.service.realtime.object.ResponseObj
 
ResponseOutputItemAdded - Class in ai.z.openapi.service.realtime.server
 
ResponseOutputItemAdded() - Constructor for class ai.z.openapi.service.realtime.server.ResponseOutputItemAdded
 
ResponseOutputItemDone - Class in ai.z.openapi.service.realtime.server
 
ResponseOutputItemDone() - Constructor for class ai.z.openapi.service.realtime.server.ResponseOutputItemDone
 
ResponseTextDelta - Class in ai.z.openapi.service.realtime.server
 
ResponseTextDelta() - Constructor for class ai.z.openapi.service.realtime.server.ResponseTextDelta
 
ResponseTextDone - Class in ai.z.openapi.service.realtime.server
 
ResponseTextDone() - Constructor for class ai.z.openapi.service.realtime.server.ResponseTextDone
 
Retrieval - Class in ai.z.openapi.service.model
 
Retrieval() - Constructor for class ai.z.openapi.service.model.Retrieval
 
retrieveAgentAsyncResult(AgentAsyncResultRetrieveParams) - Method in interface ai.z.openapi.service.agents.AgentService
Retrieves the result of an asynchronous agent operation.
retrieveAgentAsyncResult(AgentAsyncResultRetrieveParams) - Method in class ai.z.openapi.service.agents.AgentServiceImpl
 
retrieveAsyncResult(AsyncResultRetrieveParams) - Method in interface ai.z.openapi.service.chat.ChatService
Retrieves the result of an asynchronous model operation.
retrieveAsyncResult(AsyncResultRetrieveParams) - Method in class ai.z.openapi.service.chat.ChatServiceImpl
 
retrieveBatch(BatchRequest) - Method in interface ai.z.openapi.service.batches.BatchService
Retrieves a specific batch.
retrieveBatch(String) - Method in interface ai.z.openapi.service.batches.BatchService
Retrieves a specific batch by ID.
retrieveBatch(BatchRequest) - Method in class ai.z.openapi.service.batches.BatchServiceImpl
 
retrieveBatch(String) - Method in class ai.z.openapi.service.batches.BatchServiceImpl
 
retrieveFileContent(String) - Method in interface ai.z.openapi.service.file.FileService
Retrieves the content of a specific file.
retrieveFileContent(String) - Method in class ai.z.openapi.service.file.FileServiceImpl
 
retrofit - Variable in class ai.z.openapi.AbstractAiClient
Retrofit instance for API communication
retrofit() - Method in class ai.z.openapi.AbstractAiClient
Returns the underlying Retrofit instance used for API communication.

S

SearchChatMessage - Class in ai.z.openapi.service.tools
 
SearchChatMessage() - Constructor for class ai.z.openapi.service.tools.SearchChatMessage
 
SearchIntent - Class in ai.z.openapi.service.tools
Represents search intent information for web search operations.
SearchIntent() - Constructor for class ai.z.openapi.service.tools.SearchIntent
 
SearchIntentResp - Class in ai.z.openapi.service.web_search
 
SearchIntentResp() - Constructor for class ai.z.openapi.service.web_search.SearchIntentResp
 
SearchRecommend - Class in ai.z.openapi.service.tools
Represents search query recommendations.
SearchRecommend() - Constructor for class ai.z.openapi.service.tools.SearchRecommend
 
SearchResult - Class in ai.z.openapi.service.tools
Represents a search result item from web search operations.
SearchResult() - Constructor for class ai.z.openapi.service.tools.SearchResult
 
Segment - Class in ai.z.openapi.service.model
 
Segment() - Constructor for class ai.z.openapi.service.model.Segment
 
self() - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Returns this builder instance with proper type casting for method chaining.
self() - Method in class ai.z.openapi.ZaiClient.Builder
 
sendMessage(RealtimeClientEvent) - Method in class ai.z.openapi.service.realtime.OkHttpRealtimeClient
 
SensitiveWordCheckRequest - Class in ai.z.openapi.service.model
Request parameters for sensitive word checking.
SensitiveWordCheckRequest() - Constructor for class ai.z.openapi.service.model.SensitiveWordCheckRequest
 
serialize(IntOrInfObj, JsonGenerator, SerializerProvider) - Method in class ai.z.openapi.service.realtime.object.IntOrInfObj.ConfigIntOrInfSerializer
 
serialize(ToolChoiceObj, JsonGenerator, SerializerProvider) - Method in class ai.z.openapi.service.realtime.object.ToolChoiceObj.ToolChoiceObjSerializer
 
SessionCreated - Class in ai.z.openapi.service.realtime.server
Server event indicating that a new session has been created.
SessionCreated() - Constructor for class ai.z.openapi.service.realtime.server.SessionCreated
 
SessionObj - Class in ai.z.openapi.service.realtime.object
Represents a session configuration object for the realtime API.
SessionObj() - Constructor for class ai.z.openapi.service.realtime.object.SessionObj
 
SessionUpdate - Class in ai.z.openapi.service.realtime.client
Client event for updating session configuration.
SessionUpdate() - Constructor for class ai.z.openapi.service.realtime.client.SessionUpdate
 
SessionUpdated - Class in ai.z.openapi.service.realtime.server
Server event indicating that the session configuration has been updated.
SessionUpdated() - Constructor for class ai.z.openapi.service.realtime.server.SessionUpdated
 
set(String, String, int, TimeUnit) - Method in interface ai.z.openapi.core.cache.ICache
Sets cache value with expiration time.
set(String, String, int, TimeUnit) - Method in class ai.z.openapi.core.cache.LocalCache
 
setApiKey(String) - Method in class ai.z.openapi.core.config.ZaiConfig
Sets API key and parses it into id and secret components.
setCode(int) - Method in interface ai.z.openapi.core.model.ClientResponse
 
setContent(String) - Method in class ai.z.openapi.service.assistant.message.AssistantTextContentBlock
 
setData(T) - Method in interface ai.z.openapi.core.model.ClientResponse
 
setDelta(AssistantMessageContent) - Method in class ai.z.openapi.service.assistant.AssistantChoice
 
setError(ChatError) - Method in interface ai.z.openapi.core.model.ClientResponse
 
setFileId(String) - Method in class ai.z.openapi.service.assistant.AssistantAttachments
 
setFinishReason(String) - Method in class ai.z.openapi.service.assistant.AssistantChoice
 
setFlowable(Flowable<F>) - Method in interface ai.z.openapi.core.model.BiFlowableClientResponse
 
setIndex(int) - Method in class ai.z.openapi.service.assistant.AssistantChoice
 
setInput(String) - Method in class ai.z.openapi.service.embedding.EmbeddingCreateParams
 
setInput(List<String>) - Method in class ai.z.openapi.service.embedding.EmbeddingCreateParams
 
setMetadata(Map<String, Object>) - Method in class ai.z.openapi.service.assistant.AssistantChoice
 
setMsg(String) - Method in interface ai.z.openapi.core.model.ClientResponse
 
setRole(String) - Method in class ai.z.openapi.service.assistant.message.AssistantTextContentBlock
 
setRole(String) - Method in class ai.z.openapi.service.assistant.message.AssistantToolsDeltaBlock
 
setSuccess(boolean) - Method in interface ai.z.openapi.core.model.ClientResponse
 
setTokenManager(TokenManager) - Static method in class ai.z.openapi.core.token.GlobalTokenManager
Sets custom TokenManager implementation.
setToolCalls(List<AssistantToolsType>) - Method in class ai.z.openapi.service.assistant.message.AssistantToolsDeltaBlock
 
SSE - Class in ai.z.openapi.service.model
Simple Server Sent Event representation
SSE(String) - Constructor for class ai.z.openapi.service.model.SSE
 
SSEFormatException - Class in ai.z.openapi.service.model
Exception indicating a SSE format error
SSEFormatException(String) - Constructor for class ai.z.openapi.service.model.SSEFormatException
 
start() - Method in class ai.z.openapi.service.realtime.OkHttpRealtimeClient
 
statusCode - Variable in exception ai.z.openapi.service.model.ZAiHttpException
HTTP status code
stop() - Method in class ai.z.openapi.service.realtime.OkHttpRealtimeClient
 
stream(Call<ResponseBody>, Class<T>) - Method in class ai.z.openapi.service.AbstractClientBaseService
Creates a streaming Flowable that maps SSE data to the specified class type.
stream(Call<ResponseBody>) - Static method in class ai.z.openapi.service.AbstractClientBaseService
Creates a streaming Flowable of SSE events without emitting done events.
stream(Call<ResponseBody>, boolean) - Static method in class ai.z.openapi.service.AbstractClientBaseService
Creates a streaming Flowable of SSE events with optional done event emission.
streamRequest(TReq, FlowableRequestSupplier<Param, Call<ResponseBody>>, Class<TResp>, Class<Data>) - Method in class ai.z.openapi.AbstractAiClient
Executes a streaming API request and returns a FlowableClientResponse with stream elements of type Data.
streamRequest(TReq, FlowableRequestSupplier<Param, Call<ResponseBody>>, Class<TResp>, Class<T>) - Method in class ai.z.openapi.service.AbstractClientBaseService
Executes a streaming API request with the same type for response body and stream element.
streamToFile(String, int) - Method in class ai.z.openapi.core.response.HttpxBinaryResponseContent
 
StringUtils - Class in ai.z.openapi.utils
Utility class providing common string manipulation operations.
supportsUpdate(DeserializationConfig) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
syncParse(MultipartBody) - Method in interface ai.z.openapi.api.fileparsing.FileParsingApi
Executes a synchronous file parsing operation.
syncParse(FileParsingUploadReq) - Method in interface ai.z.openapi.service.fileparsing.FileParsingService
Executes a synchronous file parsing operation.
syncParse(FileParsingUploadReq) - Method in class ai.z.openapi.service.fileparsing.FileParsingServiceImpl
 

T

TaskStatus - Enum in ai.z.openapi.service.model
 
text(String) - Static method in class ai.z.openapi.service.moderations.ModerationInput
Helper method to create text input
toBytes() - Method in class ai.z.openapi.service.model.SSE
 
toJsonFromClientEvent(RealtimeClientEvent) - Static method in class ai.z.openapi.service.realtime.JasonUtil
Converts RealtimeClientEvent object to JSON string.
toJsonFromServerEvent(RealtimeServerEvent) - Static method in class ai.z.openapi.service.realtime.JasonUtil
Converts RealtimeServerEvent object to JSON string.
tokenExpire(int) - Method in class ai.z.openapi.AbstractAiClient.AbstractBuilder
Sets the token expiration time in milliseconds.
TokenManager - Class in ai.z.openapi.core.token
JWT token manager for handling token generation and caching.
TokenManager(ICache) - Constructor for class ai.z.openapi.core.token.TokenManager
Constructs TokenManager with specified cache implementation.
ToolCalls - Class in ai.z.openapi.service.model
Represents tool calls made by the model during conversation.
ToolCalls() - Constructor for class ai.z.openapi.service.model.ToolCalls
 
ToolChoiceObj - Class in ai.z.openapi.service.realtime.object
Represents tool choice configuration for controlling which tools the model can use.
ToolChoiceObj.ToolChoiceObjDeserializer - Class in ai.z.openapi.service.realtime.object
 
ToolChoiceObj.ToolChoiceObjSerializer - Class in ai.z.openapi.service.realtime.object
 
ToolChoiceObj.ToolObj - Class in ai.z.openapi.service.realtime.object
Represents a specific tool that can be forced for use.
ToolChoiceObjDeserializer() - Constructor for class ai.z.openapi.service.realtime.object.ToolChoiceObj.ToolChoiceObjDeserializer
 
ToolChoiceObjSerializer() - Constructor for class ai.z.openapi.service.realtime.object.ToolChoiceObj.ToolChoiceObjSerializer
 
ToolObj() - Constructor for class ai.z.openapi.service.realtime.object.ToolChoiceObj.ToolObj
 
ToolObj - Class in ai.z.openapi.service.realtime.object
Represents a tool object that can be used by the AI model during conversations.
ToolObj() - Constructor for class ai.z.openapi.service.realtime.object.ToolObj
 
ToolsApi - Interface in ai.z.openapi.api.tools
Tools API for enhanced AI capabilities and intelligent agent functions Provides access to external tools and services integrated with GLM-4 All Tools Enables AI models to access real-time information, perform web searches, and execute complex tasks Features intelligent tool selection, automatic parameter optimization, and result synthesis Supports web browsing, code interpretation, image generation, and custom tool integration
toString() - Method in class ai.z.openapi.service.realtime.object.IntOrInfObj
 
toString() - Method in class ai.z.openapi.service.realtime.object.ToolChoiceObj.ToolObj
 
toString() - Method in class ai.z.openapi.service.realtime.object.ToolChoiceObj
 
TurnDetectionObj - Class in ai.z.openapi.service.realtime.object
 
TurnDetectionObj() - Constructor for class ai.z.openapi.service.realtime.object.TurnDetectionObj
 

U

updateArray(JsonParser, DeserializationContext, ArrayNode) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
Alternate deserialization method that is to update existing ObjectNode if possible.
updateObject(JsonParser, DeserializationContext, ObjectNode) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
Alternate deserialization method that is to update existing ObjectNode if possible.
uploadFile(MultipartBody) - Method in interface ai.z.openapi.api.file.FileApi
Upload a file to the platform Stores files for use in fine-tuning, knowledge base, or other AI operations
uploadFile(FileUploadParams) - Method in interface ai.z.openapi.service.file.FileService
Uploads a file to the server.
uploadFile(FileUploadParams) - Method in class ai.z.openapi.service.file.FileServiceImpl
 
UploadFilePurpose - Enum in ai.z.openapi.service.file
 
Usage - Class in ai.z.openapi.service.model
Usage statistics for API calls.
Usage() - Constructor for class ai.z.openapi.service.model.Usage
 

V

validate() - Method in class ai.z.openapi.service.web_reader.WebReaderRequest
Validate request fields that require constraints.
value() - Method in enum ai.z.openapi.service.file.UploadFilePurpose
 
value() - Method in enum ai.z.openapi.service.model.ChatMessageRole
 
value() - Method in enum ai.z.openapi.service.model.ChatThinkingType
 
value() - Method in enum ai.z.openapi.service.model.ChatToolType
 
value() - Method in enum ai.z.openapi.service.model.ResponseFormatType
 
valueOf(String) - Static method in enum ai.z.openapi.service.file.UploadFilePurpose
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.z.openapi.service.model.ChatMessageRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.z.openapi.service.model.ChatThinkingType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.z.openapi.service.model.ChatToolType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.z.openapi.service.model.McpToolTransportType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.z.openapi.service.model.ResponseFormatType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.z.openapi.service.model.TaskStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.z.openapi.service.realtime.OkHttpRealtimeClient.ConnectivityState
Returns the enum constant of this type with the specified name.
values() - Static method in enum ai.z.openapi.service.file.UploadFilePurpose
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.z.openapi.service.model.ChatMessageRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.z.openapi.service.model.ChatThinkingType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.z.openapi.service.model.ChatToolType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.z.openapi.service.model.McpToolTransportType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.z.openapi.service.model.ResponseFormatType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.z.openapi.service.model.TaskStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.z.openapi.service.realtime.OkHttpRealtimeClient.ConnectivityState
Returns an array containing the constants of this enum type, in the order they are declared.
video(String) - Static method in class ai.z.openapi.service.moderations.ModerationInput
Helper method to create video input
VideoCreateParams - Class in ai.z.openapi.service.videos
Parameters for video creation API calls.
VideoCreateParams() - Constructor for class ai.z.openapi.service.videos.VideoCreateParams
 
videoGenerations(VideoCreateParams) - Method in interface ai.z.openapi.api.videos.VideosApi
Generate videos from text or image prompts using CogVideoX Creates high-quality videos with natural camera movements and semantic coherence Supports text-to-video generation with detailed prompt descriptions Supports image-to-video generation using image_url parameter for enhanced control
videoGenerations(VideoCreateParams) - Method in interface ai.z.openapi.service.videos.VideosService
Creates video generations.
videoGenerations(VideoCreateParams) - Method in class ai.z.openapi.service.videos.VideosServiceImpl
 
videoGenerationsResult(String) - Method in interface ai.z.openapi.api.videos.VideosApi
Retrieve the result of an asynchronous video generation Gets the generated video result using the task ID from video generation request Video generation is typically asynchronous due to computational complexity
videoGenerationsResult(String) - Method in interface ai.z.openapi.service.videos.VideosService
Retrieves video generation result.
videoGenerationsResult(String) - Method in class ai.z.openapi.service.videos.VideosServiceImpl
 
VideoObject - Class in ai.z.openapi.service.videos
This class represents the video object containing details about the video generation task.
VideoObject() - Constructor for class ai.z.openapi.service.videos.VideoObject
 
VideoResult - Class in ai.z.openapi.service.videos
This class represents the result of a video creation process.
VideoResult() - Constructor for class ai.z.openapi.service.videos.VideoResult
 
videos() - Method in class ai.z.openapi.AbstractAiClient
Returns the videos service for video processing.
VideosApi - Interface in ai.z.openapi.api.videos
Videos API for AI-powered video generation Powered by CogVideoX models using advanced Transformer and 3D Causal VAE architecture Supports both text-to-video and image-to-video generation with exceptional quality Features natural camera movements, semantic coherence, and photorealistic visual output Configurable parameters include quality, audio generation, size, and frame rate (fps)
VideosResponse - Class in ai.z.openapi.service.videos
 
VideosResponse() - Constructor for class ai.z.openapi.service.videos.VideosResponse
 
VideosService - Interface in ai.z.openapi.service.videos
Videos service interface
VideosServiceImpl - Class in ai.z.openapi.service.videos
Implementation of VideosService
VideosServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.videos.VideosServiceImpl
 
VideoUrl - Class in ai.z.openapi.service.model
 
VideoUrl() - Constructor for class ai.z.openapi.service.model.VideoUrl
 
voiceClone() - Method in class ai.z.openapi.AbstractAiClient
Returns the voice clone service for voice cloning operations.
VoiceCloneApi - Interface in ai.z.openapi.api.voiceclone
Voice Clone API for voice cloning and management operations.
VoiceCloneRequest - Class in ai.z.openapi.service.voiceclone
Request parameters for voice cloning API.
VoiceCloneRequest() - Constructor for class ai.z.openapi.service.voiceclone.VoiceCloneRequest
 
VoiceCloneResponse - Class in ai.z.openapi.service.voiceclone
Response wrapper for voice cloning API operations.
VoiceCloneResponse() - Constructor for class ai.z.openapi.service.voiceclone.VoiceCloneResponse
 
VoiceCloneResult - Class in ai.z.openapi.service.voiceclone
Result data for voice cloning operations.
VoiceCloneResult() - Constructor for class ai.z.openapi.service.voiceclone.VoiceCloneResult
 
VoiceCloneService - Interface in ai.z.openapi.service.voiceclone
Voice clone service interface for voice cloning operations.
VoiceCloneServiceImpl - Class in ai.z.openapi.service.voiceclone
Voice clone service implementation for voice cloning operations.
VoiceCloneServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.voiceclone.VoiceCloneServiceImpl
 
VoiceData - Class in ai.z.openapi.service.voiceclone
Voice data entity containing voice information.
VoiceData() - Constructor for class ai.z.openapi.service.voiceclone.VoiceData
 
VoiceDeleteRequest - Class in ai.z.openapi.service.voiceclone
Request parameters for voice deletion API.
VoiceDeleteRequest() - Constructor for class ai.z.openapi.service.voiceclone.VoiceDeleteRequest
 
VoiceDeleteResponse - Class in ai.z.openapi.service.voiceclone
Response wrapper for voice deletion API operations.
VoiceDeleteResponse() - Constructor for class ai.z.openapi.service.voiceclone.VoiceDeleteResponse
 
VoiceDeleteResult - Class in ai.z.openapi.service.voiceclone
Result data for voice deletion operations.
VoiceDeleteResult() - Constructor for class ai.z.openapi.service.voiceclone.VoiceDeleteResult
 
VoiceListRequest - Class in ai.z.openapi.service.voiceclone
Request parameters for voice list API.
VoiceListRequest() - Constructor for class ai.z.openapi.service.voiceclone.VoiceListRequest
 
VoiceListResponse - Class in ai.z.openapi.service.voiceclone
Response wrapper for voice list API operations.
VoiceListResponse() - Constructor for class ai.z.openapi.service.voiceclone.VoiceListResponse
 
VoiceListResult - Class in ai.z.openapi.service.voiceclone
Result data for voice list operations.
VoiceListResult() - Constructor for class ai.z.openapi.service.voiceclone.VoiceListResult
 

W

waitForConnection() - Method in class ai.z.openapi.service.realtime.OkHttpRealtimeClient
 
webReader() - Method in class ai.z.openapi.AbstractAiClient
Returns the web reader service for parsing web pages.
WebReaderApi - Interface in ai.z.openapi.api.web_reader
Web Reader API for reading and parsing web page content.
WebReaderRequest - Class in ai.z.openapi.service.web_reader
 
WebReaderRequest() - Constructor for class ai.z.openapi.service.web_reader.WebReaderRequest
 
WebReaderResponse - Class in ai.z.openapi.service.web_reader
 
WebReaderResponse() - Constructor for class ai.z.openapi.service.web_reader.WebReaderResponse
 
WebReaderResult - Class in ai.z.openapi.service.web_reader
 
WebReaderResult() - Constructor for class ai.z.openapi.service.web_reader.WebReaderResult
 
WebReaderResult.ReaderData - Class in ai.z.openapi.service.web_reader
 
WebReaderService - Interface in ai.z.openapi.service.web_reader
Web reader service interface
WebReaderServiceImpl - Class in ai.z.openapi.service.web_reader
Web reader service implementation
WebReaderServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.web_reader.WebReaderServiceImpl
 
webSearch() - Method in class ai.z.openapi.AbstractAiClient
Returns the web search service for internet search capabilities.
webSearch(WebSearchParamsRequest) - Method in interface ai.z.openapi.api.tools.ToolsApi
Perform intelligent web search with comprehensive response Executes advanced web search using GLM-4 All Tools with intelligent result synthesis Features automatic query expansion, content summarization, and quality assessment Provides structured results optimized for AI model consumption and reasoning
webSearch(WebSearchRequest) - Method in interface ai.z.openapi.api.web_search.WebSearchApi
Perform intelligent web search operation with GLM-4 integration Searches the internet for relevant, up-to-date information using advanced query processing Features automatic query expansion, result filtering, and content quality assessment Supports real-time information retrieval for news, facts, and current events
WebSearch - Class in ai.z.openapi.service.model
Configuration class for web search functionality.
WebSearch() - Constructor for class ai.z.openapi.service.model.WebSearch
 
WebSearchApi - Interface in ai.z.openapi.api.web_search
Web Search API for real-time internet information retrieval Integrated with GLM-4 models to provide comprehensive web search capabilities Enables AI models to access current information, news, and real-time data from the internet Supports intelligent search result filtering, ranking, and content summarization Features automatic query optimization and multi-source information aggregation
WebSearchApiResponse - Class in ai.z.openapi.service.tools
 
WebSearchApiResponse() - Constructor for class ai.z.openapi.service.tools.WebSearchApiResponse
 
WebSearchChoice - Class in ai.z.openapi.service.tools
 
WebSearchChoice() - Constructor for class ai.z.openapi.service.tools.WebSearchChoice
 
WebSearchDTO - Class in ai.z.openapi.service.web_search
 
WebSearchDTO() - Constructor for class ai.z.openapi.service.web_search.WebSearchDTO
 
WebSearchMessage - Class in ai.z.openapi.service.tools
Represents a web search message containing role and tool call information.
WebSearchMessage() - Constructor for class ai.z.openapi.service.tools.WebSearchMessage
 
WebSearchMessageToolCall - Class in ai.z.openapi.service.tools
 
WebSearchMessageToolCall() - Constructor for class ai.z.openapi.service.tools.WebSearchMessageToolCall
 
WebSearchParamsRequest - Class in ai.z.openapi.service.tools
 
WebSearchParamsRequest() - Constructor for class ai.z.openapi.service.tools.WebSearchParamsRequest
 
WebSearchPro - Class in ai.z.openapi.service.tools
 
WebSearchPro() - Constructor for class ai.z.openapi.service.tools.WebSearchPro
 
WebSearchRequest - Class in ai.z.openapi.service.web_search
 
WebSearchRequest() - Constructor for class ai.z.openapi.service.web_search.WebSearchRequest
 
WebSearchResp - Class in ai.z.openapi.service.web_search
 
WebSearchResp() - Constructor for class ai.z.openapi.service.web_search.WebSearchResp
 
WebSearchResponse - Class in ai.z.openapi.service.web_search
 
WebSearchResponse() - Constructor for class ai.z.openapi.service.web_search.WebSearchResponse
 
WebSearchService - Interface in ai.z.openapi.service.web_search
Web search service interface
WebSearchServiceImpl - Class in ai.z.openapi.service.web_search
Web search service implementation
WebSearchServiceImpl(AbstractAiClient) - Constructor for class ai.z.openapi.service.web_search.WebSearchServiceImpl
 
webSearchStreaming(WebSearchParamsRequest) - Method in interface ai.z.openapi.api.tools.ToolsApi
Perform intelligent web search with streaming response Executes real-time web search using GLM-4 enhanced query processing and streams results Features automatic query optimization, result filtering, and relevance ranking Provides incremental results for immediate processing and user feedback
WebSearchToolCall() - Constructor for class ai.z.openapi.service.realtime.object.OutputItemObj.WebSearchToolCall
 
WordsResult - Class in ai.z.openapi.service.ocr
 
WordsResult() - Constructor for class ai.z.openapi.service.ocr.WordsResult
 
writeToFile(String) - Method in class ai.z.openapi.core.response.HttpxBinaryResponseContent
 

Z

Z_AI_BASE_URL - Static variable in class ai.z.openapi.core.Constants
Base URL for the Z.AI OpenAPI service.
ZaiClient - Class in ai.z.openapi
ZaiClient is the main entry point for interacting with the Z.ai API.
ZaiClient(ZaiConfig) - Constructor for class ai.z.openapi.ZaiClient
Constructs a new ZaiClient with the specified configuration.
ZaiClient.Builder - Class in ai.z.openapi
Builder class for creating ZaiClient instances with custom configurations.
ZaiConfig - Class in ai.z.openapi.core.config
Configuration class for ZAI SDK containing API credentials, JWT settings, HTTP client configurations, and cache settings.
ZaiConfig(String) - Constructor for class ai.z.openapi.core.config.ZaiConfig
Constructor with combined API secret key.
ZAiError - Class in ai.z.openapi.service.model
Represents the error body when an ZAI request fails
ZAiError() - Constructor for class ai.z.openapi.service.model.ZAiError
 
ZAiError.ContentFilter - Class in ai.z.openapi.service.model
Sensitive words
ZAiError.ZAiErrorDetails - Class in ai.z.openapi.service.model
 
ZAiErrorDetails() - Constructor for class ai.z.openapi.service.model.ZAiError.ZAiErrorDetails
 
ZAiHttpException - Exception in ai.z.openapi.service.model
 
ZAiHttpException(ZAiError, Exception, int) - Constructor for exception ai.z.openapi.service.model.ZAiHttpException
 
ZAiHttpException(String, String, Exception, int) - Constructor for exception ai.z.openapi.service.model.ZAiHttpException
 
ZHIPU_AI_BASE_URL - Static variable in class ai.z.openapi.core.Constants
Base URL for the ZHIPU AI OpenAPI service.
ZhipuAiClient - Class in ai.z.openapi
ZhipuAiClient is the main entry point for interacting with the ZHIPU AI API.
ZhipuAiClient(ZaiConfig) - Constructor for class ai.z.openapi.ZhipuAiClient
Constructs a new ZhipuAiClient with the specified configuration.
ZhipuAiClient.Builder - Class in ai.z.openapi
Builder class for creating ZhipuAiClient instances with custom configurations.

_

_fromEmbedded(JsonParser, DeserializationContext, JsonNodeFactory) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
_fromFloat(JsonParser, DeserializationContext, JsonNodeFactory) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
_fromInt(JsonParser, DeserializationContext, JsonNodeFactory) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
_handleDuplicateField(JsonParser, DeserializationContext, JsonNodeFactory, String, ObjectNode, JsonNode, JsonNode) - Method in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
Method called when there is a duplicate value for a field.
_supportsUpdates - Variable in class ai.z.openapi.service.deserialize.BaseNodeDeserializer
 
A B C D E F G H I J L M N O P Q R S T U V W Z _ 
Skip navigation links

Copyright © 2025. All rights reserved.