ChromaDB is an open-source vector database designed for AI applications. It stores embeddings locally, runs without a server, and integrates with any Python project in minutes.
Originally published at kalyna.pro
What Is ChromaDB?
A vector database stores data as high-dimensional vectors (embeddings) and lets you search by semantic similarity β not exact keyword match.
ChromaDB stands out because:
No server needed β runs in-process or as a local server
Persistent storage β data survives restarts
Built-in embeddings β uses sentence-transformers out of the box
Simple API β add, query, update, delete in a few lines
Installation
pip install chromadb pip install sentence-transformers # for default embeddings
Enter fullscreen mode
Exit fullscreen mode
Your First Collection
import chromadb
client = chromadb . Client () collection = client . create_collection ( " my_docs " )
collection . add ( documents = [ " Python is a high-level programming language.β¦