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

io.agentscope.core.agui.model

package io.agentscope.core.agui.model

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

io.agentscope.core.agui.model belongs to the Models & embeddings layer and contains 22 public types.

所属构件Artifacts agentscope-extensions-agui

接口Interfaces

类型Type种类Kind说明Description
InputContent接口interface
定义输入内容契约的接口。
Sealed interface representing a typed content part in the AG-UI protocol.
InputContentSource接口interface
定义输入内容来源契约的接口。
Sealed interface representing a content source in the AG-UI protocol.
MessageContent接口interface
定义消息内容契约的接口。
Type-safe union representing the `content` field of an AG-UI message.

类Classes

类型Type种类Kind说明Description
AguiContext类class
AGUI 上下文,与模型服务通信并返回生成或向量化结果。
Represents a piece of contextual information in the AG-UI protocol.
AguiFunctionCall类class
AGUI 函数调用,与模型服务通信并返回生成或向量化结果。
Represents a function call within a tool call in the AG-UI protocol.
AguiMessage类class
表示消息,使用 AG-UI 协议。
Represents a message in the AG-UI protocol.
AguiResume类class
AGUI 恢复,与模型服务通信并返回生成或向量化结果。
Represents one official AG-UI resume response for a previous interrupt.
AguiTool类class
表示工具定义,使用 AG-UI 协议。
Represents a tool definition in the AG-UI protocol.
AguiToolCall类class
表示工具调用,使用 AG-UI 协议。
Represents a tool call in the AG-UI protocol.
MessageContentDeserializer类class
消息内容反序列化器,与模型服务通信并返回生成或向量化结果。
Custom Jackson deserializer for `MessageContent`.
MessageContentSerializer类class
消息内容序列化器,与模型服务通信并返回生成或向量化结果。
Custom Jackson serializer for `MessageContent`.
RunAgentInput类class
运行智能体输入,与模型服务通信并返回生成或向量化结果。
Input model for running an agent via the AG-UI protocol.

记录Records

类型Type种类Kind说明Description
AudioInputContent记录record
承载音频输入内容数据的记录类型。
Audio input content in the AG-UI protocol.
DocumentInputContent记录record
承载文档输入内容数据的记录类型。
Document input content in the AG-UI protocol.
ImageInputContent记录record
承载图像输入内容数据的记录类型。
Image input content in the AG-UI protocol.
InputContentDataSource记录record
承载输入内容数据来源数据的记录类型。
Inline data source in the AG-UI protocol.
InputContentUrlSource记录record
承载输入内容 URL 来源数据的记录类型。
URL source in the AG-UI protocol.
TextInputContent记录record
承载文本输入内容数据的记录类型。
Text input content in the AG-UI protocol.
VideoInputContent记录record
承载视频输入内容数据的记录类型。
Video input content in the AG-UI protocol.
基于官方固定版本源码静态生成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.