Initialization options for the Azure CosmosDB for NoSQL database and container.

Note that if you provides multiple vector embeddings in the vectorEmbeddingPolicy, the first one will be used for creating documents and searching.

interface AzureCosmosDBNoSQLInitOptions {
    createContainerOptions?: Partial<Omit<ContainerRequest, "id" | "vectorEmbeddingPolicy" | "indexingPolicy">>;
    createDatabaseOptions?: Partial<Omit<DatabaseRequest, "id">>;
    indexingPolicy?: IndexingPolicy;
    vectorEmbeddingPolicy?: VectorEmbeddingPolicy;
}

Hierarchy (view full)

Properties

createContainerOptions?: Partial<Omit<ContainerRequest, "id" | "vectorEmbeddingPolicy" | "indexingPolicy">>
createDatabaseOptions?: Partial<Omit<DatabaseRequest, "id">>
indexingPolicy?: IndexingPolicy
vectorEmbeddingPolicy?: VectorEmbeddingPolicy