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
In questa pagina del sito puoi guardare il video online Chroma For Code Part 1: Chunking a Codebase for Code Search della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Chroma 21 agosto 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 8,875 volte e gli è piaciuto 163 spettatori. Buona visione!