Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Groq support #200

Open
pramatias opened this issue Mar 15, 2024 · 4 comments
Open

[Feature request] Groq support #200

pramatias opened this issue Mar 15, 2024 · 4 comments

Comments

@pramatias
Copy link

pramatias commented Mar 15, 2024

Please 👍 this feature request if you want chatgpt-shell to support different models (see parent feature request). Also consider sponsoring to make this project sustainable. The AI space moves fast and bringing new features and integrations is a lot of work.

Hello, will there be an option to add groq-shell as an additional option to chatgpt-shell? I would add it myself, but i am not that well versed in elisp for the moment.

From groq's website [1]:
" Groq's APIs are designed to be compatible with OpenAI's, with the goal of making it easy to leverage Groq in applications you may have already built. However, there are some nuanced differences where support is not yet available."

I wrote a very simple example to illustrate how easy it is to use Groq's API, in Rust [2]. Groq is so fast that while a streaming token flag can be enabled, it's totally unnecessary. A simple request i did, took 70 ms to complete.

[1] https://console.groq.com/docs/openai
[2] https://github.com/pramatias/groq_test

@xenodium
Copy link
Owner

Thanks for filing.

After initial requests to make the codebase more reusable for other services, I built https://xenodium.com/a-shell-maker in the hope folks using different providers would fill the gap. This didn't quite pan out.

I've been meaning to fill part of this gap myself, but haven'd had a chance to. Need to give it more thought. The example you shared helps. Thank you.

@pramatias
Copy link
Author

Hello @xenodium . I used chatgpt-shell but now i've switched to gptel. I like the unobtrusive idea of gptel better.

Project's author karthink managed to integrate groq's api to gptel pretty easily (see gptel's readme). Anyway best of luck to you and your project chatgpt-shell. Cheers!

@xenodium
Copy link
Owner

Thanks for the follow-up. I'll keep this issue open to track Groq support.

On a somewhat related note, I've been experimenting with a hybrid model to interact with the shell https://xenodium.com/a-chatgpt-shell-compose-ux-experiment

@xenodium xenodium closed this as completed Oct 4, 2024
@xenodium xenodium reopened this Oct 4, 2024
@xenodium xenodium changed the title Groq's API support [Feature request] Groq's API support Oct 4, 2024
@xenodium xenodium changed the title [Feature request] Groq's API support [Feature request] Groq support Nov 13, 2024
@xenodium
Copy link
Owner

I'd like to make Grok support happen, but first need some base work. If still keen, please upvote to gauge interest #244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants