Christopher-Hayes / vscode-chatgpt-reborn

Refactor, improve, and debug your code in VSCode with GPT-3 and GPT-4.
https://marketplace.visualstudio.com/items?itemName=chris-hayes.chatgpt-reborn
ISC License
207 stars 38 forks source link

Feature Request: Local embeddings #72

Open Christopher-Hayes opened 1 month ago

Christopher-Hayes commented 1 month ago

Hi @Christopher-Hayes , I read that chromadb supports a Javascript Client. I am not experienced with vscode exstensions, do you think we could integrate it in ChatGPT Reborn? The usecase would be: on button press embedd a set of (supported) local files and the open a chat panel to chat with them.

My only concern is that iusing a local model for embedding is tassative on cpu while using remote services like chatgpt is expensive...

https://github.com/chroma-core/chroma

Originally posted by @raphael2692 in #44