Replies: 1 comment 4 replies
-
When I started programming, LSP was already a thing (as well as treesitters), so I never really learnt much about ctags. As far as I know, ctags is a way to generate symbol outlines that can be used for other tools (completions, etc.). Since this project already uses treesitter for chunking (splitting large documents into smaller pieces so that embedding models can process without truncation), I think I might be able to implement some sort of node filters that achieve this without introducing extra dependencies for ctags. This would also reduce the number of embeddings for large files, which will make queries faster. The risk of this, though, is that the embedding may lose information about implementation-level details, which IMO is also important (if all you need is a symbol map, you can do that with LSP inside neovim). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I know the aider project(https://aider.chat/) uses ctags to create its repomap. So I am wondering what the strategy is here and whether it would help with the embedding. I don't know too much about how chromaDB works under the hood, so posting this as an open question
Beta Was this translation helpful? Give feedback.
All reactions