fix(ai): ensure tasting notes are returned in title case
Update ROAST_PROMPT to explicitly request tasting notes in Title Case so extracted values like "dark chocolate" come back as "Dark Chocolate".
This commit is contained in:
parent
84ffe36afc
commit
3e3c57a07f
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ const ROAST_PROMPT: &str = r#"Extract coffee roast information from this input.
|
||||||
- "region": the region within the origin country
|
- "region": the region within the origin country
|
||||||
- "producer": the farm, estate, or cooperative that produced the beans
|
- "producer": the farm, estate, or cooperative that produced the beans
|
||||||
- "process": the processing method (e.g. Washed, Natural, Honey, Anaerobic)
|
- "process": the processing method (e.g. Washed, Natural, Honey, Anaerobic)
|
||||||
- "tasting_notes": an array of flavour/tasting notes (e.g. ["Blueberry", "Jasmine", "Dark Chocolate"])
|
- "tasting_notes": an array of flavour/tasting notes in Title Case (e.g. ["Blueberry", "Jasmine", "Dark Chocolate"])
|
||||||
|
|
||||||
Return ONLY the JSON object, no other text."#;
|
Return ONLY the JSON object, no other text."#;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue