Coder Social home page Coder Social logo

patetrip's Introduction

Food Doctor for Travlers

Travelling means going out to new places and it can be very unfortunate if you happen to eat the wrong food.

We decided to build a project that leverages Google Palm 2 and Text-to-Image model to provide users with food knowledge to avoid allergies.

A safe journey is the best journey.

How to run

You'll need a service account JSON file provided by Google Cloud. And do the following cmd.

# At the parent directory
mkdir .google
cp <your_service_account>.json ./google/service_account.json

You'll aslo need a env inside .google directory. The env file contains:

LANGCHAIN=Langchain_plus_api_key

Install python packages.

pip install -r requirements.txt

How we help users

Most people only know certain food that they are allergic to, but don't relize that the allergens are the real cause. So we will based on this information to ask Palm 2 to determine what allergens causing the allergies.

You can look at how this process will be performed from the picture. Checkup process

Project overall process

The overall process of this project, from the start to the end.

Overall process

References

  • What cause food allergy
  • How food allergists tret patients

patetrip's People

Contributors

h4438 avatar hien-p avatar

Stargazers

Sanjoy Kumar Biswas avatar  avatar

Watchers

Kostas Georgiou avatar  avatar  avatar

Forkers

hien-p

patetrip's Issues

Upgrade qa generation chain

Upgrade generated questions

Model should ask questions to clarify patient eating habits:

  • what else do they eat with
  • what else do they drink
  • cross contamination in everyday activities

upgrade food_search's extraction chain

Problem

The input paragraph is too large for the model to process effectively.
We need to split up the paragraph into chunks, then process them one by one.

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.