🔎Chroma (Vector Database)
Also known as ChromaDB, Chroma DB
A free vector database that anyone can use. You can start in minutes.
Think of it like
It is like a notebook on your own desk. You can start right away.
Example
Emma tests a RAG idea on her laptop. She runs pip install chromadb, adds 300 notes and asks questions within ten minutes.
Why it matters
Definition
Example code
python
import chromadb
notes = chromadb.Client().create_collection("notes")
notes.add(documents=["The gym opens at 6am."], ids=["n1"])
notes.query(query_texts=["When does the gym open?"], n_results=1)Common mistake
Key takeaways
- 1Quick start. One install, a few lines.
- 2Makes embeddings. Hand it text, not vectors.
- 3Laptop or server. Same code, two ways to run.