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
En esta página del sitio puede ver el video en línea Chroma For Code Part 1: Chunking a Codebase for Code Search de Duración hora minuto segunda en buena calidad , que subió el usuario Chroma 21 agosto 2025, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 8,875 veces y le gustó 163 a los espectadores. Disfruta viendo!