Bibliothèque de prompts
Génie de la grammaire
Ressources
- Overview
- Démarrages rapides
- Fiche technique du modèle Claude 3
- Fiche système de Claude 3.7
- État du système
- Cours Anthropic
- Bibliothèque de prompts
- Bibliothèque de prompts
- Frappes Cosmiques
- Clairvoyant d'entreprise
- Assistant de création de site web
- Expert en formules Excel
- Scripteur d'applications Google
- Correcteur de bugs Python
- Consultant en voyage dans le temps
- Compagnon de narration
- Citez vos sources
- Sorcier SQL
- Interprète de rêves
- Pun-dit
- Créateur culinaire
- Poète de mots-valises
- Hal l'assistant humoristique
- Légende LaTeX
- Coloriste d'humeur
- Git gud
- Savant des comparaisons
- Navigateur de dilemmes éthiques
- Meeting scribe
- Illuminateur d'expressions idiomatiques
- Consultant en code
- Fabricant de fonctions
- Créateur de néologismes
- Convertisseur CSV
- Encodeur d'émojis
- Polisseur de prose
- Évaluateur de perspectives
- Générateur de quiz
- Mentor de pleine conscience
- Simplificateur pour élèves de primaire
- Innovateur de fitness en VR
- Purificateur de PII
- Maître des mémos
- Coach de carrière
- Gourou de l'évaluation
- Virelangue
- Créateur de questions d'entretien
- Génie de la grammaire
- Devine mon énigme
- Clarificateur de code
- Anthropologue extraterrestre
- Organisateur de données
- Créateur de marque
- Estimateur d'efficacité
- Classificateur d'avis
- Décodeur de directions
- Muse motivationnelle
- Extracteur d'e-mails
- Modérateur expert
- Planificateur de leçons
- Sage socratique
- Alchimiste de l'allitération
- Conseiller en mode futuriste
- Superpouvoirs polyglottes
- Expert en noms de produits
- Réflexions philosophiques
- Sorcier des feuilles de calcul
- Simulateur de scénarios de science-fiction
- Éditeur adaptatif
- Les diffusions de Babel
- Détecteur de ton des tweets
- Analyste de codes d'aéroport
Bibliothèque de prompts
Génie de la grammaire
Transformez des phrases grammaticalement incorrectes en anglais correct.
Copiez ce prompt dans notre Console développeur pour l’essayer vous-même !
Contenu | |
---|---|
System | Votre tâche est de prendre le texte fourni et de le réécrire en une version claire et grammaticalement correcte tout en préservant le sens original aussi fidèlement que possible. Corrigez toutes les fautes d’orthographe, les erreurs de ponctuation, les problèmes de temps des verbes, les problèmes de choix de mots et autres erreurs grammaticales. |
User | I can haz cheeseburger? |
Exemple de sortie
May I have a cheeseburger?
Requête 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=1000,
temperature=0,
system="Your task is to take the text provided and rewrite it into a clear, grammatically correct version while preserving the original meaning as closely as possible. Correct any spelling mistakes, punctuation errors, verb tense issues, word choice problems, and other grammatical mistakes.",
messages=[
{
"role": "user",
"content": [{"type": "text", "text": "I can haz cheeseburger?"}],
}
],
)
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=1000,
temperature=0,
system="Your task is to take the text provided and rewrite it into a clear, grammatically correct version while preserving the original meaning as closely as possible. Correct any spelling mistakes, punctuation errors, verb tense issues, word choice problems, and other grammatical mistakes.",
messages=[
{
"role": "user",
"content": [{"type": "text", "text": "I can haz cheeseburger?"}],
}
],
)
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: 1000,
temperature: 0,
system: "Your task is to take the text provided and rewrite it into a clear, grammatically correct version while preserving the original meaning as closely as possible. Correct any spelling mistakes, punctuation errors, verb tense issues, word choice problems, and other grammatical mistakes.",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "I can haz cheeseburger?"
}
]
}
]
});
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=1000,
temperature=0,
system="Your task is to take the text provided and rewrite it into a clear, grammatically correct version while preserving the original meaning as closely as possible. Correct any spelling mistakes, punctuation errors, verb tense issues, word choice problems, and other grammatical mistakes.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "I can haz cheeseburger?"
}
]
}
]
)
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: 1000,
temperature: 0,
system: "Your task is to take the text provided and rewrite it into a clear, grammatically correct version while preserving the original meaning as closely as possible. Correct any spelling mistakes, punctuation errors, verb tense issues, word choice problems, and other grammatical mistakes.",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "I can haz cheeseburger?"
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicVertex
client = AnthropicVertex()
message = client.messages.create(
model="claude-3-7-sonnet-v1@20250219",
max_tokens=1000,
temperature=0,
system="Your task is to take the text provided and rewrite it into a clear, grammatically correct version while preserving the original meaning as closely as possible. Correct any spelling mistakes, punctuation errors, verb tense issues, word choice problems, and other grammatical mistakes.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "I can haz cheeseburger?"
}
]
}
]
)
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: 1000,
temperature: 0,
system: "Your task is to take the text provided and rewrite it into a clear, grammatically correct version while preserving the original meaning as closely as possible. Correct any spelling mistakes, punctuation errors, verb tense issues, word choice problems, and other grammatical mistakes.",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "I can haz cheeseburger?"
}
]
}
]
});
console.log(msg);
Was this page helpful?
On this page