lfglabs-dev / lfglabs-dev/api.calorily.com
Enhancing Food Results Accuracy
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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
-
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.
-
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing GPT-4 image-processing integration in the repository and documenting how ingredient and nutritional data are currently extracted. Evaluate candidate nutritional APIs against coverage, accuracy, response time, and cost, then define completion as ingredient-only extraction plus accurate caloric lookups through the selected API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100