Giter Club home page Giter Club logo

trail's Introduction

TRAIL

##DEMO VIDEO

https://www.loom.com/share/396e701aa1dd475db1751c9fe70a3ca1?sid=c70d0224-47de-47f2-9c14-71ca4c0a0214

IDEA

Every year, Our government is faced with some sort of challenge in handling emergency crisis situations. Our idea is to help with providing the Government with fast, concise and accurate solutions using a LLM such as GPT-3.5-turbo. We are implementing multiple features to make the crisis management process for the authorities in charge easier.

APPROACH

  • We use the available pathway LLM app to connect to GPT-3.5 to read the dataset thats necessary to our app
  • We are using multiple modules in python such as geocoder, newsAPI, geoapi, requests to fetch required data and make it into a datatset.
  • We are constantly trying to update the dataset by using a scheduler to keep the government upto date with the available services.
  • We pass queries as a hard-code inside the script to get accurate results out of GPTs response.
  • Based on the GPTs response, if the condition seems to severe, the user gets an option to send an alert to all the phone numbers stored in the database of that particular region.
  • We are also planning to have an option to get data of all the NGOS nearby the disaster to seek help.
  • At the end, we containerise the whole thing.

WORKING OF PATHWAY LLM

Pathway LLM is a microservice. The program reads data from supplied dataset and embeds them using OpenAI document embedding model. By this it converts data base to vector database. Then this embedded data is and computes index by nearest neighbor index process. Then the program gets the query from user using REST API and indexes also them to get the appropriate prompt. This generated prompt is sent to GPT-4 chat service which sends the response to the user.

USE-CASES

  • Based on the dataset, pathway app estimates the extremeness of the financial losses that the government might face as an aftermath
  • Our app detects the nearby locations and infrastructures (such as schools and hospitals) and informs the government to use them as rescue shelters.
  • We provide them with the average casualties that they might expect during this disaster.
  • App detects the NGOs that are nearby to the region of that specific disaster and helps in contacting them during the crisis.
  • In case of a severe emergency, we also have a real time alert that is sent to the phones of the persons inside the local database of that region
  • We also send the government real time weather information around the region where the disaster is happening.

TECH-STACK

  • Pathway LLM
  • Python
  • Git
  • Chat-GPT
  • Docker
  • News API
  • MySQL

trail's People

Contributors

pw-ppodhajski avatar purrate avatar dxtrous avatar boburmirzo avatar janchorowski avatar kamilpiechowiak avatar embe-pw avatar mdmalhou avatar berkecanrizai avatar voodoo11 avatar pathway-dev avatar dependabot[bot] avatar lewymati avatar olruas avatar

Stargazers

Anup Surendran avatar Mudit Srivastava avatar

Forkers

aryan0931

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.