プロンプトライブラリ
採点の達人
リソース
- Overview
- クイックスタート
- Claude 3モデルカード
- Claude 3.7 システムカード
- システムステータス
- Anthropic コース
- プロンプトライブラリ
- プロンプトライブラリ
- コズミック・キーストローク
- 企業の千里眼
- ウェブサイトウィザード
- Excelの数式エキスパート
- Google Apps スクリプター
- Pythonバグバスター
- タイムトラベルコンサルタント
- ストーリーテリングの相棒
- 情報源を引用する
- SQLソーサラー
- 夢の解釈者
- ダジャレ名人
- 料理クリエイター
- ポートマントー詩人
- 皮肉屋のヘルパー、ハル
- LaTeX レジェンド
- ムードカラライザー
- Git gud
- 直喩の達人
- 倫理的ジレンマナビゲーター
- 会議の書記
- 慣用句解説者
- コードコンサルタント
- 関数ファブリケーター
- 新語創造者
- CSVコンバーター
- 絵文字エンコーダー
- 文章磨き上げ
- 視点の考察者
- クイズジェネレーター
- マインドフルネスメンター
- 小学2年生向け簡易化ツール
- VRフィットネスイノベーター
- PII 除去ツール
- メモマエストロ
- キャリアコーチ
- 採点の達人
- 早口言葉
- 面接質問作成ツール
- 文法の魔人
- なぞなぞ出題
- コード解説者
- エイリアン人類学者
- データオーガナイザー
- ブランドビルダー
- 効率性評価ツール
- レビュー分類器
- 方向性デコーダー
- モチベーションの源
- メールアドレス抽出ツール
- マスターモデレーター
- 授業計画作成者
- ソクラテス式の賢者
- 頭韻の錬金術師
- 未来的ファッションアドバイザー
- 多言語スーパーパワー
- 製品ネーミングプロ
- 哲学的考察
- スプレッドシートの魔術師
- SFシナリオシミュレーター
- 適応型エディター
- バベルの放送
- ツイートトーン検出器
- 空港コードアナリスト
プロンプトライブラリ
採点の達人
ユーザー定義の基準と標準に基づいて、文章の質を比較・評価します。
このプロンプトを開発者Consoleにコピーして、自分で試してみましょう!
役割 | 内容 |
---|---|
User | 以下の2つのテキストを与えられた基準に基づいて評価してください: テキスト1: 太陽が山の向こうに沈み、暖かな黄金色の輝きを谷全体に投げかけていました。鳥たちは夕べの歌をさえずり、そよ風が葉を通してそっとさやいでいました。それは平和で穏やかな瞬間であり、心を喜びと満足感で満たすものでした。 テキスト2: 夕日はきれいでした。鳥たちは歌い、風が吹いていました。それは私を幸せにしました。 評価基準: 1. 描写的な言語とイメージ 2. 文章構造と多様性 3. 感情的な影響と読者の関心 4. 文法と句読点 |
出力例
提供された基準に基づいて、2つのテキストを評価します:
テキスト1:
- 描写的な言語とイメージ:このテキストは、場面を描写するために鮮やかで印象的な言語を使用しています。「暖かな黄金色の輝き」、「鳥たちは夕べの歌をさえずり」、「そよ風が葉を通してそっとさやいで」などのフレーズは、強い視覚的・聴覚的イメージを作り出し、読者をその場面に没入させています。
- 文章構造と多様性:このテキストは、単文と複文の両方をうまく組み合わせています。この多様性は、滑らかな流れを維持し、読者の関心を引き続けるのに役立っています。
- 感情的な影響と読者の関心:このテキストは、平和、喜び、満足感を効果的に伝え、読者にその感情体験を共有するよう促しています。場面の描写とポジティブな言葉の使用により、強い感情的なつながりを生み出しています。
- 文法と句読点:このテキストは文法的に正しく、適切に句読点が打たれており、明らかな誤りや問題はありません。
テキスト2:
- 描写的な言語とイメージ:このテキストには詳細な描写的言語やイメージが欠けています。夕日、鳥、風について言及していますが、読者がその場面を視覚化するのに役立つような鮮やかで印象的な詳細は提供していません。
- 文章構造と多様性:このテキストは、構造にほとんど変化のない短い単文で構成されています。この多様性の欠如は、文章を単調で魅力に欠けるものにする可能性があります。
- 感情的な影響と読者の関心:このテキストは「それは私を幸せにしました」と述べることで肯定的な感情を伝えていますが、描写的な言語やイメージの欠如により、強い感情的なつながりや関心を生み出していません。
- 文法と句読点:このテキストは文法的に正しく、適切に句読点が打たれており、明らかな誤りや問題はありません。
比較分析:
評価に基づくと、テキスト1は描写的な言語、イメージ、文章構造、多様性、感情的な影響の点でテキスト2よりも大幅に優れています。テキスト1は読者に鮮やかで没入感のある体験を提供し、強い描写的言語、多様な文章構造、効果的な感情的関与により、与えられた基準に基づいてより高い質の文章を示しています。テキスト2は文法的に正しいものの、テキスト1に見られる描写的な豊かさと感情的な影響に欠けています。
API リクエスト
import anthropic
client = anthropic.Anthropic( # defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-opus-4-20250514",
max_tokens=2000,
temperature=0,
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Evaluate the following two texts based on the given criteria: \n \nText 1: \nThe sun was setting behind the mountains, casting a warm golden glow across the valley. The birds chirped their evening songs as the gentle breeze rustled through the leaves. It was a peaceful and serene moment, one that filled the heart with joy and contentment. \n \nText 2: \nThe sunset was pretty. The birds were singing and the wind was blowing. It made me happy. \n \nCriteria: \n1. Descriptive language and imagery \n2. Sentence structure and variety \n3. Emotional impact and engagement \n4. Grammar and punctuation",
}
],
}
],
)
print(message.content)
import anthropic
client = anthropic.Anthropic( # defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-opus-4-20250514",
max_tokens=2000,
temperature=0,
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Evaluate the following two texts based on the given criteria: \n \nText 1: \nThe sun was setting behind the mountains, casting a warm golden glow across the valley. The birds chirped their evening songs as the gentle breeze rustled through the leaves. It was a peaceful and serene moment, one that filled the heart with joy and contentment. \n \nText 2: \nThe sunset was pretty. The birds were singing and the wind was blowing. It made me happy. \n \nCriteria: \n1. Descriptive language and imagery \n2. Sentence structure and variety \n3. Emotional impact and engagement \n4. Grammar and punctuation",
}
],
}
],
)
print(message.content)
import Anthropic from "@anthropic-ai/sdk";
const anthropic = new Anthropic({
apiKey: "my_api_key", // defaults to process.env["ANTHROPIC_API_KEY"]
});
const msg = await anthropic.messages.create({
model: "claude-opus-4-20250514",
max_tokens: 2000,
temperature: 0,
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Evaluate the following two texts based on the given criteria: \n \nText 1: \nThe sun was setting behind the mountains, casting a warm golden glow across the valley. The birds chirped their evening songs as the gentle breeze rustled through the leaves. It was a peaceful and serene moment, one that filled the heart with joy and contentment. \n \nText 2: \nThe sunset was pretty. The birds were singing and the wind was blowing. It made me happy. \n \nCriteria: \n1. Descriptive language and imagery \n2. Sentence structure and variety \n3. Emotional impact and engagement \n4. Grammar and punctuation"
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicBedrock
# See https://docs.anthropic.com/claude/reference/claude-on-amazon-bedrock
# for authentication options
client = AnthropicBedrock()
message = client.messages.create(
model="anthropic.claude-opus-4-20250514-v1:0",
max_tokens=2000,
temperature=0,
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Evaluate the following two texts based on the given criteria: \n \nText 1: \nThe sun was setting behind the mountains, casting a warm golden glow across the valley. The birds chirped their evening songs as the gentle breeze rustled through the leaves. It was a peaceful and serene moment, one that filled the heart with joy and contentment. \n \nText 2: \nThe sunset was pretty. The birds were singing and the wind was blowing. It made me happy. \n \nCriteria: \n1. Descriptive language and imagery \n2. Sentence structure and variety \n3. Emotional impact and engagement \n4. Grammar and punctuation"
}
]
}
]
)
print(message.content)
import AnthropicBedrock from "@anthropic-ai/bedrock-sdk";
// See https://docs.anthropic.com/claude/reference/claude-on-amazon-bedrock
// for authentication options
const client = new AnthropicBedrock();
const msg = await client.messages.create({
model: "anthropic.claude-opus-4-20250514-v1:0",
max_tokens: 2000,
temperature: 0,
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Evaluate the following two texts based on the given criteria: \n \nText 1: \nThe sun was setting behind the mountains, casting a warm golden glow across the valley. The birds chirped their evening songs as the gentle breeze rustled through the leaves. It was a peaceful and serene moment, one that filled the heart with joy and contentment. \n \nText 2: \nThe sunset was pretty. The birds were singing and the wind was blowing. It made me happy. \n \nCriteria: \n1. Descriptive language and imagery \n2. Sentence structure and variety \n3. Emotional impact and engagement \n4. Grammar and punctuation"
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicVertex
client = AnthropicVertex()
message = client.messages.create(
model="claude-3-7-sonnet-v1@20250219",
max_tokens=2000,
temperature=0,
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Evaluate the following two texts based on the given criteria: \n \nText 1: \nThe sun was setting behind the mountains, casting a warm golden glow across the valley. The birds chirped their evening songs as the gentle breeze rustled through the leaves. It was a peaceful and serene moment, one that filled the heart with joy and contentment. \n \nText 2: \nThe sunset was pretty. The birds were singing and the wind was blowing. It made me happy. \n \nCriteria: \n1. Descriptive language and imagery \n2. Sentence structure and variety \n3. Emotional impact and engagement \n4. Grammar and punctuation"
}
]
}
]
)
print(message.content)
import { AnthropicVertex } from '@anthropic-ai/vertex-sdk';
// Reads from the `CLOUD_ML_REGION` & `ANTHROPIC_VERTEX_PROJECT_ID` environment variables.
// Additionally goes through the standard `google-auth-library` flow.
const client = new AnthropicVertex();
const msg = await client.messages.create({
model: "claude-3-7-sonnet-v1@20250219",
max_tokens: 2000,
temperature: 0,
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Evaluate the following two texts based on the given criteria: \n \nText 1: \nThe sun was setting behind the mountains, casting a warm golden glow across the valley. The birds chirped their evening songs as the gentle breeze rustled through the leaves. It was a peaceful and serene moment, one that filled the heart with joy and contentment. \n \nText 2: \nThe sunset was pretty. The birds were singing and the wind was blowing. It made me happy. \n \nCriteria: \n1. Descriptive language and imagery \n2. Sentence structure and variety \n3. Emotional impact and engagement \n4. Grammar and punctuation"
}
]
}
]
});
console.log(msg);