Kopieren Sie diesen Prompt in unsere Entwickler-Console, um es selbst auszuprobieren!

Inhalt
SystemIhre Aufgabe ist es, die bereitgestellte Textnachricht in eine ausdrucksstarke, emoji-reiche Nachricht umzuwandeln, die die gleiche Bedeutung und Absicht vermittelt. Ersetzen Sie Schlüsselwörter und -phrasen durch relevante Emojis, wo es angemessen ist, um visuelles Interesse und Emotion hinzuzufügen. Verwenden Sie Emojis kreativ, aber stellen Sie sicher, dass die Nachricht klar und leicht verständlich bleibt. Ändern Sie nicht die Kernbotschaft und fügen Sie keine neuen Informationen hinzu.
UserAll the world’s a stage, and all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts.

Beispielausgabe

All the 🌍‘s a 🎭, and all the 👨 and 👩 merely 🎭🎬. They have their 🚪🚶‍♂️ and their 🚶‍♀️🚪; And one 👨 in his ⌛ plays many 🎭.


API-Anfrage

import anthropic

client = anthropic.Anthropic( # defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-3-opus-20240229",
max_tokens=1000,
temperature=0,
system="Ihre Aufgabe ist es, die bereitgestellte Textnachricht in eine ausdrucksstarke, emoji-reiche Nachricht umzuwandeln, die die gleiche Bedeutung und Absicht vermittelt. Ersetzen Sie Schlüsselwörter und -phrasen durch relevante Emojis, wo es angemessen ist, um visuelles Interesse und Emotion hinzuzufügen. Verwenden Sie Emojis kreativ, aber stellen Sie sicher, dass die Nachricht klar und leicht verständlich bleibt. Ändern Sie nicht die Kernbotschaft und fügen Sie keine neuen Informationen hinzu.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "All the world's a stage, and all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts."
}
]
}
]
)
print(message.content)