Chroma For Code Part 1: Chunking a Codebase for Code Search

Publicado em: 21 Agosto 2025
no canal de: Chroma
8,875
163

In the first video of a three part series on code search, we walk through chunking strategies using tree-sitter, a popular parsing library. Chunking is a critical first step in building fast and efficient code search for AI agents, enabling them to retrieve important context when responding to user prompts. We’ll also learn about how Chroma supports various features optimal for code search, like semantic search, full text search, regex search and metadata filtering.

0:00 - Intro
2:02 - Chunking overview
3:19 - Tree Sitter
4:38 - Chunk file function
5:22 - collectTreeNodes function
8:49 - split function
13:31 - Demo
15:02 - Example queries in Chroma Cloud



Chroma is the open-source AI application database. Batteries included.

Embeddings, vector search, document storage, full-text search, metadata filtering, and multi-modal. All in one place. Retrieval that just works. As it should be.

Try it today:

https://trychroma.com/cloud


Nesta página do site você pode assistir ao vídeo on-line Chroma For Code Part 1: Chunking a Codebase for Code Search duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Chroma 21 Agosto 2025, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 8,875 vezes e gostou 163 espectadores. Boa visualização!