Package version:

Interface SemanticConfiguration

Defines a specific configuration to be used in the context of semantic capabilities.

interface SemanticConfiguration {
    flightingOptIn?: boolean;
    name: string;
    prioritizedFields: SemanticPrioritizedFields;
    rankingOrder?: string;
}

Properties

flightingOptIn?: boolean

Determines which semantic or query rewrite models to use during model flighting/upgrades.

name: string

The name of the semantic configuration.

prioritizedFields: SemanticPrioritizedFields

Describes the title, content, and keyword fields to be used for semantic ranking, captions, highlights, and answers. At least one of the three sub properties (titleField, prioritizedKeywordsFields and prioritizedContentFields) need to be set.

rankingOrder?: string

Specifies the score type to be used for the sort order of the search results.