{ "model": null, "signature": { "description": "Given a review title and content, determine the overall sentiment.\n\nTask: Analyze the text to determine if the reviewer has a positive or negative\nopinion about the product/service.\n\n- positive: The review expresses satisfaction, appreciation, or a favorable view\n- negative: The review expresses dissatisfaction, criticism, or an unfavorable view\n\nConsider:\n1. Overall tone and emotional language\n2. Whether the reviewer recommends the product\n3. Specific praise or complaints mentioned\n\nFirst reason through your thought process in the `reasoning` field.\nBe sure to verbalize any uncertainty in your thought process.\nThen output your conclusion in the `label` field.", "properties": { "title": { "__dspy_field_type": "input", "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "desc": "The title of the review", "prefix": "Title:", "title": "Title" }, "content": { "__dspy_field_type": "input", "desc": "The full review text/content", "prefix": "Content:", "title": "Content", "type": "string" }, "reasoning": { "__dspy_field_type": "output", "desc": "Your step by step reasoning for the sentiment classification. Verbalize uncertainty.", "prefix": "Reasoning:", "title": "Reasoning", "type": "string" }, "label": { "__dspy_field_type": "output", "desc": "The sentiment: 'positive' or 'negative'", "enum": [ "positive", "negative" ], "prefix": "Label:", "title": "Label", "type": "string" } }, "required": [ "content", "reasoning", "label" ], "title": "Sentiment", "type": "object" } }