An open API service indexing awesome lists of open source software.

https://github.com/codewithranjha/python-ai-chatbot-

Built with Flask and integrated with the Gemini API for generating natural, engaging responses. Features a stunning UI with a simple web interface, allowing users to chat with AI assistant "Anna" in real-time.
https://github.com/codewithranjha/python-ai-chatbot-

Last synced: 3 months ago
JSON representation

Built with Flask and integrated with the Gemini API for generating natural, engaging responses. Features a stunning UI with a simple web interface, allowing users to chat with AI assistant "Anna" in real-time.

Awesome Lists containing this project

README

        

# Python AI Chatbot - Anna
## Preview
![AI_CHATBOT](https://github.com/user-attachments/assets/4189a881-6c20-4cd3-b343-c5d3598e1ec9)

## About

**Anna** is a cutting-edge conversational AI chatbot built with **Flask** and seamlessly integrated with the **Gemini API** to deliver natural and engaging responses. The project includes an elegant and interactive web interface, allowing users to communicate with the AI in real-time.

## Key Features

- **Flask Backend**: Real-time communication between users and the AI.
- **Gemini API Integration**: Generates human-like, context-aware responses.
- **Interactive UI**: Sleek and intuitive design with animations for enhanced user experience.
- **Real-time Conversations**: Immediate and engaging interactions with "Anna."

## Technologies Used

- **Backend**: Flask
- **API**: Gemini API
- **Frontend**: HTML, CSS, JavaScript, and animations powered by CSS and JavaScript libraries.

## Installation

Follow these steps to set up the project on your local machine:

1. Clone the repository:

```bash
git clone https://github.com/CodeWithRanjHa/Python-AI-Chatbot-.git
```

2. Navigate to the project directory:

```bash
cd Python-AI-Chatbot-
```

3. Set up the virtual environment and install dependencies:

```bash
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
```

4. Run the Flask application:

```bash
flask run
```

## Usage

1. Open your web browser and visit `http://127.0.0.1:5000/`.
2. Start chatting with **"Anna"** by entering your message in the input field.

## Contributing

Contributions are welcome! Here's how you can get involved:

1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Submit a pull request with a detailed description of your changes.

Your feedback and suggestions are greatly appreciated!

## Future Enhancements

- **Voice Integration**: Add voice-to-text and text-to-voice capabilities.
- **Multilingual Support**: Enable conversations in multiple languages.
- **Mobile Responsiveness**: Optimize the UI for mobile devices.
- **User Authentication**: Secure login for personalized chat experiences.

## Social Media

Stay connected and follow me on social media for updates, tutorials, and more projects:

- GitHub Icon **GitHub**: [CodeWithRanjHa](https://github.com/CodeWithRanjHa)
- LinkedIn Icon **LinkedIn**: [Wasim Ranjha](https://linkedin.com/wasim-ranjhaa)
- Facebook Icon **Facebook**: [Wasim Ranjha](https://facebook.com/wasimranjhaa)
- WhatsApp Icon **WhatsApp**: +923436000542