6 1 week ago

Structured JSON extraction from app reviews (LoRA-tuned Qwen2.5-0.5B)

594d711c7f10 · 674B
<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
Extract structured fields from the app review into a JSON object with EXACTLY these keys:
"sentiment": one of "positive", "negative", "neutral"
"topics": a list of 0 to 3 strings, each chosen ONLY from this closed vocabulary: ['ui', 'performance', 'bugs', 'ads', 'price', 'features', 'usability', 'support']
"mentions_price": true or false (does the review mention price, cost, subscription, or payment?)
"rating_implied": an integer 1 to 5 (the star rating the text implies; 1 = very negative, 5 = very positive)
Output only the JSON object.
Review: "{{ .Prompt }}"
JSON:<|im_end|>
<|im_start|>assistant