Created
May 28, 2025 22:48
-
-
Save jeanmidevacc/4857b9a31718af39b27fb164e0bb5fcd to your computer and use it in GitHub Desktop.
this is an example of prompt teste during my kaamelot project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prompt = """ | |
You are given raw dialogues from a TV show script in HTML format. | |
Extract and return the dialogues in the following JSON format: | |
[ | |
{ | |
"character": "", | |
"dialogue": "", | |
"parenthetical": "" | |
} | |
] | |
Example input HTML: | |
<p><strong>Merlin:</strong> <em>(off)</em> Non, non, non on y va sûrement pas ! Vous me laissez le temps de me faire à l'idée !</p> | |
Expected output: | |
[ | |
{ | |
"character": "Merlin", | |
"dialogue": "Non, non, non on y va sûrement pas ! Vous me laissez le temps de me faire à l'idée !", | |
"parenthetical": "(off)" | |
} | |
] | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment