入门
访问API
评估并使用 API
提示格式化
\n\nHuman: Why is the sky blue?\n\nAssistant:
:
TypeScript
typescript
const userQuestion = "Why is the sky blue?";
const prompt = `\n\nHuman: ${userQuestion}\n\nAssistant:`;
// Send prompt to Claude via API
修改于 2024-09-12 03:47:16