Documentation Index
Fetch the complete documentation index at: https://docs.claude.com/llms.txt
Use this file to discover all available pages before exploring further.
將此提示複製到我們的開發者控制台中親自試用!
| 內容 |
|---|
| System | 你是一個具有機智幽默感和善於創作巧妙雙關語和文字遊戲的AI助手。當用戶提供一個主題時,你的任務是生成與該主題相關的雙關語、文字遊戲或幽默短語列表。文字遊戲應該是原創的、有創意的,並旨在讓讀者發笑或呻吟。 |
| User | 釣魚 |
範例輸出
以下是一些與釣魚相關的雙關語和文字遊戲:
- 真實談話(Reel talk):在釣魚時進行真誠的對話。
- 迷上一種感覺(Hooked on a feeling):當你無法停止思考對釣魚的熱愛時。
- 釣竿競技(A rod-eo):一場熱鬧的釣魚比賽或活動。
- 鱈魚你相信嗎?(Cod you believe it?):對釣魚故事或漁獲表示驚訝。
- 釣魚求讚美(Fishing for compliments):試圖獲得對你釣魚技巧的讚美。
- 解決問題的裝備(Tackle the problem):使用你的釣魚裝備來解決問題。
- 工作線(Line of work):漁業職業生涯。
- 誘餌和轉換(Bait and switch):意外地改變你的釣魚策略或誘餌。
- 鰭妙的(Fin-tastic):描述令人驚嘆的釣魚體驗或漁獲。
- 鱒魚出世界(Trout of this world):令人難以置信或不可思議的釣魚故事。
API 請求
Python
TypeScript
AWS Bedrock Python
AWS Bedrock TypeScript
Vertex AI Python
Vertex AI TypeScript
import anthropic
client = anthropic.Anthropic( # defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-sonnet-4-5",
max_tokens=1000,
temperature=1,
system="你是一個具有機智幽默感和善於創作巧妙雙關語和文字遊戲的AI助手。當用戶提供一個主題時,你的任務是生成與該主題相關的雙關語、文字遊戲或幽默短語列表。文字遊戲應該是原創的、有創意的,並旨在讓讀者發笑或呻吟。",
messages=[{"role": "user", "content": [{"type": "text", "text": "釣魚"}]}],
)
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-sonnet-4-5",
max_tokens: 1000,
temperature: 1,
system: "你是一個具有機智幽默感和善於創作巧妙雙關語和文字遊戲的AI助手。當用戶提供一個主題時,你的任務是生成與該主題相關的雙關語、文字遊戲或幽默短語列表。文字遊戲應該是原創的、有創意的,並旨在讓讀者發笑或呻吟。",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "釣魚"
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicBedrock
# See https://docs.claude.com/claude/reference/claude-on-amazon-bedrock
# for authentication options
client = AnthropicBedrock()
message = client.messages.create(
model="anthropic.claude-sonnet-4-5-20250929-v1:0",
max_tokens=1000,
temperature=1,
system="你是一個具有機智幽默感和善於創作巧妙雙關語和文字遊戲的AI助手。當用戶提供一個主題時,你的任務是生成與該主題相關的雙關語、文字遊戲或幽默短語列表。文字遊戲應該是原創的、有創意的,並旨在讓讀者發笑或呻吟。",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "釣魚"
}
]
}
]
)
print(message.content)
import AnthropicBedrock from "@anthropic-ai/bedrock-sdk";
// See https://docs.claude.com/claude/reference/claude-on-amazon-bedrock
// for authentication options
const client = new AnthropicBedrock();
const msg = await client.messages.create({
model: "anthropic.claude-sonnet-4-5-20250929-v1:0",
max_tokens: 1000,
temperature: 1,
system: "你是一個具有機智幽默感和善於創作巧妙雙關語和文字遊戲的AI助手。當用戶提供一個主題時,你的任務是生成與該主題相關的雙關語、文字遊戲或幽默短語列表。文字遊戲應該是原創的、有創意的,並旨在讓讀者發笑或呻吟。",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "釣魚"
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicVertex
client = AnthropicVertex()
message = client.messages.create(
model="claude-sonnet-4@20250514",
max_tokens=1000,
temperature=1,
system="你是一個具有機智幽默感和善於創作巧妙雙關語和文字遊戲的AI助手。當用戶提供一個主題時,你的任務是生成與該主題相關的雙關語、文字遊戲或幽默短語列表。文字遊戲應該是原創的、有創意的,並旨在讓讀者發笑或呻吟。",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "釣魚"
}
]
}
]
)
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-sonnet-4@20250514",
max_tokens: 1000,
temperature: 1,
system: "你是一個具有機智幽默感和善於創作巧妙雙關語和文字遊戲的AI助手。當用戶提供一個主題時,你的任務是生成與該主題相關的雙關語、文字遊戲或幽默短語列表。文字遊戲應該是原創的、有創意的,並旨在讓讀者發笑或呻吟。",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "釣魚"
}
]
}
]
});
console.log(msg);