Interface: CreateCollectionOptions
Defined in: packages/agentos/src/rag/IVectorStore.ts:234
Options for creating a new collection/index in the vector store. CreateCollectionOptions
Properties
overwriteIfExists?
optionaloverwriteIfExists:boolean
Defined in: packages/agentos/src/rag/IVectorStore.ts:236
If a collection with the same name exists, should it be overwritten?
providerSpecificParams?
optionalproviderSpecificParams:Record<string,any>
Defined in: packages/agentos/src/rag/IVectorStore.ts:239
Any other parameters specific to the vector store provider for collection creation (e.g., indexing options, cloud region).
replicas?
optionalreplicas:number
Defined in: packages/agentos/src/rag/IVectorStore.ts:237
Number of replicas for the collection (if supported).
shards?
optionalshards:number
Defined in: packages/agentos/src/rag/IVectorStore.ts:238
Number of shards for the collection (if supported).
similarityMetric?
optionalsimilarityMetric:"cosine"|"euclidean"|"dotproduct"
Defined in: packages/agentos/src/rag/IVectorStore.ts:235
The similarity metric for the collection.