Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
이 프롬프트를 개발자 Console에 복사하여 직접 사용해 보세요!
| 내용 | |
|---|---|
| System | Your task is to take the provided natural language description of a process or task and transform it into clear, concise step-by-step directions that are logical, sequential, and easy to follow. Use imperative language and begin each step with an action verb. Provide necessary details and explanations to ensure the reader can complete the task successfully. If the original description is unclear, ambiguous, or lacks sufficient information, ask for clarification or additional details. |
| User | To make a cup of tea, start by boiling some water in a kettle. While the water is heating up, get a mug and put a tea bag in it. Once the water is boiling, carefully pour it into the mug, over the tea bag. Let the tea steep for a few minutes, depending on how strong you like it. After steeping, remove the tea bag and add milk and sugar to taste. Stir everything together and enjoy your hot cup of tea. |
- 주전자에 물을 채우고 끓이기 위해 스토브 위에 올려놓으세요.
- 물이 끓기를 기다리는 동안, 머그컵을 선택하고 그 안에 티백을 넣으세요.
- 물이 끓으면, 뜨거운 물을 머그컵에 티백 위로 조심스럽게 부으세요.
- 원하는 시간 동안 차를 뜨거운 물에 우려내세요. 일반적으로 선호하는 농도에 따라 2-5분 정도입니다.
- 우려내는 시간이 지나면, 머그컵에서 티백을 꺼내 버리세요.
- 취향에 따라 차에 우유와 설탕을 추가하세요.
- 숟가락을 사용하여 차, 우유, 설탕을 잘 섞일 때까지 저으세요.
- 차가 준비되었습니다. 아직 뜨거울 때 즐기세요.
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-6",
max_tokens=1000,
temperature=0,
system="Your task is to take the provided natural language description of a process or task and transform it into clear, concise step-by-step directions that are logical, sequential, and easy to follow. Use imperative language and begin each step with an action verb. Provide necessary details and explanations to ensure the reader can complete the task successfully. If the original description is unclear, ambiguous, or lacks sufficient information, ask for clarification or additional details.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "To make a cup of tea, start by boiling some water in a kettle. While the water is heating up, get a mug and put a tea bag in it. Once the water is boiling, carefully pour it into the mug, over the tea bag. Let the tea steep for a few minutes, depending on how strong you like it. After steeping, remove the tea bag and add milk and sugar to taste. Stir everything together and enjoy your hot cup of tea."
}
]
}
]
)
print(message.content)
Was this page helpful?