WebKnowledgeSourceParams interface

Specifies runtime parameters for a web knowledge source

Extends

Properties

count

The number of web results to return.

freshness

The freshness of web results.

kind

The discriminator value.

language

The language of the web results.

market

The market of the web results.

Inherited Properties

alwaysQuerySource

Indicates that this knowledge source should bypass source selection and always be queried at retrieval time.

enableImageServing

Indicates whether image serving should be enabled for this knowledge source at retrieval time. When true, images extracted during ingestion are delivered to downstream models.

failOnError

Indicates that the entire retrieval request should fail if retrieval from this knowledge source encounters an error. Defaults to false.

includeReferences

Indicates whether references should be included for data retrieved from this source.

includeReferenceSourceData

Indicates whether references should include the structured data obtained during retrieval in their payload.

knowledgeSourceName

The name of the index the params apply to.

maxOutputDocuments

Limits the maximum number of documents returned from this knowledge source.

rerankerThreshold

The reranker threshold all retrieved documents must meet to be included in the response.

Property Details

count

The number of web results to return.

count?: number

Property Value

number

freshness

The freshness of web results.

freshness?: string

Property Value

string

kind

The discriminator value.

kind: "web"

Property Value

"web"

language

The language of the web results.

language?: string

Property Value

string

market

The market of the web results.

market?: string

Property Value

string

Inherited Property Details

alwaysQuerySource

Indicates that this knowledge source should bypass source selection and always be queried at retrieval time.

alwaysQuerySource?: boolean

Property Value

boolean

Inherited From KnowledgeSourceParams.alwaysQuerySource

enableImageServing

Indicates whether image serving should be enabled for this knowledge source at retrieval time. When true, images extracted during ingestion are delivered to downstream models.

enableImageServing?: boolean

Property Value

boolean

Inherited From KnowledgeSourceParams.enableImageServing

failOnError

Indicates that the entire retrieval request should fail if retrieval from this knowledge source encounters an error. Defaults to false.

failOnError?: boolean

Property Value

boolean

Inherited From KnowledgeSourceParams.failOnError

includeReferences

Indicates whether references should be included for data retrieved from this source.

includeReferences?: boolean

Property Value

boolean

Inherited From KnowledgeSourceParams.includeReferences

includeReferenceSourceData

Indicates whether references should include the structured data obtained during retrieval in their payload.

includeReferenceSourceData?: boolean

Property Value

boolean

Inherited From KnowledgeSourceParams.includeReferenceSourceData

knowledgeSourceName

The name of the index the params apply to.

knowledgeSourceName: string

Property Value

string

Inherited From KnowledgeSourceParams.knowledgeSourceName

maxOutputDocuments

Limits the maximum number of documents returned from this knowledge source.

maxOutputDocuments?: number

Property Value

number

Inherited From KnowledgeSourceParams.maxOutputDocuments

rerankerThreshold

The reranker threshold all retrieved documents must meet to be included in the response.

rerankerThreshold?: number

Property Value

number

Inherited From KnowledgeSourceParams.rerankerThreshold