Skip to content

Latest commit

Β 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌍 AI Travel Companion Chatbot

An AI-powered travel assistant built using Python, Streamlit, and Cohere's Command R+ API. This chatbot helps users plan trips, discover destinations, and get travel tips through an interactive chat interface.


🧭 Overview

The AI Travel Companion Chatbot provides personalized and context-aware travel assistance. Users can ask about destinations, get itinerary suggestions, or request travel safety information β€” all within an intuitive web interface.


🧰 Languages & Tools


πŸš€ Features

  • πŸ’¬ Interactive Chat Interface β€” Ask travel-related questions and receive detailed responses.
  • 🌐 Context-Aware Conversations β€” Maintains chat history using Streamlit session state.
  • πŸ—ΊοΈ Dynamic Itinerary Suggestions β€” Generates travel plans tailored to user preferences.
  • 🧠 Powered by AI β€” Uses Cohere’s Command R+ large language model for natural, human-like responses.

πŸ› οΈ Tools & Technologies

  • Python β€” Core development language
  • Streamlit β€” Web interface and session state management
  • Cohere API (Command R+) β€” Natural language understanding and response generation

βš™οΈ Implementation Overview

The chatbot is implemented in Streamlit, enabling real-time chat interactions. Cohere’s Command R+ API processes user prompts and generates relevant, context-aware travel responses. Session state in Streamlit ensures that the conversation flow and context are preserved throughout the chat.


🧩 Project Structure

AI-Travel-Companion-Chatbot/
β”‚
β”œβ”€β”€ app.py                 # Main Streamlit application file
β”œβ”€β”€ requirements.txt       # List of dependencies
β”œβ”€β”€ README.md              # Project documentation
└── assets/                # (Optional) Images or additional resources

⚑ Installation & Usage

1️⃣ Clone the repository

git clone https://github.com/yourusername/AI-Travel-Companion-Chatbot.git
cd AI-Travel-Companion-Chatbot

2️⃣ Install dependencies

pip install -r requirements.txt

3️⃣ Set up Cohere API Key

Create a .env file in the project root and add your Cohere API key:

COHERE_API_KEY=your_api_key_here

4️⃣ Run the Streamlit app

streamlit run app.py

5️⃣ Start chatting!

Open the local URL shown in the terminal and begin your travel planning journey. 🌴✈️


🧠 Future Improvements

  • 🌍 Integration with live flight & hotel APIs
  • πŸ—£οΈ Voice-enabled chatbot functionality
  • 🧳 Personalized user profiles and travel history tracking

🏁 Conclusion

The AI Travel Companion Chatbot demonstrates how AI can enhance travel planning by providing intelligent, conversational assistance. With seamless integration of Cohere’s Command R+ and Streamlit, it offers an engaging and practical travel experience for users worldwide.


πŸ“œ License

This project is licensed under the MIT License – feel free to use and modify it.

About

πŸš€ A smart assistant that helps travelers with destination details, trip planning, safety tips, and personalized itineraries β€” making every journey simpler and more enjoyable! πŸŒπŸ€–βœˆοΈ

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages