DocAgg
@JsonIgnoreProperties(ignoreUnknown = true) public static class DocAgg
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:112–161文档 Agg,与模型服务通信并返回生成或向量化结果。位于 io.agentscope.core.rag.integration.ragflow.model 包。核心成员包括 getDocId、setDocId、getDocName、setDocName、getCount、setCount。
Document aggregation information.
This class represents document-level aggregation data returned by RAGFlow API, showing how many chunks were retrieved from each document.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getDocId() | 获取文档标识。 Returns the doc id. |
public void setDocId(String docId) | 设置文档标识。 Sets the doc id. |
public String getDocName() | 获取文档名称。 Returns the doc name. |
public void setDocName(String docName) | 设置文档名称。 Sets the doc name. |
public Integer getCount() | 获取数量。 Returns the count. |
public void setCount(Integer count) | 设置数量。 Sets the count. |
public String toString() | 返回 `toString` 结果。 Returns the to string. |
方法详情Method Detail
getDocId
public String getDocId()
获取文档标识。
Returns the doc id.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:124–126setDocId
public void setDocId(String docId)
设置文档标识。
Sets the doc id.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
docId | String | 文档标识(类型 `String`)。The doc id. |
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:128–130getDocName
public String getDocName()
获取文档名称。
Returns the doc name.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:132–134setDocName
public void setDocName(String docName)
设置文档名称。
Sets the doc name.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
docName | String | 文档名称(类型 `String`)。The doc name. |
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:136–138getCount
public Integer getCount()
获取数量。
Returns the count.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:140–142setCount
public void setCount(Integer count)
设置数量。
Sets the count.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
count | Integer | 数量(类型 `Integer`)。The count. |
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:144–146toString
public String toString()
返回 toString 结果。
Returns the to string.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:148–160