Engineering
How Watari maps a support ticket to a file and function — pgvector, tree-sitter, and a Claude rerank
Watari maps each extracted bug to a specific file and function in your GitHub repository by chunking your code with tree-sitter, embedding every chunk with OpenAI text-embedding-3-small, indexing the embeddings in pgvector, and reranking the top-K candidates with Claude before opening a draft pull request.