Travel Adviser project utilizing GPT4All, LangChain and Neo4j for intelligent vacation planning, managing and analyzing travel data to provide personalized recommendations and itineraries. This application designed to provide personalized travel recommendations using advanced AI models. The application features a robust API and an interactive user interface, leveraging machine learning techniques to enhance user experience.
- Intelligent Travel Recommendations: Uses large language models and similarity algorithms to suggest travel destinations.
- Interactive UI: A user-friendly interface for engaging with travel advice and exploring various options.
- Scalable Architecture: Built using containerized microservices for easy deployment and scaling.
-
api/: Contains the backend API built with Python.
- src/components/: Core components for classification and result generation.
- src/embedding/: Modules for different embedding techniques (e.g., OpenAI, GPT4ALL).
- src/llm/: Interface for large language models.
- requirements.txt: Python dependencies.
- Dockerfile: Configuration for Dockerizing the API service.
-
ui/: Contains the frontend code, built with modern JavaScript frameworks.
- src/chat-with-kg/: Main components for chat functionality.
- Dockerfile: Configuration for Dockerizing the frontend service.
-
downloader/: Scripts and configuration for downloading necessary data.
- download_files.sh: Shell script for data retrieval.
-
nginx/: Configuration for the Nginx web server to route requests.
For detailed API documentation and to explore the available endpoints interactively, please visit our Postman workspace: Travel Adviser AI Assistant on Postman. This workspace provides comprehensive examples and allows you to test the API endpoints directly, facilitating a smooth integration process.
- Docker and Docker Compose installed on your machine.
- API keys and other credentials for external services (e.g., OpenAI).
-
Clone the repository:
git clone <repository-url> cd Travel-Adviser
-
Set up environment variables:
- Copy
.env.example
to.env
in theui
directory and fill in the necessary values. - Copy
.env.example
to.env
in the root of project and fill in the necessary values.
- Copy
-
Build and run the services:
docker-compose up --build
-
Access the application
- Open your browser and go to
http://localhost
to access the project. - The API will be running on
http://localhost:8000
. - The UI will be running on
http://localhost:4173
.
- Open your browser and go to
- Use the chat interface to interact with the travel adviser.
- Explore suggested travel destinations based on your input.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push your changes to your fork.
- Submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For questions or feedback, please reach out to abowfzl@gmail.com.