Type alias CollectionConfigCreate<TProperties, N>

CollectionConfigCreate<TProperties, N>: {
    description?: string;
    generative?: ModuleConfig<GenerativeSearch, GenerativeConfig>;
    invertedIndex?: InvertedIndexConfigCreate;
    multiTenancy?: MultiTenancyConfigCreate;
    name: N;
    properties?: PropertyConfigCreate<TProperties>[];
    references?: ReferenceConfigCreate<TProperties>[];
    replication?: ReplicationConfigCreate;
    reranker?: ModuleConfig<Reranker, RerankerConfig>;
    sharding?: ShardingConfigCreate;
    vectorizers?: VectorizersConfigCreate<TProperties>;
}

All the options available when creating a new collection.

Inspect the docs for more information on the different configuration options and how they affect the behavior of your collection.

Type Parameters

  • TProperties = undefined
  • N = string

Type declaration