Interface defining the arguments required to create an instance of the OpenSearchVectorStore class. It includes the OpenSearch client, index name, and vector search options.

interface OpenSearchClientArgs {
    client: Client;
    indexName?: string;
    metadataFieldName?: string;
    service?: "es" | "aoss";
    textFieldName?: string;
    vectorFieldName?: string;
    vectorSearchOptions?: VectorSearchOptions;
}

Properties

client: Client
indexName?: string
metadataFieldName?: string
service?: "es" | "aoss"
textFieldName?: string
vectorFieldName?: string
vectorSearchOptions?: VectorSearchOptions

Generated using TypeDoc