interface MomentoVectorIndexLibArgs {
    client: IVectorIndexClient;
    ensureIndexExists?: boolean;
    indexName?: string;
    textField?: string;
}

Properties

client: IVectorIndexClient

The Momento Vector Index client.

ensureIndexExists?: boolean

Whether to create the index if it does not already exist. Defaults to true.

indexName?: string

The name of the index to use to store the data. Defaults to "default".

textField?: string

The name of the metadata field to use to store the text of the document. Defaults to "text".