Actify AI is a text-based search application. It utilizes the Google Generative AI API to generate responses based on the provided input.
- Accepts user input and sends it to the AI model for a response.
- Displays the conversation history between the user and the AI model.
- Provides a loading indicator while the AI model is processing the user's input.
- Includes a reset button to clear the conversation history.
- Next.js
- Google Generative AI API
- React Icons
- Clone the repository:
https://github.com/shaunniekins/actify-ai.git
- Install the dependencies:
cd chatgpt-like-dashboard
npm install
- Create a
.env.local
file in the root directory and add your Google Generative AI API key:
NEXT_PUBLIC_GOOGLE_API_KEY=your-api-key-here
- Start the development server:
npm run dev
- Open the application in your browser at
http://localhost:3000
.
- Enter a prompt in the input field at the bottom of the dashboard.
- Press the "Enter" key to send the prompt to the AI model.
- The AI's response will be displayed in the conversation history.
- Click the reset button to clear the conversation history.