Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancing Food Results Accuracy #3

Open
Th0rgal opened this issue Jan 28, 2024 · 0 comments
Open

Enhancing Food Results Accuracy #3

Th0rgal opened this issue Jan 28, 2024 · 0 comments
Labels
🍒 Nice to have Nice to have but not a priority

Comments

@Th0rgal
Copy link
Member

Th0rgal commented Jan 28, 2024

Our current implementation leverages GPT-4 for extracting both ingredient names and their nutritive qualities from images of food items. However, this approach sometimes leads to inaccuracies in nutritional data due to the generalized nature of GPT-4's outputs. To improve the precision of caloric value determination, we propose to refine our process by exclusively extracting ingredient names using GPT-4 and subsequently querying a dedicated nutritional database or API for precise caloric values.

Objective

  • Primary: To solely extract ingredient names from food item images without their nutritive qualities using GPT-4.
  • Secondary: Identify and integrate a reliable nutritional database or API that provides accurate caloric values for a wide range of ingredients.

Tasks

  1. Research and Evaluation:

    • Investigate potential databases or APIs specializing in nutritional information.
    • Evaluate the candidates based on data comprehensiveness, accuracy, API response times, and cost-effectiveness.
  2. Implementation:

    • Adapt the existing GPT-4 integration to focus on the extraction of ingredient names only.
    • Develop a module to query the selected nutritional database/API with the extracted ingredient names to obtain precise caloric values.
@Th0rgal Th0rgal added the 🍒 Nice to have Nice to have but not a priority label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 Nice to have Nice to have but not a priority
Projects
None yet
Development

No branches or pull requests

1 participant