Download GradChatBot/README.md from Mohamedgodz/TourGemicustomized: direct link, hf CLI and curl.
- Browser
- Download file 2.43 kB
-
https://huggingface.co/Mohamedgodz/TourGemicustomized/resolve/main/GradChatBot/README.md
- Command line
-
hf download hf://Mohamedgodz/TourGemicustomized/GradChatBot/README.md
-
curl -L -o README.md https://huggingface.co/Mohamedgodz/TourGemicustomized/resolve/main/GradChatBot/README.md
Travel and Museum Chatbot
Introduction
The Travel and Museum Chatbot is a domain-specific conversational assistant designed to provide detailed and context-aware responses related to:
- Tourism
- Travel destinations
- Cultural sites
- Museums
- Historical landmarks
- Art exhibitions
- Travel tips
Built using Streamlit and Google Generative AI, the chatbot offers multilingual support and maintains conversational context for seamless interactions.
Table of Contents
Features
- Domain-Specific Assistance: Focused exclusively on tourism, museums, and cultural topics.
- Multilingual Support: Provides responses in both English and Arabic.
- Conversational Memory: Maintains session history for a coherent user experience.
- Customized Prompting: Dynamically adjusts prompts based on the conversation and user input.
- Ancient Egyptian Expertise: Offers brief, detailed answers about ancient Egyptian history.
- Polite Redirection: Guides users back to relevant topics if inquiries fall outside the domain.
Usage
Run the Streamlit application: bash streamlit run chatbot.py
Open the provided local URL in your web browser.
Interact with the chatbot by asking tourism-related questions.
Configuration
- Google API Key:
Obtain a Google Generative AI API key and add it to a .env file in the project root:
GOOGLE_API_KEY=your_api_key_here
Dependencies
- Streamlit - Web application framework.
- Python-dotenv - For environment variable management.
- Google Generative AI - For AI-driven text generation.
Examples
Example Question (English):
User: "Can you recommend museums in Paris?"
Bot: "Sure! The Louvre is a must-visit, featuring iconic art like the Mona Lisa. You might also enjoy Musée d'Orsay for its Impressionist masterpieces."
Example Question (Arabic):
User: "ما هي أهم المتاحف في مصر؟"
Bot: "يُعتبر المتحف المصري في القاهرة من أهم المتاحف، حيث يضم مجموعة كبيرة من الآثار الفرعونية."