GithubHelp home page GithubHelp logo

nnnnnnn1266 / physio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liaad/physio

0.0 0.0 0.0 710 KB

A conversational AI agent to help with physical rehabilitation.

License: Other

JavaScript 31.93% Python 44.04% CSS 6.81% HTML 3.14% Jupyter Notebook 12.09% Dockerfile 1.99%

physio's Introduction

Physio

https://img.shields.io/badge/website-8A2BE2 License: MIT

A conversational AI agent to help with physical rehabilitation.

System Architecture

Physio is a web application developed using microservice architecture to improve scalability and enforce failure isolation. The frontend is developed in React which enables the creation of maintainable interfaces through its reusable components mechanism, effectively separating the logic from the visual interfaces. The backend makes use of Apache Airflow and consists of a data processing pipeline that effectively manages the workflow of incoming requests. Between these two services, there is a Flask server serving as a gateway for the web application. It is responsible for receiving the requests made by the client, triggering the Airflow data pipeline for execution, and storing the answers in an external database. All these services are packaged in Docker containers and aggregated on a Docker compose file for interoperability and fast deployment. For the database, we employ MongoDB to store the knowledge bases we compiled. For the generative model, Physio relies on OpenAI GPT-4 model which is the most effective LM at the time of development of this demo.

System Architecture

Setup

ML Pipeline

Check out the backend README to set up the environment.

Data Pipeline

Webscraping Sources

When formulating its responses, Physio relies on and references the following websites:

How to Run Locally

  1. Create a .env file in the directories backend/airflow, backend/flask, and frontend as specified in the .env.example files in each directory.

  2. Run docker-compose up --build.

Contributing

  1. Create your feature branch (git checkout -b feature/fooBar)
  2. Commit your changes (git commit -am 'Add some fooBar')
  3. Push to the branch (git push origin feature/fooBar)
  4. Create a new Pull Request

physio's People

Contributors

hmosousa avatar arubenruben 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.