This React application is a user interface for interacting with Jarvis AI, a chatbot powered by OpenAI's API. The chatbot utilizes the OpenAI API key to facilitate frequent chat interactions with users.
- Seamless communication with Jarvis AI through a user-friendly interface.
- Real-time responses powered by OpenAI's cutting-edge language model.
- Customizable chat experience with options for personalization.
- Easy integration into existing web applications.
-
Clone the repository:
git clone https://github.com/AyushTripathi07/Jarvis-AI.git -
Navigate to the project directory:
cd Jarvis-AI -
Install dependencies:
npm install -
Set up OpenAI API key:
-
Sign up for an account at OpenAI.
-
Retrieve your API key from the dashboard.
-
Create a
.envfile in the root directory of the project. -
Add the following line to the
.envfile:OPENAI_API_KEY=your-api-key-goes-here
-
-
Start the development server:
npm start -
Open your browser and navigate to
http://localhost:3000to view the application.
- Once the application is running, you will be greeted by Jarvis AI.
- Type your message in the input field and press Enter to send.
- Jarvis AI will process your query and respond accordingly.
- Enjoy chatting with Jarvis AI!
- OpenAI API not Free: OpenAI has stopped providing free trial credits for its API. As a result, the application may not function if you haven't purchased prepayment credits. To resolve this issue:
-
Go to platform.openai.com.
-