通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BaseKnowledgeSourceParams interface

属性

alwaysQuerySource

指示此知识源应绕过源选择,并始终在检索时进行查询。

includeReferences

指示是否应为从此源检索的数据包含引用。

includeReferenceSourceData

指示引用是否应在其有效负载中包含检索期间获得的结构化数据。

kind

多态鉴别器,它指定此对象可以的不同类型的

knowledgeSourceName

参数应用到的索引的名称。

rerankerThreshold

所有检索到的文档必须满足重新排序器阈值才能包含在响应中。

属性详细信息

alwaysQuerySource

指示此知识源应绕过源选择,并始终在检索时进行查询。

alwaysQuerySource?: boolean

属性值

boolean

includeReferences

指示是否应为从此源检索的数据包含引用。

includeReferences?: boolean

属性值

boolean

includeReferenceSourceData

指示引用是否应在其有效负载中包含检索期间获得的结构化数据。

includeReferenceSourceData?: boolean

属性值

boolean

kind

多态鉴别器,它指定此对象可以的不同类型的

kind: "azureBlob" | "searchIndex" | "indexedSharePoint" | "indexedOneLake" | "web" | "remoteSharePoint"

属性值

"azureBlob" | "searchIndex" | "indexedSharePoint" | "indexedOneLake" | "web" | "remoteSharePoint"

knowledgeSourceName

参数应用到的索引的名称。

knowledgeSourceName: string

属性值

string

rerankerThreshold

所有检索到的文档必须满足重新排序器阈值才能包含在响应中。

rerankerThreshold?: number

属性值

number