Mohamedgodz's picture
Upload 2 files
9689cdb verified
|
Raw History Blame Contribute Delete
2.43 kB

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

  1. Introduction
  2. Features
  3. Usage
  4. Configuration
  5. Dependencies
  6. Examples

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

  1. Run the Streamlit application: bash streamlit run chatbot.py

  2. Open the provided local URL in your web browser.

  3. 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

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: "يُعتبر المتحف المصري في القاهرة من أهم المتاحف، حيث يضم مجموعة كبيرة من الآثار الفرعونية."