# 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.

Page: https://datautility.in/chromadb-playground
This is the Markdown copy of the page. The tool itself runs in the browser: your files are processed on your own device and are not uploaded.

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

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

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

## What it does

- Python IDE with a README and a ready DeepEval G-Eval project
- Chunks stored in ChromaDB: see them, search them, connect your own agent
- LLM as a judge, with a score and a reason per answer
- Tokens, latency and runs in MLflow

## Tips

- Run the same eval with two chunk sizes and compare the runs in MLflow.
- Read the reasons: a judge that gives everything full marks measures nothing.
- Plant a wrong expected answer to check that your judge fails it.

## Example

Input:

```
handbook.pdf, recursive chunks of 500 characters
```

Output:

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

## 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

- [Free AI Evals Lab (Beta)](https://datautility.in/ai-evals-lab): Free AI evals lab in Docker: grade a RAG app with an LLM judge (DeepEval), store chunks in ChromaDB, track runs in MLflow. Use your own Gemini, Claude or OpenAI key.
- [LLM as a Judge Playground: Grade AI Answers Free](https://datautility.in/llm-as-a-judge-playground): Try LLM as a judge free on your laptop: write a judge prompt or a DeepEval G-Eval metric, run it on every test question and read a score and a reason for each answer.
- [RAG Evaluation Playground: Test Chunking and Retrieval](https://datautility.in/rag-evaluation-playground): Evaluate a RAG app free on your computer: chunk a document into ChromaDB, test retrieval by meaning, grade every answer and compare chunk sizes side by side in MLflow.
- [DeepEval Playground: Try G-Eval Free on Your Laptop](https://datautility.in/deepeval-playground): Learn DeepEval hands-on, free: a Python IDE with a ready G-Eval project, goldens.csv, your own Gemini, Claude or OpenAI key and MLflow tracking. Runs in Docker.

## Topic guides

- [Free Data Engineering Playgrounds: PySpark, Delta Lake and dbt](https://datautility.in/guides/data-engineering-playgrounds)

## Guides

- [How to Evaluate a RAG App With an LLM as a Judge (Free, on Your Own Laptop)](https://datautility.in/blog/how-to-evaluate-rag-app-llm-as-a-judge-free-lab)
- [Which Chunk Size Is Best for RAG? Run the Experiment on Your Own Document](https://datautility.in/blog/rag-chunk-size-best-chunking-strategy-experiment)
- [Can You Trust an LLM as a Judge? Five Ways to Check Your Judge Before You Rely on It](https://datautility.in/blog/can-you-trust-llm-as-a-judge-check-your-judge)
- [Free AI Evals Lab: Learn LLM Evaluation With Only Docker (DeepEval, ChromaDB, MLflow)](https://datautility.in/blog/free-ai-evals-lab-docker-deepeval-chromadb-mlflow)

Open the tool: https://datautility.in/chromadb-playground
