AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.core.chat.completions.model

io.agentscope.core.chat.completions.model

package io.agentscope.core.chat.completions.model

io.agentscope.core.chat.completions.model 属于模型与向量化,大模型接入、凭证与嵌入。 该包共收录 10 个公开类型。

io.agentscope.core.chat.completions.model belongs to the Models & embeddings layer and contains 10 public types.

类Classes

类型Type种类Kind说明Description
ChatChoice类class
聊天选项,保存相关配置项。
Single choice in a Chat Completions style response.
ChatCompletionsChunk类class
用于聊天补全 API的流式分块。
Streaming chunk for Chat Completions API.
ChatCompletionsRequest类class
用于聊天补全 HTTP API的请求负载。
Request payload for the Chat Completions HTTP API.
ChatCompletionsResponse类class
用于聊天补全 HTTP API的响应负载。
Response payload for the Chat Completions HTTP API.
ChatMessage类class
聊天消息,与模型服务通信并返回生成或向量化结果。
Chat message representation for the Chat Completions API.
OpenAITool类class
OpenAI 工具,封装可被智能体调用的能力。
OpenAI tool definition for Chat Completions API requests.
OpenAIToolFunction类class
OpenAI 工具函数,与模型服务通信并返回生成或向量化结果。
OpenAI tool function definition for Chat Completions API requests.
ToolCall类class
以OpenAI 兼容的格式表示工具调用。
Represents a tool call in OpenAI-compatible format.
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.