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
Sur cette page du site, vous pouvez voir la vidéo en ligne Chroma For Code Part 1: Chunking a Codebase for Code Search durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Chroma 21 août 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8,875 fois et il a aimé 163 téléspectateurs. Bon visionnage!