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] updated readme for the new instructions #1405

Merged
merged 1 commit into from
Mar 6, 2024
Merged

[groq] updated readme for the new instructions #1405

merged 1 commit into from
Mar 6, 2024

Conversation

tanya-rai
Copy link
Contributor

@tanya-rai tanya-rai commented Mar 6, 2024

[groq] updated readme for the new instructions

addressed comments


Create an API key from the Groq [website](https://console.groq.com/keys) and save it in your environment under the name `GROQ_API_KEY`. We recommend saving it into your home `~/.env` file, or one of your home hidden files like `~/.bashrc` or `~/.zshrc` so that you don't need to redefine it every session whenever you open a new terminal:
1. Create an API key from the Groq [website](https://console.groq.com/keys).
2. Add the key to your home `~/env` file: `GROQ_API_KEY = '<your-api-key>'`
Copy link
Contributor

Choose a reason for hiding this comment

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

GROQ_API_KEY = '<your-api-key>' shouldn't have spaces, make it GROQ_API_KEY='<your-api-key>'


`pip3 install aiconfig-extension-groq`
NOTE: When new models are supported by the GroqAPI that you want to use, make sure to manually add them to this file (similar to how mixtral-8x7b-32768 was registered for example).
Copy link
Contributor

@rossdanlm rossdanlm Mar 6, 2024

Choose a reason for hiding this comment

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

Add backticks: mixtral-8x7b-32768


You can now use either the AIConfig SDK, VS Code extension, or local editor to use the Groq client to play around with models, modify prompts, change parameters, etc.
1. CMD+Shift+P and enter `'AIConfig: Create new AIConfig (yaml)'`
Copy link
Contributor

Choose a reason for hiding this comment

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

Use backticks for CMD+Shift+P


You can now use either the AIConfig SDK, VS Code extension, or local editor to use the Groq client to play around with models, modify prompts, change parameters, etc.
1. CMD+Shift+P and enter `'AIConfig: Create new AIConfig (yaml)'`
2. Groq models (ex. mixtral-8x7b-32768) will now be available via model dropdown for your prompts.
Copy link
Contributor

Choose a reason for hiding this comment

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

Use backticks for mixtral-8x7b-32768

Copy link
Contributor

@rossdanlm rossdanlm left a comment

Choose a reason for hiding this comment

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

Update comments pls

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

Successfully merging this pull request may close these issues.

3 participants