https://github.com/bajrangcoder/acode-plugin-chatgpt
ChatGPT plugin for Acode
https://github.com/bajrangcoder/acode-plugin-chatgpt
Last synced: 12 months ago
JSON representation
ChatGPT plugin for Acode
- Host: GitHub
- URL: https://github.com/bajrangcoder/acode-plugin-chatgpt
- Owner: bajrangCoder
- License: mit
- Created: 2023-03-20T06:37:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-21T07:52:09.000Z (over 1 year ago)
- Last Synced: 2025-03-29T18:36:29.092Z (about 1 year ago)
- Language: JavaScript
- Size: 1.2 MB
- Stars: 54
- Watchers: 2
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: License.md
Awesome Lists containing this project
README
AI Assistant Beta
=========
> Rewritten ChatGPT plugin
AI Assistant plugin for Acode for all the ai related stuffs with support of wide range of models.
> Work in progress...
**Note:** This is beta version but features are kind off stable and usable.(But many stuffs are still missing check todo section)
## Supported Providers
- [OpenAi](https://platform.openai.com/account/api-keys) 🙂
- [Google](https://makersuite.google.com/app/apikey) 😍
- [Ollama](https://ollama.com/) 😍
- [Groq](https://console.groq.com/keys) 😍
- [Mistral](https://mistral.ai/) 😕
- [Anthropic](https://www.anthropic.com/api) 😕
### Emoji Code Docs
- 😍 : Best and Recommended for beginners
- 🙂 : Costly
- 😕 : It will work but currently not added because I don't have key to test it.
## Usage (for contributors)
- Clone the repo
- `pnpm install`
- `pnpm build`
- then it will produce a `AI.zip`, just install it inside acode using local method
Features
-----------
- User-friendly interface for easy communication with AI
- AI remembers previous responses to provide more personalized suggestions
- View Chat History
- Syntax highlighting and markdown styling, etc
## Todo
- [x] encrypt the api key and then save it securely
- [x] Implement multiple model providers for increased versatility
- [x] Enhance history mechanism and introduce history context for AI interactions
- [x] Optimize history trimming to selectively share context without revealing entire history
- [x] Add user interface option for direct selection of model providers or specific models
- [ ] Integrate support for current file context to enhance AI responses
- [ ] Rewrite image generation feature to improve functionality and performance
- [ ] Implement quick access options directly within the editor interface
- [ ] Display available tokens and usage details in the chat interface
- [ ] Improve logging mechanism for better transparency and troubleshooting
- [x] Beautify and refactor codebase for improved readability and maintainability*
How to use:
-----------
To use AI Assistant, simply search for `"AI Assistant"` in the **command palette (Ctrl-Shift-P)** to open the chat interface. From there, you can communicate with the AI and receive helpful suggestions and solutions.
First, it will prompt you for a passphrase (remember it), which will be used to securely save the API key. Then, it will ask you to select a provider and enter the API key for that provider. It will load the available models on your account. Select the model and start the communication.
**Note**: You can change providers or models from the chat interface by using the triple vertical dots icon.
Contributing
-----------
If you're interested in contributing to the development of AI Assistant plugin, you can do so by submitting issues or pull requests.
Checkout Todos and help in implementing those.
Contributers
-----------