This is a Groq Next.js setup project with a simple chat form.
To see the live website, click here.
To get started, follow these steps:
- Clone the repository:
git clone https://github.com/irfan-za/nextjs-groqAI.git
- Install the dependencies:
cd your-repo
yarn
- create
.env
file in the root folder with this value:
GROQ_API_KEY= your_api_key
- Start the development server:
yarn dev
- Open your browser and navigate to http://localhost:3000 to see the app in action.
Feel free to modify the code in the app/page.js
file to customize the chat form according to your needs.
Happy coding!