Giter Club home page Giter Club logo

travel-advisory's Introduction

Travel Companion

Live version of the app is available at Travel Companion

Description

This Streamlit mini-app generates Travel itinerary for a given city or country according to the type of the travel (solo, trekking, religious, etc.) and number of days. This app tries to use text-davinci-003 model to generate the itinerary. Furthermore, just to avoid the bots users will be able to generate the itinerary for 10 times per day and can be increased by reaching out to me by Email.

Using Dockerfile

This Dockerfile will allow you to easily run the application by executing with one line of code. Follow the steps below:

  1. Open your command line interface.
  2. Run the following command to start the container and expose port 8501:
    docker run -p 8501:8501 travel-advisory
    
  3. If you are using Windows, open your web browser and navigate to http://localhost:8501/ to access the application.

Running Locally

  1. Clone the repository and install the requirements by typing: pip install -r requirements.txt

  2. Create the account on OpenAI and get the API key.

  3. Create the account on Upstash to store the user's data and get the API key. This will be used to store the results of the user's query and will not forward the same query to the OpenAI API.

  4. Create the account on Streamlit to deploy the app. Store the API keys in the .env file as follows. Try editing the file .example.env to .env once the necessary information is stored.

  5. Run the app through the terminal by typing: streamlit run app.py

Purpose

The purpose of this travel itinerary is to provide a helpful resource for individuals seeking to plan their trip to a specific destination. This itinerary was created with the intention of benefiting the community and ensuring that everyone can take advantage of it.

We believe that travel planning should be accessible and stress-free, and we hope that this itinerary will help individuals plan their trip with ease. We strongly welcome any feedback or suggestions to improve this resource and make it even more helpful for travelers.

You can be reached out to me by Gmail or LinkedIn.

Powered by

This example is powered by the following services:

  • OpenAI (AI API)
  • Upstash (Redis Database)
  • Streamlit (App Deployment)

travel-advisory's People

Contributors

prayagnshah avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.