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 Client #3003

Merged
merged 6 commits into from
Jun 28, 2024
Merged

Groq Client #3003

merged 6 commits into from
Jun 28, 2024

Conversation

marklysze
Copy link
Collaborator

@marklysze marklysze commented Jun 23, 2024

This is a Groq Client that provides a way to use the, rather fast, Groq cloud inference service, which provides options to use a few LLMs, such as Meta's Llama 3 and Mistral.AI's Mixtral.

This client supports text generation and function/tool calling (when using certain models as noted by Groq).

Streaming is support, including with function/tool calling.

Token costs are also implemented.

Checks

@marklysze marklysze added the alt-models Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.) label Jun 23, 2024
@marklysze marklysze self-assigned this Jun 23, 2024
@marklysze
Copy link
Collaborator Author

LGTM! Thanks Mark!

Great :)

@marklysze
Copy link
Collaborator Author

Sorry, found a bug when testing logging. Minor but will fix if someone wants to log this (or Together.AI)

@marklysze
Copy link
Collaborator Author

Fixed, thank you, good to go :)

Copy link
Collaborator

@Hk669 Hk669 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. thanks @marklysze

@Hk669
Copy link
Collaborator

Hk669 commented Jun 28, 2024

@marklysze if this is merged before the blogpost on non-openai models, please also add the Groq Client in the blogpost.

@marklysze
Copy link
Collaborator Author

@marklysze if this is merged before the blogpost on non-openai models, please also add the Groq Client in the blogpost.

Good call, will do

@qingyun-wu qingyun-wu added this pull request to the merge queue Jun 28, 2024
Merged via the queue into main with commit 23c1dec Jun 28, 2024
125 of 142 checks passed
@qingyun-wu qingyun-wu deleted the groqclient branch June 28, 2024 06:04
@marklysze
Copy link
Collaborator Author

Thanks @qingyun-wu! @Hk669, I've updated the blog #2965.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alt-models Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants