AS AgentScopeAPI 手册 / API Reference

Query

@JsonIgnoreProperties(ignoreUnknown = true) public static class Query
源码Source io/agentscope/core/rag/integration/dify/model/DifyResponse.java:69–80

查询,与模型服务通信并返回生成或向量化结果。位于 io.agentscope.core.rag.integration.dify.model 包。核心成员包括 getContent、setContent。

Query information from the response.

方法摘要Method Summary

方法Method说明Description
public String getContent()
获取内容。
Returns the content.
public void setContent(String content)
设置内容。
Sets the content.

方法详情Method Detail

getContent

public String getContent()

获取内容。

Returns the content.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/rag/integration/dify/model/DifyResponse.java:73–75

setContent

public void setContent(String content)

设置内容。

Sets the content.

参数Parameters
名称Name类型Type说明Description
contentString内容(类型 `String`)。The content.
源码Source io/agentscope/core/rag/integration/dify/model/DifyResponse.java:77–79
基于官方固定版本源码静态生成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.