Skip to main content
Represents a collection of knowledge records as strings. This class stores multiple knowledge records that can be used for information retrieval or other knowledge-based operations.

Constructor

new KnowledgeRecords(
    records: string[]
): KnowledgeRecords
Creates a new KnowledgeRecords instance.

Parameters

records (string[]) The list of knowledge records to store.

Returns

KnowledgeRecords Overrides: AbstractApiDataType.constructor

Properties

records

readonly records: string[]
The stored knowledge records.