Groq

Groq

Integrating Groq

Visit and login into your groq account (or signup if you don't have an account yet)

https://console.groq.com

Click on top-right section of the console and select “API Keys” tab

Click on the “Create API Key” button to create a new API key

Enter a name for your API key as well as an expiry period if needed. By default it will be set to “no expiry”

Copy the API key from the popup box

From the dashboard of your workspace, click on the Integrations tab and then select Groq from the Artificial Intelligence section.

Paste the API key in the API key section

If you are using a self-hosted Groq instance, then paste the base URL in the input box, otherwise leave that section empty and click on Save

Using Groq Inside Flowbuilder

You can use groq inside the flowbuilder using an action node. Create an action node and head over to the integrations tab. And scroll down and select Groq.

Currently, following actions are supported:

Create Chat Completions: This is same as OpenAI’s chat completion, use for basic text completion actions

Clear Remembered Chat History: This is for clearing any context previously stored during conversations with the user.

List Models: This action lists all the available models for your account

Vision - Image to Text: This action analyzes an image provided as input and output a text based on the prompt you provided.

Text to Speech: This is used for converting a block of text into an audio

Speech to Text: This is used for converting audio into transcribed text.

Translate audio into English: This is used for transcribing an audio into a block of text specifically in english language

Using Groq Inside AI Agents

Groq can also be used inside AI Agents by selecting it from the Settings tab

The default model will be llama-3.1-8b-instant

Using Groq Inside AI Tasks

Groq can also be used inside AI tasks, by selecting it from the drop down.