RAGFlowResponse
@JsonIgnoreProperties(ignoreUnknown = true) public class RAGFlowResponse
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:32–162RAG Flow 响应,与模型服务通信并返回生成或向量化结果。位于 io.agentscope.core.rag.integration.ragflow.model 包。核心成员包括 getCode、setCode、getMessage、setMessage、getData、setData。
RAGFlow API response model.
Note: The data field may be false, null, or an object
depending on the API response. A custom deserializer (ResponseDataDeserializer) handles
these cases.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
ResponseData | 类class | 响应数据,与模型服务通信并返回生成或向量化结果。 A class in io.agentscope.core.rag.integration.ragflow.model that talks to model services and returns generated or embedded output. |
DocAgg | 类class | 文档 Agg,与模型服务通信并返回生成或向量化结果。 Document aggregation information. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public Integer getCode() | 获取 `getCode`。 Returns the code. |
public void setCode(Integer code) | 设置 `setCode`。 Sets the code. |
public String getMessage() | 获取消息。 Returns the message. |
public void setMessage(String message) | 设置消息。 Sets the message. |
public ResponseData getData() | 获取数据。 Returns the data. |
public void setData(ResponseData data) | 设置数据。 Sets the data. |
方法详情Method Detail
getCode
public Integer getCode()
获取 getCode。
Returns the code.
Integerio/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:45–47setCode
public void setCode(Integer code)
设置 setCode。
Sets the code.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
code | Integer | code(类型 `Integer`)。The code. |
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:49–51getMessage
public String getMessage()
获取消息。
Returns the message.
Stringio/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:53–55setMessage
public void setMessage(String message)
设置消息。
Sets the message.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
message | String | 消息(类型 `String`)。The message. |
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:57–59getData
public ResponseData getData()
获取数据。
Returns the data.
ResponseDataio/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:61–63setData
public void setData(ResponseData data)
设置数据。
Sets the data.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | ResponseData | 数据(类型 `ResponseData`)。The data. |
io/agentscope/core/rag/integration/ragflow/model/RAGFlowResponse.java:65–67嵌套类详情Nested Class Detail
ResponseData
@JsonIgnoreProperties(ignoreUnknown = true) public static class ResponseData响应数据,与模型服务通信并返回生成或向量化结果。位于 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.
DocAgg
@JsonIgnoreProperties(ignoreUnknown = true) public static class DocAgg文档 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.