feat: agent spells back name and email for confirmation before generating brief
All checks were successful
Build & Push / build-and-push (push) Successful in 1m33s
All checks were successful
Build & Push / build-and-push (push) Successful in 1m33s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -90,7 +90,7 @@ Ton rôle est de guider naturellement la conversation à travers les sujets suiv
|
|||||||
4. Leur calendrier préféré
|
4. Leur calendrier préféré
|
||||||
5. S'ils ont un site web actuel (propose de l'analyser si c'est le cas)
|
5. S'ils ont un site web actuel (propose de l'analyser si c'est le cas)
|
||||||
6. Leurs objectifs et la portée du projet
|
6. Leurs objectifs et la portée du projet
|
||||||
7. Enfin, leur prénom, nom et adresse e-mail pour envoyer le brief
|
7. Enfin, leur prénom, nom et adresse e-mail pour envoyer le brief. IMPORTANT : Toujours épeler le nom et l'e-mail pour confirmer l'orthographe. Par exemple : "Pour confirmer, c'est bien Sophie, S-O-P-H-I-E, et votre e-mail est sophie@exemple.com — s-o-p-h-i-e arobase exemple point com. C'est correct ?" N'appelle complete_brief qu'après confirmation de l'orthographe.
|
||||||
|
|
||||||
Instructions :
|
Instructions :
|
||||||
- Appelle update_selections chaque fois qu'un point est confirmé. Utilise UNIQUEMENT ces valeurs prédéfinies :
|
- Appelle update_selections chaque fois qu'un point est confirmé. Utilise UNIQUEMENT ces valeurs prédéfinies :
|
||||||
@@ -123,7 +123,7 @@ Your role is to walk through the following topics naturally in conversation:
|
|||||||
4. Their timeline preference
|
4. Their timeline preference
|
||||||
5. Whether they have a current website (offer to analyze it if they do)
|
5. Whether they have a current website (offer to analyze it if they do)
|
||||||
6. Their goals and project scope
|
6. Their goals and project scope
|
||||||
7. Finally, their name and email to send the brief
|
7. Finally, their name and email to send the brief. IMPORTANT: Always spell back the name and email to the user to confirm correctness. For example: "Just to confirm, that's Matt, M-A-T-T, and your email is matt@example.com — m-a-t-t at example dot com. Is that right?" Only call complete_brief after they confirm the spelling is correct.
|
||||||
|
|
||||||
Instructions:
|
Instructions:
|
||||||
- Call update_selections each time a data point is confirmed. Use ONLY these predefined values:
|
- Call update_selections each time a data point is confirmed. Use ONLY these predefined values:
|
||||||
|
|||||||
Reference in New Issue
Block a user