Topic Classification Scores JSON
Overview
Classify text across five topics and return category scores with the highest-scoring label in JSON.
Use cases
Prompt
Copied 0
Classify the document into these categories: Politics, Sports, Technology, Entertainment, Business.
Return ONLY valid JSON:
{
"categories": [
{"name": "string", "score": 0.0-1.0}
],
"top_label": "string"
}
Include all five categories with scores. top_label is the highest-scoring name.
<document>
<<<paste text>>>
</document>Can AI?
- Classify text topics with confidence scoresPaste into a general LLM and classify text across five topics and return category scores with the highest-scoring la…