WebKnowledgeSourceParams interface
指定 Web 知识源的运行时参数
属性
| count | 要返回的 Web 结果数。 |
| freshness | 网络结果的新鲜度。 |
| kind | 多态鉴别器,它指定此对象可以的不同类型的 |
| language | 网络结果的语言。 |
| market | 网络结果的市场。 |
继承属性
| always |
指示此知识源应绕过源选择,并始终在检索时进行查询。 |
| include |
指示是否应为从此源检索的数据包含引用。 |
| include |
指示引用是否应在其有效负载中包含检索期间获得的结构化数据。 |
| knowledge |
参数应用到的索引的名称。 |
| reranker |
所有检索到的文档必须满足重新排序器阈值才能包含在响应中。 |
属性详细信息
count
要返回的 Web 结果数。
count?: number
属性值
number
freshness
网络结果的新鲜度。
freshness?: string
属性值
string
kind
多态鉴别器,它指定此对象可以的不同类型的
kind: "web"
属性值
"web"
language
网络结果的语言。
language?: string
属性值
string
market
网络结果的市场。
market?: string
属性值
string
继承属性详细信息
alwaysQuerySource
指示此知识源应绕过源选择,并始终在检索时进行查询。
alwaysQuerySource?: boolean
属性值
boolean
includeReferences
指示是否应为从此源检索的数据包含引用。
includeReferences?: boolean
属性值
boolean
includeReferenceSourceData
指示引用是否应在其有效负载中包含检索期间获得的结构化数据。
includeReferenceSourceData?: boolean
属性值
boolean
knowledgeSourceName
rerankerThreshold
所有检索到的文档必须满足重新排序器阈值才能包含在响应中。
rerankerThreshold?: number
属性值
number