3 ms·
I'd piggyback this comment to ask if anyone could share how codebase prompts work? Given the max tokens per request, do the extensions look at your currently o
by thomasfromcdnjs 3y ago
I'd piggyback this comment to ask if anyone could share how codebase prompts work?
Given the max tokens per request, do the extensions look at your currently open file, and use some vector similarity to find other files that could be relevant (if embeddings were generated for all files in the project), and then inject relevant source. And/or is it even more complex, by using AST parsing and creating embeddings out of actual linked functions?
- sagarpatil 3y agoThere are YouTube videos that go into detail. From what I can remember, it first creates an embedding of your full code, it then refers to your open file and the files next to your current tab, it then extracts the most useful code related to your question.
- clbrmbr 3y agoCan you share a video link?