Interface TextSnippetModel

Represents a text context snippet.

TextSnippetModel

interface TextSnippetModel {
    content: string;
    reference: TypedReferenceModel;
    score: number;
    type: string;
}

Properties

content: string

The textual content of the snippet.

TextSnippetModel

TextSnippetModel

score: number

A numerical score indicating the relevance of this snippet to the query.

TextSnippetModel

type: string

The type of context snippet. Always text.

TextSnippetModel