AS AgentScopeAPI 手册 / API Reference

ResponseReasoning

@JsonIgnoreProperties(ignoreUnknown = true) public class ResponseReasoning
源码Source io/agentscope/runtime/protocol/responseapi/model/ResponseReasoning.java:21–42

响应推理,与模型服务通信并返回生成或向量化结果。位于 io.agentscope.runtime.protocol.responseapi.model 包。核心成员包括 getEffort、setEffort、getSummary、setSummary。

A class in io.agentscope.runtime.protocol.responseapi.model that talks to model services and returns generated or embedded output. Declared in io.agentscope.runtime.protocol.responseapi.model.

方法摘要Method Summary

方法Method说明Description
public String getEffort()
获取 `getEffort`。
Returns the effort.
public void setEffort(String effort)
设置 `setEffort`。
Sets the effort.
public String getSummary()
获取摘要。
Returns the summary.
public void setSummary(String summary)
设置摘要。
Sets the summary.

方法详情Method Detail

getEffort

public String getEffort()

获取 getEffort。

Returns the effort.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/protocol/responseapi/model/ResponseReasoning.java:27–29

setEffort

public void setEffort(String effort)

设置 setEffort。

Sets the effort.

参数Parameters
名称Name类型Type说明Description
effortStringeffort(类型 `String`)。The effort.
源码Source io/agentscope/runtime/protocol/responseapi/model/ResponseReasoning.java:31–33

getSummary

public String getSummary()

获取摘要。

Returns the summary.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/protocol/responseapi/model/ResponseReasoning.java:35–37

setSummary

public void setSummary(String summary)

设置摘要。

Sets the summary.

参数Parameters
名称Name类型Type说明Description
summaryString摘要(类型 `String`)。The summary.
源码Source io/agentscope/runtime/protocol/responseapi/model/ResponseReasoning.java:39–41
基于官方固定版本源码静态生成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.