AS AgentScopeAPI 手册 / API Reference

RequestUserInputRequest

public class RequestUserInputRequest
源码Source io/agentscope/core/studio/pojo/RequestUserInputRequest.java:26–135

请求用户输入请求,对智能体行为进行评测、追踪与可观测性分析。位于 io.agentscope.core.studio.pojo 包。核心成员包括 getRequestId、getRunId、getAgentId、getAgentName、getStructuredInput、builder。

Request payload for requesting user input from Studio web interface.

This is sent via POST /trpc/requestUserInput to prompt the user for input.

嵌套类摘要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 getRequestId()
获取请求标识。
Gets the unique identifier for this user input request.
public String getRunId()
获取运行标识。
Gets the run ID associated with this input request.
public String getAgentId()
获取智能体标识。
Gets the ID of the agent requesting input.
public String getAgentName()
获取智能体名称。
Gets the name of the agent requesting input.
public Object getStructuredInput()
获取结构化输入模式(if 任意)。
Gets the structured input schema (if any).
public static Builder builder()
static
返回构建器实例。
Returns the builder.

方法详情Method Detail

getRequestId

public String getRequestId()

获取请求标识。

Gets the unique identifier for this user input request.

返回Returns String
请求标识。the request ID
源码Source io/agentscope/core/studio/pojo/RequestUserInputRequest.java:55–57

getRunId

public String getRunId()

获取运行标识。

Gets the run ID associated with this input request.

返回Returns String
运行标识。the run ID
源码Source io/agentscope/core/studio/pojo/RequestUserInputRequest.java:64–66

getAgentId

public String getAgentId()

获取智能体标识。

Gets the ID of the agent requesting input.

返回Returns String
智能体标识。the agent ID
源码Source io/agentscope/core/studio/pojo/RequestUserInputRequest.java:73–75

getAgentName

public String getAgentName()

获取智能体名称。

Gets the name of the agent requesting input.

返回Returns String
智能体名称。the agent name
源码Source io/agentscope/core/studio/pojo/RequestUserInputRequest.java:82–84

getStructuredInput

public Object getStructuredInput()

获取结构化输入模式(if 任意)。

Gets the structured input schema (if any).

返回Returns Object
返回对象。the structured input schema, or an empty map if not specified
源码Source io/agentscope/core/studio/pojo/RequestUserInputRequest.java:91–93

builder

public static Builder builder()
static

返回构建器实例。

Returns the builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/core/studio/pojo/RequestUserInputRequest.java:95–97

嵌套类详情Nested Class Detail

Builder

public static class Builder

构建器,用于构建并配置目标实例。位于 io.agentscope.core.studio.pojo 包。核心成员包括 requestId、runId、agentId、agentName、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.

基于官方固定版本源码静态生成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.