Package version:

Interface SemanticConfiguration

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

interface SemanticConfiguration {
    name: string;
    prioritizedFields: SemanticPrioritizedFields;
}

Properties

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.