Giter Club home page Giter Club logo

skypulse-ai's Introduction

skypulse-ai

Project Name

Provide a brief description of what the project does and its purpose.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

Installing

A step-by-step series of examples that tell you how to get a development environment running.

Step 1: Clone the Repository

First, clone the repository to your local machine:

git clone https://github.com/luoshen-data/skypulse-ai
cd skypulse-ai

Step 2: Set Up the Conda Environment

Create a Conda environment:

conda create --name your-env-name python=3.11

Activate the Conda environment:

conda activate your-env-name

Step 3: Install Dependencies

Install the required packages:

pip install -r requirements.txt

Running the Application

Before running the Flask application, make sure your environment is activated and dependencies are installed.

Start the Flask Server

To start the server, run:

export FLASK_APP=app.py
flask run

This command will start a development server on http://127.0.0.1:5000/. Adjust your_application.py to your actual application entry file name.

Running the Tests

To test the application, use the following curl commands:

Test Case 1: Non-stop Flights Search

curl -X POST http://127.0.0.1:5000/search -H "Content-Type: application/json" -d "{\"query\":\"search some non-stop flights from San Francisco to New York City for me on 05/06/2024.\"}"

Test Case 2: Detailed Plan Request

curl -X POST http://127.0.0.1:5000/search -H "Content-Type: application/json" -d "{\"query\":\"create a reasonable travel plan from San Francisco to New York City for me on 05/15. My email is [email protected]\"}"

Make sure you replace `your_application.py` with the actual entry file for your Flask application. This should effectively guide users on how to start and test the server locally.

skypulse-ai's People

Contributors

luoshen-data 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.