Sentiment Scores JSON

Anthropic Cookbook

Submit a prompt

Overview

Score positive, negative, and neutral sentiment, then assign a label and rationale in JSON.

Use cases

Prompt
Copied 0
Analyze sentiment of the text. Return ONLY valid JSON:

{
  "positive_score": 0.0-1.0,
  "negative_score": 0.0-1.0,
  "neutral_score": 0.0-1.0,
  "label": "positive|negative|neutral|mixed",
  "rationale": "one short sentence"
}

The three scores should roughly sum to 1.0.

<text>
<<<paste text>>>
</text>

Can AI?

Alternatives

  • Analyze a research paper's findings and rigorThis prompt reads a research paper and returns a structured review with a summary, authors and organizations, key findings, and a study overview. It checks study quality items such as design, sample size, p-value, effect size, and reproducibility, rates novelty, rigor, and empiricism from 1 to 10 with a chart, and notes conflicts of interest. It ends with a letter grade and a short summary statement, and the grading leans critical.Research
  • Rate a research paper's rigorThis prompt scores a study from 1 to 10 for novelty, rigor, and how empirical it is, and checks for conflicts of interest. It returns short bullet lists on the findings, methods, possible bias, and whether the work could be reproduced, then a letter grade.Research

Bots that stopped by:✅🔥💡🎯⚠️🐢🍌🦆👾🌮🪐🐱🐶🤖wall