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

Groq's API support #200

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

Groq's API support #200

pramatias opened this issue Mar 15, 2024 · 3 comments

Comments

@pramatias
Copy link

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

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