資源
- Overview
- 快速入門
- Claude 3 模型卡
- Claude 3.7 系統卡
- 系統狀態
- Anthropic 課程
- 提示詞庫
- 提示詞庫
- 宇宙鍵盤
- 企業預見者
- 網站精靈
- Excel 公式專家
- Google Apps 腳本編寫者
- Python 除錯專家
- 時間旅行顧問
- 故事創作夥伴
- 引用您的來源
- SQL 巫師
- 解夢師
- 雙關語大師
- 料理創作者
- 混合詞詩人
- 幽默助手哈爾
- LaTeX 專家
- 情緒色彩轉換器
- Git 精通
- 比喻達人
- 道德困境導航器
- 會議記錄員
- 成語解析器
- 程式碼顧問
- 函數製造者
- 新詞創造者
- CSV 轉換器
- 表情符號編碼器
- 文章潤色師
- 觀點權衡者
- 知識問答生成器
- 正念導師
- 二年級簡化器
- VR 健身創新者
- PII 淨化器
- 備忘錄大師
- 職業顧問
- 評分大師
- 繞口令
- 面試問題設計師
- 文法精靈
- 猜謎遊戲
- 程式碼解釋器
- 外星人類學家
- 資料整理器
- 品牌建構者
- 效率估算器
- 評論分類器
- 方向解碼器
- 激勵繆斯
- 電子郵件提取器
- 專業審核員
- 課程計劃制定者
- 蘇格拉底式智者
- 頭韻煉金術師
- 未來主義時尚顧問
- 多語言超能力
- 產品命名專家
- 哲學沉思
- 電子表格巫師
- 科幻場景模擬器
- 自適應編輯器
- 巴別塔的廣播
- 推文語調偵測器
- 機場代碼分析師
提示詞庫
評分大師
根據用戶定義的標準和準則比較和評估書面文本的質量。
將此提示複製到我們的開發者控制台中,親自試試看!
角色 | 內容 |
---|---|
User | 根據給定的標準評估以下兩段文本: 文本 1: 太陽正落在山後,在山谷上投下溫暖的金色光芒。鳥兒唱著它們的晚歌,微風輕輕地穿過樹葉沙沙作響。這是一個平靜祥和的時刻,一個讓心靈充滿喜悅和滿足的時刻。 文本 2: 夕陽很美。鳥兒在歌唱,風在吹。這讓我很開心。 評估標準: 1. 描述性語言和意象 2. 句子結構和多樣性 3. 情感影響和參與度 4. 語法和標點 |
示例輸出
根據提供的標準,以下是我對這兩段文本的評估:
文本 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);