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.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/rag/integration/dify/model/DifyResponse.java:73–75setContent
public void setContent(String content)
设置内容。
Sets the content.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
content | String | 内容(类型 `String`)。The content. |
源码Source
io/agentscope/core/rag/integration/dify/model/DifyResponse.java:77–79