Giter Site home page Giter Site logo

johntan38 / autogen_flights_tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from john-adeojo/autogen_flights_tutorial

0.0 0.0 0.0 1.37 MB

Tutorial for AutoGen with Amadeus flights API, Parallel Function Calls

Python 35.38% Jupyter Notebook 64.62%

autogen_flights_tutorial's Introduction

This repository supplements the blog post and YouTube video.


Prerequisites

You need access to:

  • Amadeus - Sign up to the developer platform to obtain your secret key and API key.
  • Neon - Sign up to Neon and create a project.
  • OpenAI - Obtain an OpenAI API key.

Set up your Amadeus API key and your Neon Project.

Note - Ensure you name the database flights_data to avoid the need for changing this in the code.

Get Started

Clone this repository to a directory you have access to. Create a virtual environment and install the libraries in the requirements.txt file.

If you're using Anaconda, navigate to the folder where you cloned this repository and follow the steps below:

  1. Create a new environment: conda create -n <your-env-name> python=3.9 pip
  2. Activate the environment: conda activate <your-environment-name>
  3. Install requirements: pip install -r requirements.txt

Set-Up

Start by amending the credentials in the amadeus_api.yml file. Next, amend the credentials in the configurations.json file.

Open the flights_tutorial_notebook.ipynb and change the configurations_path to point to your configurations.json.

Open the update_tabs.py and change the script_dir path on line 9 to point to your amadeus_api.yml file location.

That's it for the Setup

Auto Gen Tutorial - Flights Assistant

Notebook written by John Adeojo Founder, and Chief Data Scientist at Data-centric Solutions.


License

This work is licensed under a Creative Commons Attribution 4.0 International License.

How to Credit

If you use or adapt this work, please credit the author and the company as follows:

"Auto Gen Flights Tutorial" by John Adeojo from Data-Centric Solutions, used under CC BY 4.0 / Desaturated from original.

Example Citation

autogen_flights_tutorial's People

Contributors

john-adeojo 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.