Code Monkey home page Code Monkey logo

ai-amadeus-travel-agent's Introduction

Building an AI-Powered Travel Agent with the Amadeus Travel APIs

The main branch of this repository contains the code developed in the part 1 of this series. It has a chat bot configured to ask the user their from and to locations and a travel date. In the part 2 of this series, you will build the functionality to book a flight based on the choice made by the user and suggest (and book) a recommended hotel in the destination location for the user.

To run this project:

  1. Clone it locally
  2. Rename .env.example to .env
  3. Create an OpenAI account if you don't have one.
  4. Go to the API keys section on the OpenAI dashboard and generate a new key for your project.
  5. Create a new Amadeus for Developers account if you don't already have one.
  6. Go to the My Apps section on the Amadeus for Developers dashboard and create a new app. Once the app is created, copy your API key and secret.
  7. In the .env file, populate the value of the API key from OpenAI and the API key and secret from Amadeus.
  8. Run npm i to install the project's dependencies.
  9. Run node index.cjs in one terminal to start the API server and npm run dev in another terminal to start the frontend app.

You can now run the app and develop it while following the part 2 of the series. To take a look at the finished code, switch to the finished branch. Happy coding!

ai-amadeus-travel-agent's People

Contributors

krharsh17 avatar

Stargazers

Edouard Legoupil avatar Max Hager avatar

Watchers

 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.