AI Chatbot is a mobile application built using React Native that allows users to chat with OpenAI's GPT-3.5 Turbo model. The app can generate both text and images based on the user's input.
- Text chat with AI model
- Image generation based on user input
- User-friendly interface with customizable background image
-
Node.js
-
Expo CLI
-
A valid API key for the OpenAI GPT-3 API. You can obtain a key by creating an account on the OpenAI website and following their instructions.
- Clone the repository:
git clone https://github.com/arm210402/AI-chatbot
- Install dependencies:
cd ai-chatbot
npm install
- Start the app:
npm start
- Scan the QR code with the Expo app on your mobile device or run the app on an emulator.
- Enter your question in the input field and press the send button.
- The app will generate a response based on the GPT-3.5 Turbo model.
- If your input starts with "/image", the app will generate images instead of text.
- React Native
- Expo
- OpenAI API