AS AgentScopeAPI 手册 / API Reference

MessagePart

public interface MessagePart
源码Source io/agentscope/core/tracing/telemetry/model/MessagePart.java:25–33

定义消息片段契约的接口。位于 io.agentscope.core.tracing.telemetry.model 包。核心成员包括 getType。

Interface for all message parts.

方法摘要Method Summary

方法Method说明Description
public String getType()
获取类型的此消息片段。
Get the type of this message part.

方法详情Method Detail

getType

public String getType()

获取类型的此消息片段。

Get the type of this message part.

返回Returns String
返回字符串结果。the type string
源码Source io/agentscope/core/tracing/telemetry/model/MessagePart.java:32
基于官方固定版本源码静态生成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.