The objective of this project is to design and create a simple chatbot that can hold basic conversations with users using a generative AI model. The chatbot is accessible through a web interface and responds to user queries in real time.
This chatbot uses a Generative AI approach by integrating a Large Language Model (LLM) through the Hugging Face Router API.
- User messages are sent to an AI model using an API request.
- The model generates a natural language response.
- The response is displayed on a web interface.
- Conversation history is maintained using session state.
- Python
- Streamlit (Web Interface)
- Hugging Face Router API
- Requests library
- python-dotenv (for environment variables)
- Interactive web-based chatbot
- Real-time AI-generated responses
- Conversation memory
- Secure API key handling
- Simple and clean user interface