ResponseData
@JsonIgnoreProperties(ignoreUnknown = true) public static class ResponseData
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:69–104响应数据,与模型服务通信并返回生成或向量化结果。位于 io.agentscope.core.rag.integration.ragflow.model 包。核心成员包括 getChunks、setChunks、getTotal、setTotal、getDocAggs、setDocAggs。
A class in io.agentscope.core.rag.integration.ragflow.model that talks to model services and returns generated or embedded output. Declared in io.agentscope.core.rag.integration.ragflow.model.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public List<RAGFlowChunk> getChunks() | 获取 `getChunks`。 Returns the chunks. |
public void setChunks(List<RAGFlowChunk> chunks) | 设置 `setChunks`。 Sets the chunks. |
public Integer getTotal() | 获取总数。 Returns the total. |
public void setTotal(Integer total) | 设置总数。 Sets the total. |
public List<DocAgg> getDocAggs() | 获取 `getDocAggs`。 Returns the doc aggs. |
public void setDocAggs(List<DocAgg> docAggs) | 设置 `setDocAggs`。 Sets the doc aggs. |
方法详情Method Detail
getChunks
public List<RAGFlowChunk> getChunks()
获取 getChunks。
Returns the chunks.
List<RAGFlowChunk>返回列出。Returns list.
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:81–83setChunks
public void setChunks(List<RAGFlowChunk> chunks)
设置 setChunks。
Sets the chunks.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
chunks | List<RAGFlowChunk> | 分块列表(类型 `List`)。The chunks. |
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:85–87getTotal
public Integer getTotal()
获取总数。
Returns the total.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:89–91setTotal
public void setTotal(Integer total)
设置总数。
Sets the total.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
total | Integer | 总数(类型 `Integer`)。The total. |
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:93–95getDocAggs
public List<DocAgg> getDocAggs()
获取 getDocAggs。
Returns the doc aggs.
List<DocAgg>返回列出。Returns list.
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:97–99setDocAggs
public void setDocAggs(List<DocAgg> docAggs)
设置 setDocAggs。
Sets the doc aggs.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
docAggs | List<DocAgg> | 文档 Aggs(类型 `List`)。The doc aggs. |
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:101–103