UserInputData
public static class UserInputData
源码Source
io/agentscope/core/studio/StudioWebSocketClient.java:365–397用户输入数据,对智能体行为进行评测、追踪与可观测性分析。位于 io.agentscope.core.studio 包。核心成员包括 getBlocksInput、getStructuredInput、UserInputData。
Data structure representing user input from Studio.
This contains both content blocks (text, images, etc.) and optional structured data validated against a schema.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public UserInputData(List<ContentBlock> blocksInput, Map<String, Object> structuredInput) | 创建用户输入数据。 Creates user input data. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public List<ContentBlock> getBlocksInput() | 获取 `getBlocksInput`。 Gets the content blocks provided by the user. |
public Map<String, Object> getStructuredInput() | 获取结构化输入数据。 Gets the structured input data. |
构造器详情Constructor Detail
UserInputData
public UserInputData(List<ContentBlock> blocksInput, Map<String, Object> structuredInput)
创建用户输入数据。
Creates user input data.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
blocksInput | List<ContentBlock> | blocks 输入(类型 `List`)。List of content blocks provided by the user |
structuredInput | Map<String, Object> | 结构化输入(类型 `Map`)。Optional structured data (e.g., form fields) |
源码Source
io/agentscope/core/studio/StudioWebSocketClient.java:375–378方法详情Method Detail
getBlocksInput
public List<ContentBlock> getBlocksInput()
获取 getBlocksInput。
Gets the content blocks provided by the user.
List<ContentBlock>返回列出。List of content blocks
源码Source
io/agentscope/core/studio/StudioWebSocketClient.java:385–387getStructuredInput
public Map<String, Object> getStructuredInput()
获取结构化输入数据。
Gets the structured input data.
Map<String, Object>返回映射。Map of structured data, or null if not provided
源码Source
io/agentscope/core/studio/StudioWebSocketClient.java:394–396