DocumentInfo
@JsonIgnoreProperties(ignoreUnknown = true) public static class DocumentInfo
源码Source
io/agentscope/core/rag/integration/dify/model/DifyResponse.java:346–378文档信息,与模型服务通信并返回生成或向量化结果。位于 io.agentscope.core.rag.integration.dify.model 包。核心成员包括 getId、setId、getDataSourceType、setDataSourceType、getName、setName。
Document information nested within a segment.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getId() | 获取标识。 Returns the id. |
public void setId(String id) | 设置标识。 Sets the id. |
public String getDataSourceType() | 获取数据来源类型。 Returns the data source type. |
public void setDataSourceType(String dataSourceType) | 设置数据来源类型。 Sets the data source type. |
public String getName() | 获取名称。 Returns the name. |
public void setName(String name) | 设置名称。 Sets the name. |
方法详情Method Detail
getId
public String getId()
获取标识。
Returns the id.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/rag/integration/dify/model/DifyResponse.java:355–357setId
public void setId(String id)
设置标识。
Sets the id.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
id | String | 标识(类型 `String`)。The id. |
源码Source
io/agentscope/core/rag/integration/dify/model/DifyResponse.java:359–361getDataSourceType
public String getDataSourceType()
获取数据来源类型。
Returns the data source type.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/rag/integration/dify/model/DifyResponse.java:363–365setDataSourceType
public void setDataSourceType(String dataSourceType)
设置数据来源类型。
Sets the data source type.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
dataSourceType | String | 数据来源类型(类型 `String`)。The data source type. |
源码Source
io/agentscope/core/rag/integration/dify/model/DifyResponse.java:367–369getName
public String getName()
获取名称。
Returns the name.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/rag/integration/dify/model/DifyResponse.java:371–373setName
public void setName(String name)
设置名称。
Sets the name.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
name | String | 名称(类型 `String`)。The name. |
源码Source
io/agentscope/core/rag/integration/dify/model/DifyResponse.java:375–377