agentskit.js

MongoAtlasVectorConfig

Auto-generated API reference for MongoAtlasVectorConfig.

Interface: MongoAtlasVectorConfig

Defined in: memory/src/vector/mongo-atlas.ts:19

#Properties

#collection

collection: MongoCollectionLike

Defined in: memory/src/vector/mongo-atlas.ts:20


#indexName

indexName: string

Defined in: memory/src/vector/mongo-atlas.ts:22

Atlas Search index name on the embedding field.


#numCandidates?

optional numCandidates?: number

Defined in: memory/src/vector/mongo-atlas.ts:26

numCandidates for $vectorSearch. Default topK * 10.


#topK?

optional topK?: number

Defined in: memory/src/vector/mongo-atlas.ts:27


#vectorField?

optional vectorField?: string

Defined in: memory/src/vector/mongo-atlas.ts:24

Field that holds the embedding vector. Default embedding.

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page