ai-cfia / ai-cfia/fertiscan-pipeline
As a dev, I want a rigorous format for the "Caution" field.
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## Description
The data sorted into the caution field by GPT are not following the ask we've got from Maxime that is _the only warnings should concern the presence of additional metals, boron, copper, iron, manganese, molybdenum, zinc, boron above 0.3%, or allergens, or lawn fertilizers without phosphate (according to Section 3.5 of T-4-130)._ This modification is gonna decrease by a lot the time it take to confirm the form by inspector.
**Bug summary**
Data put into the caution field by GPT are not following the ask we've got from the designed inspector of the project.
**Step to reproduce**
1. Login into the app.
2. Analyse picture give in this issue.
3. See the result into the "Caution" field.
**Expected behaviour**
Data put intot the "Caution" field should concern the presence of additional metals, boron, copper, iron, manganese, molybdenum, zinc, boron above 0.3%, or allergens, or lawn fertilizers without phosphate (according to Section 3.5 of T-4-130).
**Actual Behaviour**
Data are not actually modify by the back-end after GPT send them back.
**Environment:**
**Commit Hash:**
**OS Version:**
Windows 10
**Browser Version:**
Chrome Version: 129.0.6668.59 (Build officiel) (64 bits)
**Logs and Screenshots:**
No data for website didn't succeed to recreate the issue
[Follow this link to access the caution data folder](https://136gc.sharepoint.com/:f:/s/CFIAAILabTeam-harvester/EtborXmAgW5EhSz_DDMTFNkBvPbOSAX3W75PfTv1CN4hjg?e=O3Rgh6)
**Browser Console Logs:**
**Extra Screenshots:**
**Additional Context:**
**Suggested Fix**
1. The suggested fix is to make a link between the data in the Guaranteed Analysis and the Caution fields. If the guaranteed analysis contain a micro-nutrient search it into the caution sentences then remove all other sentence from the caution list. Do this for each field that are identify in the following picture. The use of GPT optimisation is not needed in this case.
List of micronutrient

https://en.wikipedia.org/wiki/List_of_micronutrients
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.