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 not available in packages #1166

Closed
psilonpneuma opened this issue Jun 18, 2024 · 2 comments
Closed

GROQ client not available in packages #1166

psilonpneuma opened this issue Jun 18, 2024 · 2 comments

Comments

@psilonpneuma
Copy link

It seems that GROQ is available as lm = dspy.GROQ(model='mixtral-8x7b-32768', api_key ="gsk_***" )

Nonetheless I am getting an Attribute Error when instantiating the LLM as specified in the docs. There does not seem to be a groq_client module in my package installation.

Screenshot 2024-06-18 at 11 46 18

Using:
python v3.11.9
dspy==0.1.5

@mlederbauer
Copy link
Contributor

Hi! Can you or have you tried updating dspy? It seems that you use an older version, it worked fine for me for dspy==2.4.x

@psilonpneuma
Copy link
Author

Thank you! Issue resolved :)

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