Lightning-Fast Code Assistant with Groq in VSCode

Image description

In this tutorial, I’ll show you how to integrate Groq’s cloud-based language models as a code assistant in Visual Studio Code (and Jetrbains) using the CodeGPT extension.

You’ll learn to set up an AI-powered coding assistant to enhance your productivity.

First, What is Groq?

Groq is the AI infrastructure company that delivers fast AI inference.

The LPU™ Inference Engine by Groq is a hardware and software platform that delivers exceptional compute speed, quality, and energy efficiency.

Let’s begin!

To use Groq’s services, you must first create an account on Groq Cloud by accessing the following link: https://console.groq.com/

Image description

Once you’re logged in, navigate to the API Keys section in the main menu.

Image description

Create a new API Key and copy it.

Image description

Next, you need to open VSCode and install the CodeGPT extension.

Image description

Open CodeGPT in VSCode and in the main selector, select Groq as the provider.

Image description

Now select “Connect” and you’ll see the window to paste the API Key you just created. Paste it and then click Connect.

Image description

Excellent! We’re now connected with Groq.

Next, we’ll select a model from the ones Groq has available. With CodeGPT, you’ll always have an updated list of models, so you’ll be able to see each new release directly in CodeGPT.

In this case, we’ll be working with the llama3–70b-8192 model.

Image description

Once the model is selected, we can start using the features offered by CodeGPT.

Explain a file:

In the CodeGPT text input, we select the /Explain option, then use the @ symbol to select a file from our project, and when we press Enter, Llama3 will provide a complete explanation of the ENTIRE file.

Image description

Document a file:

It seems like there’s no content to translate. Could you please provide the text you’d like me to translate into native English? I’ll be happy to assist you.

Image description

Experience the speed of Groq in software development with CodeGPT as your code assistant!


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
바바쿤에는 햄드라이아스 바바쿤, 기니 바바쿤, 올리브 바바쿤, 노랑 바바쿤, 킨다 바바쿤 및 차크마 바바쿤 등 여섯 종이 있습니다.