UserInputMetadata
@JsonInclude(JsonInclude.Include.NON_NULL) public class UserInputMetadata
io/agentscope/core/studio/pojo/UserInputMetadata.java:28–100用户输入元数据,对智能体行为进行评测、追踪与可观测性分析。位于 io.agentscope.core.studio.pojo 包。核心成员包括 getSource、getRequestId、getStructuredInput、builder。
Metadata for user input messages from Studio.
This class provides type-safe metadata for messages received from AgentScope Studio, including the source, request ID, and optional structured input data.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.core.studio.pojo that evaluates agent behaviour and records tracing and telemetry data. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getSource() | 获取来源的用户输入。 Gets the source of the user input. |
public String getRequestId() | 获取请求标识。 Gets the request ID that this input is responding to. |
public Map<String, Object> getStructuredInput() | 获取结构化输入。 Gets the structured input data if provided. |
public static Builder builder()static | 返回构建器实例。 Returns the builder. |
方法详情Method Detail
getSource
public String getSource()
获取来源的用户输入。
Gets the source of the user input.
Stringio/agentscope/core/studio/pojo/UserInputMetadata.java:50–52getRequestId
public String getRequestId()
获取请求标识。
Gets the request ID that this input is responding to.
Stringio/agentscope/core/studio/pojo/UserInputMetadata.java:59–61getStructuredInput
public Map<String, Object> getStructuredInput()
获取结构化输入。
Gets the structured input data if provided.
Map<String, Object>io/agentscope/core/studio/pojo/UserInputMetadata.java:68–70builder
public static Builder builder()
返回构建器实例。
Returns the builder.
Builderio/agentscope/core/studio/pojo/UserInputMetadata.java:72–74嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.core.studio.pojo 包。核心成员包括 source、requestId、structuredInput、build。
A class in io.agentscope.core.studio.pojo that evaluates agent behaviour and records tracing and telemetry data. Declared in io.agentscope.core.studio.pojo.