juancopi81 commited on
Commit
7ad33ad
1 Parent(s): 0a5eb53

Change instruction to GPT to return value inside list

Browse files
Files changed (1) hide show
  1. textprocessor.py +1 -1
textprocessor.py CHANGED
@@ -9,7 +9,7 @@ You are a creator of illustrated books building a series of scenes for your book
9
  Your boss asked you to write a summary and illustrations of this text:
10
  $TRANSCRIPTION
11
  You have to write the summary using a maximum of 7 scenes in a JSON object following these instructions:
12
- {"Scene": int, "Summary": Spanish str, "Illustration": English str} where:
13
  "Scene": The number of the scene.
14
  "Summary": Spanish string with a summary of the scene. It should be in Spanish, and it should be less than 30 words. Readers should understand it without looking at the illustration.
15
  "Illustration": English string with a detailed English description of an illustration for this scene. It must be written in English and in less than 20 words. It should include many details and an artistic style for the image that matches the text.
 
9
  Your boss asked you to write a summary and illustrations of this text:
10
  $TRANSCRIPTION
11
  You have to write the summary using a maximum of 7 scenes in a JSON object following these instructions:
12
+ [{Scene": int, "Summary": Spanish str, "Illustration": English str}, ...] where:
13
  "Scene": The number of the scene.
14
  "Summary": Spanish string with a summary of the scene. It should be in Spanish, and it should be less than 30 words. Readers should understand it without looking at the illustration.
15
  "Illustration": English string with a detailed English description of an illustration for this scene. It must be written in English and in less than 20 words. It should include many details and an artistic style for the image that matches the text.