This project is a React Native-based Chatbot application called "Gemini Chatbot". It utilizes Gemini API to generate conversational responses in real-time. The primary goal of the project is to provide users with an interactive chat interface where they can converse with an AI-powered chatbot.
Real-time Chat Interface : Users can interact with the chatbot in real-time, typing messages and receiving responses instantly.
Voice Synthesis: The chatbot can convert text responses into speech, enabling users to listen to the replies.
Dynamic Response Generation: Responses are generated using a machine learning model (Gemini Pro) deployed via an API. The model analyzes the conversation history and generates contextually relevant responses.
User and Model Roles: Chat messages are categorized into "user" and "model" roles, distinguishing between user inputs and AI-generated responses.
Custom Styling: The chat interface is styled for a modern and user-friendly experience.
WhatsApp.Video.2024-03-04.at.00.19.25.mp4
React Native: Version 18.2.0
Axios: Version 1.6.7
Expo Speech: Version 11.7.0
Ionicons: Version 4.6.5
Clone Repository : Clone the project repository from the GitHub link.
Install Dependencies : Navigate to the project directory and run npm install to install the required dependencies.
API Key Setup : Obtain an API key for Gemini Pro and replace process.env.EXPO_PUBLIC_API_KEY with your API key in the Chatbot component.
Environment Configuration : Ensure proper environment configuration for API endpoints, if required.
Customization : Customize the UI, styling, or additional features as per your requirements.
Start Development Server : Run npm start or expo start to start the development server.
Run on Emulator/Device : Use Expo CLI to run the application on an emulator or physical device for testing.