AS AgentScopeAPI 手册 / API Reference

Text

record Text(String value) implements MessageContent
源码Source io/agentscope/core/agui/model/MessageContent.java:54

承载文本数据的记录类型。位于 io.agentscope.core.agui.model 包,实现 MessageContent。核心成员包括 value。

Plain text content, serialized as a JSON string.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
valueString
文本内容。
the text content

记录组件详情Record Component Detail

value

String value

文本内容。

the text content

源码Source io/agentscope/core/agui/model/MessageContent.java:54
基于官方固定版本源码静态生成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.