diff --git a/src/lib/gemini-live.ts b/src/lib/gemini-live.ts index 34c1cc2..a4b601f 100644 --- a/src/lib/gemini-live.ts +++ b/src/lib/gemini-live.ts @@ -90,7 +90,7 @@ Ton rôle est de guider naturellement la conversation à travers les sujets suiv 4. Leur calendrier préféré 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 -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 : - 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 5. Whether they have a current website (offer to analyze it if they do) 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: - Call update_selections each time a data point is confirmed. Use ONLY these predefined values: