vectorStore

Creates a vector store client for storing and searching embeddings. Supports in-memory, Pinecone, Milvus, Qdrant and Chroma.

vectorStore([config]) → returns any

This function requires Adobe ColdFusion 2025.0.8 and up.  Not supported on Lucee, etc.

Argument Reference

config struct

Struct with provider, connection and collection settings. Defaults to an in-memory store with the built-in all_minilm embedding model.

Examples
Sample code invoking the vectorStore function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub