3 ms·
Show HN: Smolex – A code retrieval ChatGPT Plugin for Python
The problem: We're chatting with ChatGPT about our code, right? And we've got to manually piece together a context to feed the AI, especially when that token limit comes into play. ;)
Here's where Smolex jumps in. It allows ChatGPT to pull up context directly from your codebase (it's a plugin that just runs on localhost), making our back-and-forths about code more like a conversation and less like a chore.
I find it's a real lifesaver when writing new tests based on old ones. Smolex can provide ChatGPT with the existing tests for context.
Heads up, though, this tool's super experimental - basically, it's been cooked up to scratch my own itch.
- zainhoda 3y agoLooks promising! Any thoughts about making this a VSCode extension?
- Livioso 3y agoI view this as more of a temporary solution till GitHub Copilot Chat is publicly available.
- lgas 3y agoThis is similar to an idea I've been kicking around but haven't had the time to work on. Will definitely give it a try as soon as I get a chance, but FWIW it looks like the requirements.txt is out of data, as the code mentions llama_index but requirements.txt does not.
- Livioso 3y agoThanks, fixed. :)