Chunk a Document Into ChromaDB: Free Local Vector DB

Upload a document, pick a chunking method and see every chunk and vector stored in ChromaDB, free in Docker. Then connect your own AI agent to that database. No API key.

Quick answer: A free lab in Docker: chunk documents into ChromaDB, grade answers with DeepEval, track runs in MLflow.

Related: Free AI Evals Lab (Beta) · LLM as a Judge Playground: Grade AI Answers Free · RAG Evaluation Playground: Test Chunking and Retrieval · DeepEval Playground: Try G-Eval Free on Your Laptop · Free Data Engineering Playgrounds: PySpark, Delta Lake and dbt

How to use the Chunk a Document Into ChromaDB: Free Local Vector DB

A free lab in Docker: chunk documents into ChromaDB, grade answers with DeepEval, track runs in MLflow.

The Free AI Evals Lab teaches you AI evals on your own computer. One Docker command starts a lab with Python, DeepEval, ChromaDB and MLflow. Chunk a document into a vector database, write test questions, then grade your RAG app with an LLM as a judge in a built-in Python IDE. See a score and a reason for every answer, and compare every run in MLflow. Bring your own Gemini, Claude or OpenAI key.

  1. Start the lab with the Docker commands
  2. Add your API key (not needed for the Vector DB tab)
  3. Open the Python IDE and run python run_eval.py

Tips

Example

Input: handbook.pdf, recursive chunks of 500 characters

Output: A ChromaDB collection you can search by meaning and connect to from Python

Browse by topic

Who uses Data Utility

Frequently asked questions · Data format benchmark

Frequently asked questions

Which vector database does the lab use?

ChromaDB, an open-source vector database. It runs inside the lab container and stores its data in a Docker volume. Chunks are embedded on your computer with the all-MiniLM-L6-v2 model, so no API key is needed.

Can I connect my own AI agent to the database?

Yes. Start the lab with port 8768 published, then use chromadb.HttpClient(host="localhost", port=8768) and the collection my_documents from any Python agent or framework. The app shows ready-to-copy code.

What do I need?

Docker Desktop. For the evals, an API key for Gemini, Claude or OpenAI (Gemini has a free tier). The Vector DB tab needs no key.

Is my document uploaded?

No. Files live in a Docker volume on your computer. The lab sends chunks and questions only to the model provider you chose.

Where is the chunk data stored?

In ChromaDB (vectors) and SQLite, in the Docker volume. The app shows every chunk, its position and its vector, and your own agent can connect to ChromaDB on localhost:8768.

Where do I learn DeepEval?

The lab README links the DeepEval quickstart (deepeval.com/docs/getting-started) and the G-Eval guide (deepeval.com/docs/metrics-llm-evals).

Related pages

Topic guides

Guides