BaseKnowledgeSourceParams interface

知識來源執行參數的基礎型態。

屬性

alwaysQuerySource

表示此知識來源應該略過來源選取,並一律在擷取時進行查詢。

failOnError

表示如果從此知識來源的檢索遇到錯誤,整個檢索請求應該會失敗。 預設為 False。

includeReferences

指出是否應包含從此來源擷取的資料的參考。

includeReferenceSourceData

指出參照是否應該在其承載中包含擷取期間取得的結構化資料。

kind

可能的判別符值:searchIndex、azureBlob、indexedSharePoint、indexedOneLake、web、file、indexedSQL

knowledgeSourceName

參數套用的索引名稱。

maxOutputDocuments

限制從此知識來源回傳的文件數量。

rerankerThreshold

所有擷取的文件都必須符合重新排序器臨界值,才能包含在回應中。

屬性詳細資料

alwaysQuerySource

表示此知識來源應該略過來源選取,並一律在擷取時進行查詢。

alwaysQuerySource?: boolean

屬性值

boolean

failOnError

表示如果從此知識來源的檢索遇到錯誤,整個檢索請求應該會失敗。 預設為 False。

failOnError?: boolean

屬性值

boolean

includeReferences

指出是否應包含從此來源擷取的資料的參考。

includeReferences?: boolean

屬性值

boolean

includeReferenceSourceData

指出參照是否應該在其承載中包含擷取期間取得的結構化資料。

includeReferenceSourceData?: boolean

屬性值

boolean

kind

可能的判別符值:searchIndex、azureBlob、indexedSharePoint、indexedOneLake、web、file、indexedSQL

kind: string

屬性值

string

knowledgeSourceName

參數套用的索引名稱。

knowledgeSourceName: string

屬性值

string

maxOutputDocuments

限制從此知識來源回傳的文件數量。

maxOutputDocuments?: number

屬性值

number

rerankerThreshold

所有擷取的文件都必須符合重新排序器臨界值,才能包含在回應中。

rerankerThreshold?: number

屬性值

number