包package
io.agentscope.core.agui.modelio.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.
接口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. |