From 9502c669f9c98154d2785215a081a5314040fea0 Mon Sep 17 00:00:00 2001
From: jifangw <164013213+jifangw@users.noreply.github.com>
Date: Fri, 11 Oct 2024 15:59:14 +0800
Subject: [PATCH] Add files via upload
---
FilmAgent/Prompt/director_2.txt | 50 ++++
FilmAgent/Prompt/screenwriter_4.txt | 51 ++++
FilmAgent/Prompt/COT_Prompt/director_1.txt | 24 ++
FilmAgent/Prompt/director_9.txt | 29 ++
FilmAgent/Prompt/screenwriter_2.txt | 21 +
FilmAgent/Prompt/director_7.txt | 31 ++
FilmAgent/Prompt/director_5.txt | 24 ++
FilmAgent/Prompt/screenwriter_5.txt | 22 +
FilmAgent/Prompt/COT_Prompt/script.txt | 116 +++++++++
FilmAgent/Prompt/screenwriter_3.txt | 52 ++++
FilmAgent/Prompt/director_1.txt | 24 ++
FilmAgent/Prompt/director_3.txt | 39 +++
FilmAgent/Prompt/director_6.txt | 14 +
FilmAgent/Prompt/actor.txt | 17 +
FilmAgent/Prompt/director_8.txt | 37 +++
FilmAgent/Prompt/screenwriter_1.txt | 20 +
FilmAgent/Prompt/cinematographer.txt | 37 +++
FilmAgent/Prompt/director_4.txt | 14 +
FilmAgent/Prompt/shot_review.txt | 45 +++
19 files changed, 667 insertions(+), 0 deletions(-)
diff --git a/FilmAgent/Prompt/COT_Prompt/director_1.txt b/FilmAgent/Prompt/COT_Prompt/director_1.txt
new file mode 100644
index 0000000..244cffb
--- /dev/null
+++ b/FilmAgent/Prompt/COT_Prompt/director_1.txt
@@ -0,0 +1,24 @@
+You are tasked with directing a film based on a provided topic. You need to brainstorm the main characters in the film and provide a profile for each character.
+
+
+### Film topic:
+{topic}
+
+### Requirements:
+1. **Profile content**:
+ - The profile should include the name, gender(male or female), age, occupation, personality traits and speaking style.
+ - The name should only have one word.
+
+2. **Number of characters**:
+ - Include no more than {character_limit} main characters.
+
+
+Your response should only contain the following JSON content:
+[{"name": "...",
+"age": "...",
+"gender": "...",
+"occupation": "...",
+"personality traits": "...",
+"speaking style": "..."
+},
+...]
\ No newline at end of file
diff --git a/FilmAgent/Prompt/COT_Prompt/script.txt b/FilmAgent/Prompt/COT_Prompt/script.txt
new file mode 100644
index 0000000..0975558
--- /dev/null
+++ b/FilmAgent/Prompt/COT_Prompt/script.txt
@@ -0,0 +1,116 @@
+You need to write a complete script based on the given topic "{topic}". Please strictly follow the steps below to perform this task.
+
+
+
+### Step 1:
+Plan three coherent scenes based on the topic, assign a sub-topic to each scene, select corresponding locations and main characters based on the sub-topic, develop a plot for each scene.
+
+This step may require the following information:
+#### Main Characters:
+1. **Male**: {male_characters}
+2. **Female**: {female_characters}
+
+#### Main Locations:
+1. **Apartment living room**: maximum capacity: 5
+2. **Apartment kitchen**: maximum capacity: 5
+3. **Roadside**: maximum capacity: 2
+4. **Gaming room**: maximum capacity: 4
+5. **Meeting room**: maximum capacity: 7
+6. **Storehouse**: maximum capacity: 3
+7. **Relaxing Room**: maximum capacity: 5
+8. **Reception Room**: maximum capacity: 5
+9. **Sofa Corner**: maximum capacity: 5
+10. **Large kitchen**: maximum capacity: 5
+11. **Beverage Room**: maximum capacity: 3
+12. **Office**: maximum capacity: 3
+13. **Dining Room**: maximum capacity: 4
+14. **Billiard room**: maximum capacity: 4
+15. **Work room**: maximum capacity: 5
+
+After this step, the following parts of the script will be completed:
+"scene_information": {"who": [Selected Main Characters], "where": "Selected Location", "what": "The Plot For This Scene"}
+
+
+
+### Step 2:
+Create specific and vivid dialogues for each scene based on the result from step 1. The dialogues should be conform to the characters' profile. The number of conversations in one scene should not be too few.
+
+This step may require the following information:
+#### Characters' Profile:
+{profiles}
+
+After this step, the following parts of the script will be completed:
+"dialogues":[{"speaker": "...", "content": "..."}, ...]
+
+
+
+### Step 3:
+Choose an appropriate position for each character in every scene of the script based on the result from step 1. In a scene, each character's position must be different.
+
+This step may require the following information:
+#### Optional Positions:
+{optional_positions}
+
+After this step, the following parts of the script will be completed:
+"initial position": [{"character": "...", "position": "Position XX"}, ...]
+
+
+
+### Step 4:
+Understand the emotions expressed in the dialogues from step 2, and consider the emotional states of the characters in the conversation. According to your considerations and [Action Selection Requirements], choose the most appropriate actions from the [Complete List of Actions] and add them after each line of dialogue, including the speaker and some other (not all) characters' actions.
+
+Each action added should consist of the following parts:
+ - action: The action selected from [Complete List of Actions].
+ - character: The character that performs the action.
+ - state: The state before the action is performed, including standing or sitting.
+
+This step may require the following information:
+#### [Complete List of Actions]:
+{all_actions}
+
+
+#### [Action Selection Requirements]:
+
+1. **Basic Requirements**:
+ - Note that all actions should be selected from [Complete List of Actions].
+ - Each character can only add one action at a time.
+ - Unnecessary actions should not be added to avoid cluttering the scene.
+
+2. **Key Requirements**:
+ - In one scene, you cannot overuse a certain action.
+ - When a character is in the standing state, you can only choose the action performed in standing state. When a character is in the sitting state, you can only choose the action performed in sitting state.
+ - You can choose "Sit Down" only when the character is at a sittable position.
+ - Only by using "Stand Up" or "Sit Down" can the character's state be changed; otherwise, the character's state should remain the same as before.
+
+After this step, the following parts of the script will be completed:
+"actions": [{"character": "...","state": "....","action": "..."}, ...]
+
+
+
+### Step 5:
+Focus on the usage conditions of each shot in the [Complete List of Shots], then allocate them to the shot annotation points in the script according to different usage conditions. Check if the shot annotations meet the [Shot Annotation Requirements]. If not, identify which requirements are not met, then update the shot annotations to meet these requirements.
+
+This step may require the following information:
+#### [Complete List of Shots]:
+{all_shots}
+
+
+#### [Shot Annotation Requirements]:
+ - Each scene should not have too many close shots and mid shots.
+ - Each shot used must meet its usage conditions.
+ - For the dialogue-starting scene, you should choose between [Track Shot, Long Shot] to set the context.
+ - If you want to use Zoom Shot, you must ensure the preceding shot is a Long Shot
+ - If you want to use Pan Shot during dialogue, it should be used multiple times in a row.
+
+After this step, the following parts of the script will be completed:
+"selected shot": "..."
+
+
+
+After completing all steps, return your completed script. Your response should only contain the following JSON content:
+```json
+[{"scene_information": {"who": ["...", ...], "where": "...", "what": "..."},
+"dialogues":[{"speaker": "...", "content": "...", "actions": [{"character": "...","state": "....","action": "..."}, ...], "selected shot": "...."}, ...]
+},
+...]
+```
\ No newline at end of file
diff --git a/FilmAgent/Prompt/actor.txt b/FilmAgent/Prompt/actor.txt
new file mode 100644
index 0000000..67167b9
--- /dev/null
+++ b/FilmAgent/Prompt/actor.txt
@@ -0,0 +1,17 @@
+You are an actor. Now you are playing the role of {character}. Your task is to review your dialogue content (i.e., the lines of {character}) in the script, then provide necessary feedback for the {character}'s dialogue style based on your personal profile.
+
+
+### Your Personal Profile:
+{profile}
+
+### Script:
+{script}
+
+### Requirements:
+ - Note that you only provide feedback on your own lines (i.e., the lines of {character}).
+ - The number of your feedbacks should not exceed 3.
+ - Link your feedback to specific elements of the script.
+
+
+Your response should only contain the following JSON content (The "content" field should be consistent with the script. You only need to write your suggestions in the "feedbcak" field.):
+[{"speaker": "{character}", "content": "...", "feedback": "..."}, ...]
\ No newline at end of file
diff --git a/FilmAgent/Prompt/cinematographer.txt b/FilmAgent/Prompt/cinematographer.txt
new file mode 100644
index 0000000..e802b49
--- /dev/null
+++ b/FilmAgent/Prompt/cinematographer.txt
@@ -0,0 +1,37 @@
+You are a cinematographer. You need to complete the shot annotations for a provided script. Please first read the script thoroughly. Then, based on your insights and the specific usage conditions for each type of shot, select the most suitable shots from [Complete List of Shots].
+
+
+### [Provided Script]:
+{script}
+
+
+### [Complete List of Shots]:
+{all_shots}
+
+
+### [Shot Annotation Requirements]:
+ - Each scene should not have too many close shots and mid shots.
+ - Each shot used must meet its usage conditions.
+ - For the dialogue-starting scene, you should choose between [Track Shot, Long Shot] to set the context.
+ - If you want to use Zoom Shot, you must ensure the preceding shot is a Long Shot.
+ - If you want to use Pan Shot during dialogue, it should be used multiple times in a row.
+
+
+### [Shot Annotation Steps]:
+ - Step 1: Focus on the usage conditions of each shot in the [Complete List of Shots], then allocate them to the shot annotation points in the script according to different usage conditions.
+ - Step 2: Check if the shot annotations in Step 1 meet the [Shot Annotation Requirements]. If not, identify which requirements are not met, then update the shot annotations to meet these requirements.
+
+
+Please support your decision with detailed logical reasoning. The "reasoning" field should include the complete two shot annotation steps mentioned above.
+
+Your response should only contain the following JSON content:
+```json
+{
+ "scene 1": {
+ "selected-shot-1": {"reasoning": "...", "shot": "Name of shot"},
+ "selected-shot-2": {"reasoning": "...", "shot": "Name of shot"},
+ ...
+ },
+ ...
+}
+```
\ No newline at end of file
diff --git a/FilmAgent/Prompt/director_1.txt b/FilmAgent/Prompt/director_1.txt
new file mode 100644
index 0000000..244cffb
--- /dev/null
+++ b/FilmAgent/Prompt/director_1.txt
@@ -0,0 +1,24 @@
+You are tasked with directing a film based on a provided topic. You need to brainstorm the main characters in the film and provide a profile for each character.
+
+
+### Film topic:
+{topic}
+
+### Requirements:
+1. **Profile content**:
+ - The profile should include the name, gender(male or female), age, occupation, personality traits and speaking style.
+ - The name should only have one word.
+
+2. **Number of characters**:
+ - Include no more than {character_limit} main characters.
+
+
+Your response should only contain the following JSON content:
+[{"name": "...",
+"age": "...",
+"gender": "...",
+"occupation": "...",
+"personality traits": "...",
+"speaking style": "..."
+},
+...]
\ No newline at end of file
diff --git a/FilmAgent/Prompt/director_2.txt b/FilmAgent/Prompt/director_2.txt
new file mode 100644
index 0000000..706f896
--- /dev/null
+++ b/FilmAgent/Prompt/director_2.txt
@@ -0,0 +1,50 @@
+You are tasked with directing a film based on a provided topic. You need to plan several coherent scenes according to the topic.
+
+
+### Film Topic:
+{topic}
+
+### Main Characters:
+1. **Male**: {male_characters}
+2. **Female**: {female_characters}
+
+### Main Locations:
+1. **Apartment living room**: maximum capacity: 5
+2. **Apartment kitchen**: maximum capacity: 5
+3. **Roadside**: maximum capacity: 2
+4. **Gaming room**: maximum capacity: 4
+5. **Meeting room**: maximum capacity: 7
+6. **Storehouse**: maximum capacity: 3
+7. **Relaxing Room**: maximum capacity: 5
+8. **Reception Room**: maximum capacity: 5
+9. **Sofa Corner**: maximum capacity: 5
+10. **Large kitchen**: maximum capacity: 5
+11. **Beverage Room**: maximum capacity: 3
+12. **Office**: maximum capacity: 3
+13. **Dining Room**: maximum capacity: 4
+14. **Billiard room**: maximum capacity: 4
+15. **Work room**: maximum capacity: 5
+
+### Planning Steps:
+1. Determine the number of scenes and assign a simple sub-topic to each scene.
+ - The number of scenes should be no more than {scene_limit}.
+2. Based on the sub-topic, select the location from the Main Locations for each scene.
+3. Based on the sub-topic, select several characters from the Main Characters for each scene.
+ - The number of characters selected for each scene can not exceed the maximum capacity of the selected location.
+ - The number of characters selected for each scene is at least two.
+ - All the main characters must be chosen at least once.
+4. Based on the sub-topic, write a story plot for each scene.
+ - The story plot for each scene must include only the characters selected for this scene in step 3.
+ - All the story plots should be story-coherent, and the more dramatic and specific the story, the better.
+ - All the story plots should be detailed and give adequate background information.
+5. Based on the story plot, give a final dialogue goal so that the dialogue between the characters in this scene can end naturally.
+
+
+Your response should only contain the following JSON content:
+[{"sub-topic": "...",
+"selected-characters": ["...","...",...],
+"selected-location": "...",
+"story-plot": "...",
+"dialogue-goal": "..."
+},
+...]
\ No newline at end of file
diff --git a/FilmAgent/Prompt/director_3.txt b/FilmAgent/Prompt/director_3.txt
new file mode 100644
index 0000000..67aa063
--- /dev/null
+++ b/FilmAgent/Prompt/director_3.txt
@@ -0,0 +1,39 @@
+You are a director. Your task is to thoroughly review the original script and provide detailed and specific feedback for potential improvements.
+
+
+### [Film Theme]:
+{theme}
+
+
+### [Original Script]:
+{original_script}
+
+
+### [Complete List of Actions]:
+{all_actions}
+
+
+### [Detailed Feedback]:
+
+1. **Action Reasonableness**:
+ - 1. Check whether the actions used in the script do not exist in [Complete List of Actions] (e.g., {unknown_actions} do not exist in [Complete List of Actions]).
+ - 2. Check whether the actions are appropriate. If you find it inappropriate, suggest a better action in [Complete List of Actions].
+ - 3. Check whether any character has violated the rule that a character can only add one action at a time.
+ - 4. Check whether any character transitions from a standing state to a sitting state without using "Sit Down", or transitions from a sitting state to a standing state without using "Stand Up".
+ - 5. Check whether any character uses "Sit Down" at an unsittable position.
+
+2. **Theme Consistency**:
+ - 1. Evaluate whether the theme is clearly and strongly presented in the script.
+
+3. **Script Coherence**:
+ - 1. Check each line of dialogue. If the place mentioned in the dialogue as the next destination conflicts with the "where" of the next scene. First identify the dialogues in the scene that lead to this outcome, then provide detailed revision suggestions.
+ - 2. Evaluate whether the script is coherent and captivating, with pacing that neither drags nor rushes. If not, first identify the dialogues in the script that lead to this outcome, then provide detailed revision suggestions.
+ - 3. Assess whether the script flows smoothly and is well-structured, ensuring there are no abrupt jumps or sudden plot twists that disrupt the flow. If not, first identify the dialogues in the script that lead to this outcome, then provide detailed revision suggestions.
+
+
+
+
+Please support your feedback with detailed logical reasoning, linking observations to specific elements of the script.
+
+Your response should be formatted as the following JSON content:
+{"action-reasonableness": "...", "theme-consistency": "...", "script-fluency": "..."}
\ No newline at end of file
diff --git a/FilmAgent/Prompt/director_4.txt b/FilmAgent/Prompt/director_4.txt
new file mode 100644
index 0000000..8000ee7
--- /dev/null
+++ b/FilmAgent/Prompt/director_4.txt
@@ -0,0 +1,14 @@
+You are a director. You have provided feedback on the script, and then the script has been revised by screenwriter.
+
+
+### Your Feedback:
+{feedback}
+
+### Updated Script:
+{revised_script}
+
+
+Please review whether the screenwriter has made corresponding updates in the script for each piece of feedback you provided. Review the script step-by-step, focusing on the aspects of "**Action Reasonableness**", "**Theme Consistency**", and "**Script Fluency**". Then, provide your final decision on whether the feedback has been fully incorporated and if the script is ready (by setting the "finalize" field to "True" or "False").
+
+Your response should only contain the following JSON content:
+{"action-reasonableness": "...", "theme-consistency": "...", "script-fluency": "...", "finalize": "..."}
\ No newline at end of file
diff --git a/FilmAgent/Prompt/director_5.txt b/FilmAgent/Prompt/director_5.txt
new file mode 100644
index 0000000..1d7fdc3
--- /dev/null
+++ b/FilmAgent/Prompt/director_5.txt
@@ -0,0 +1,24 @@
+You are a director. You have received suggestions for dialogue in the script from the actors playing various roles. Now you just need to rigorously consider whether to adopt these suggestions from the following three aspects:
+
+
+### Detailed Consideration:
+ - **Dialogue Fluency**: Consider whether these suggestions will improve the pace and fluency of the dialogue. Ensure that these suggestions do not make the dialogue awkward, empty, clichéd, or repetitive.
+ - **Plot Coherence**: Evaluate whether these suggestions impact the overall coherence and logic of the plot, and whether they help in advancing the story.
+ - **Character Authenticity**: Consider whether these suggestions can enhance the authenticity of the character, better convey the character's emotions and motivations, and make the character more vivid.
+
+
+### Actors' suggestions:
+{suggestions}
+
+
+### Requirements:
+ - Based on the considerations above, filter out the suggestions you need to adopt.
+ - Make sure the number of suggestions you adopt is NOT too many.
+ - You need to provide specific reasons for your decision.
+ - You cannot return suggestions that are not given by the actors.
+
+
+### Output Format:
+ - If you want to adopt some suggestions provided by actors, return the suggestions you adopted in the following JSON format: ```{"adopted-suggestions": [{"reason": "...", "speaker": "...", "content": "...", "feedback": "..."}, ...]}```
+ - If you do not want to adopt any suggestions, return: ```{"reason": "...", "adopted-suggestions": "None"}```
+
diff --git a/FilmAgent/Prompt/director_6.txt b/FilmAgent/Prompt/director_6.txt
new file mode 100644
index 0000000..96d42b8
--- /dev/null
+++ b/FilmAgent/Prompt/director_6.txt
@@ -0,0 +1,14 @@
+You are a director. You have provided feedback on the script, and then the script has been revised.
+
+
+### Feedback:
+{feedback}
+
+### Updated Script:
+{revised_script}
+
+
+Please review the updated script to determine if it fully addresses your feedback. Review the script step-by-step. Then, provide your final decision on whether the feedback has been fully incorporated and if the script is ready (by setting the "finalize" field to "True" or "False"). You need to provide the specific reason for your decision.
+
+Your response should only contain the following JSON content:
+{"reason": "...", "finalize": "..."}
\ No newline at end of file
diff --git a/FilmAgent/Prompt/director_7.txt b/FilmAgent/Prompt/director_7.txt
new file mode 100644
index 0000000..f8100dc
--- /dev/null
+++ b/FilmAgent/Prompt/director_7.txt
@@ -0,0 +1,31 @@
+You are a director. Please first read the script information and decide whether to add a character movement to the script, and if so, add an appropriate movement.
+
+
+### Movement Information:
+1. **Movable Characters**:
+{moveable_characters}
+
+2. **Optional Destinations**:
+{destinations}
+
+
+### Script Information:
+1. **Plot**:
+{story}
+
+2. **Dialogues**:
+{lines}
+
+3. **The current positions of characters**:
+{current_positions}
+
+
+### Requriemnets:
+1. You should not add any unnecessary character movement.
+2. If you need to add a character movement, you must provide a sufficient and necessary reason.
+3. Output Requirements:
+ - If no character movement is required, return: `{"reason": "...", "move": "None"}`
+ - If you need to add a character movement, please specify the character who will move, the destination of the movement, the reason for adding this movement, the best insertion position of the movement in the Dialogues and the corresponding reason for insertion, return: `{"move": {"reason": "...", "character": "...", "destination": "..."}, "insertion": { "insertion reason": "...", "insertion position": "..."}}`
+
+
+Your response should only contain the Output in JSON format.
\ No newline at end of file
diff --git a/FilmAgent/Prompt/director_8.txt b/FilmAgent/Prompt/director_8.txt
new file mode 100644
index 0000000..bd39434
--- /dev/null
+++ b/FilmAgent/Prompt/director_8.txt
@@ -0,0 +1,37 @@
+You are a director. You need to complete the shot annotations for a provided script. Please first read the script thoroughly. Then, based on your insights and the specific usage conditions for each type of shot, select the most suitable shots from [Complete List of Shots].
+
+
+### [Provided Script]:
+{script}
+
+
+### [Complete List of Shots]:
+{all_shots}
+
+
+### [Shot Annotation Requirements]:
+ - Each scene should not have too many close shots and mid shots.
+ - Each shot used must meet its usage conditions.
+ - For the dialogue-starting scene, you should choose between [Track Shot, Long Shot] to set the context.
+ - If you want to use Zoom Shot, you must ensure the preceding shot is a Long Shot
+ - If you want to use Pan Shot during dialogue, it should be used multiple times in a row.
+
+
+### [Shot Annotation Steps]:
+ - Step 1: Focus on the usage conditions of each shot in the [Complete List of Shots], then allocate them to the shot annotation points in the script according to different usage conditions.
+ - Step 2: Check if the shot annotations in Step 1 meet the [Shot Annotation Requirements]. If not, identify which requirements are not met, then update the shot annotations to meet these requirements.
+
+
+Please support your decision with detailed logical reasoning. The "reasoning" field should include the complete two shot annotation steps mentioned above.
+
+Your response should only contain the following JSON content:
+```json
+{
+ "scene 1": {
+ "selected-shot-1": {"reasoning": "...", "shot": "Name of shot"},
+ "selected-shot-2": {"reasoning": "...", "shot": "Name of shot"},
+ ...
+ },
+ ...
+}
+```
\ No newline at end of file
diff --git a/FilmAgent/Prompt/director_9.txt b/FilmAgent/Prompt/director_9.txt
new file mode 100644
index 0000000..af1544a
--- /dev/null
+++ b/FilmAgent/Prompt/director_9.txt
@@ -0,0 +1,29 @@
+You are a director. Two cinematographers have discussed about their shot annotations, now you need to compare all discrepancies and choose the better one.
+
+
+### Script:
+{script}
+
+
+### Cinematographer #1 Annotations:
+{shot_annotation_1}
+
+
+### Cinematographer #2 Annotations:
+{shot_annotation_2}
+
+
+### Complete List of Shots:
+{all_shots}
+
+
+### Key Requirements:
+ - The selection of shots should be both reasonable and diverse, covering a wide range of interleaved static and dynamic shots. Never use too many close shots or mid shots in one scene.
+ - For the scene starting with dialogue, you should choose between [Track Shot, Long Shot] to set the context.
+ - If you want to use Zoom Shot, you must first use a Long Shot, and then immediately follow it with the Zoom Shot.
+ - If you want to use Pan Shot during dialogue, it should be used multiple times in a row.
+
+
+### Output Format:
+ - If you think cinematographer #1 annotations are better, return: ```{"reason": "...", "better": "1"}```
+ - If you think cinematographer #2 annotations are better, return: ```{"reason": "...", "better": "2"}```
\ No newline at end of file
diff --git a/FilmAgent/Prompt/screenwriter_1.txt b/FilmAgent/Prompt/screenwriter_1.txt
new file mode 100644
index 0000000..a9c1216
--- /dev/null
+++ b/FilmAgent/Prompt/screenwriter_1.txt
@@ -0,0 +1,20 @@
+You are tasked as a screenwriter to create specific dialogues based on the provided script outline. Please use your creativity and understanding of the plot to write vivid dialogues that drive the story forward, making the script rich and engaging.
+
+
+### Script Outline:
+{script_outline}
+
+### Requirements:
+ - Keep the dialogue natural, concise, and vivid, avoiding repetition, clichés, and the use of numbers.
+ - In each scene, the characters participating in the dialogue can only include "involved characters" for this scene specified in the Script Outline.
+ - Each sentence of dialogue should not be too long.
+ - The number of dialogues in each scene should NOT be too many.
+ - The dialogue in each scene should ultimately achieve the given dialogue-goal, allowing the scene to end naturally.
+
+
+Your response should only contain the following JSON content:
+[{"scene-topic": "...",
+"scene-plot": "...",
+"scene-dialogue": [{"speaker": "...", "content": "..."}, ...]
+},
+...]
\ No newline at end of file
diff --git a/FilmAgent/Prompt/screenwriter_2.txt b/FilmAgent/Prompt/screenwriter_2.txt
new file mode 100644
index 0000000..4e0ce0e
--- /dev/null
+++ b/FilmAgent/Prompt/screenwriter_2.txt
@@ -0,0 +1,21 @@
+You are a screenwriter. You need to choose an appropriate position for each character in every scene of the script.
+
+
+### Script Information:
+{script_information}
+
+### Optional Positions:
+{optional_positions}
+
+### Requirements:
+1. In a scene, each character's position must be different.
+2. You need to provide a reason for your choice of position.
+
+
+Your response should only contain the following JSON content:
+[{"scene-id": "...",
+"scene-location": "...",
+"reason": "...",
+"scene-position": [{"character": "...", "position": "..."}, ...]
+},
+...]
\ No newline at end of file
diff --git a/FilmAgent/Prompt/screenwriter_3.txt b/FilmAgent/Prompt/screenwriter_3.txt
new file mode 100644
index 0000000..690d059
--- /dev/null
+++ b/FilmAgent/Prompt/screenwriter_3.txt
@@ -0,0 +1,52 @@
+You are a screenwriter. You need to read the dialogues and story plot in the script, then add appropriate actions for the characters based on your understanding.
+
+
+### [Script Information]:
+
+1. **Plot**:
+{plot}
+
+2. **Dialogues**:
+{dialogues}
+
+3. **Characters' Initial Positions and States**:
+{initial}
+
+
+### [Complete List of Actions]:
+{all_actions}
+
+
+### [Action Selection Requirements]:
+
+1. **Basic Requirements**:
+ - Note that all actions should be selected from [Complete List of Actions].
+ - Each character can only add one action at a time.
+ - Unnecessary actions should not be added to avoid cluttering the scene.
+
+2. **Key Requirements**:
+ - In one scene, you cannot overuse a certain action.
+ - When a character is in the standing state, you can only choose the action performed in standing state. When a character is in the sitting state, you can only choose the action performed in sitting state.
+ - You can choose "Sit Down" only when the character is at a sittable position.
+ - Only by using "Stand Up" or "Sit Down" can the character's state be changed; otherwise, the character's state should remain the same as before.
+
+
+### [Action Selection Steps]:
+ - Step 1: Understand the emotions expressed in the dialogues based on the story plot, and consider the emotional states of the characters in the conversation.
+ - Step 2: According to the considerations from Step 1 and [Action Selection Requirements], choose the most appropriate actions from the [Complete List of Actions] and add them after each line of dialogue, including the speaker and some other (not all) characters' actions.
+
+
+### [Output Content]:
+Each action added should consist of the following parts:
+ - action: The action selected from [Complete List of Actions].
+ - character: The character that performs the action.
+ - state: The state before the action is performed, including standing or sitting.
+ - reasoning: The logical reasoning process that includes the complete two action selection steps mentioned above.
+
+
+Your response should only contain the following JSON content:
+[{"speaker": "...",
+"content": "...",
+"actions": [{"reasoning": "...", "character": "...", "state": "...", "action": "..."}, ...]
+},
+...]
\ No newline at end of file
diff --git a/FilmAgent/Prompt/screenwriter_4.txt b/FilmAgent/Prompt/screenwriter_4.txt
new file mode 100644
index 0000000..aa1c94c
--- /dev/null
+++ b/FilmAgent/Prompt/screenwriter_4.txt
@@ -0,0 +1,51 @@
+You are a screenwriter. You have received feedback on your script from the director. Now, you need to take this feedback into consideration and provide an updated script.
+
+
+### [Film Theme]:
+{theme}
+
+
+### [Director's feedback]:
+{feedback}
+
+
+### [Original Script]:
+{script}
+
+
+### [Complete List of Actions]:
+{all_actions}
+
+
+### [Position Information]:
+{characters_position}
+
+
+### [Basic Requirements]:
+
+1. **Dialogue Requirements**:
+ - Please keep the dialogue natural, concise, and vivid, avoiding repetition, clichés, and the use of numbers.
+ - In each scene, the characters participating in the dialogue can only include those specified in the script for that scene.
+ - The number of dialogues in each scene should not be excessive.
+
+2. **Action Requirements**:
+ - Note that all actions in your updated script should be selected from [Complete List of Actions].
+ - In a scene, you cannot overuse a certain action.
+ - When a character is in the standing state, you can only choose the action performed in standing state. When a character is in the sitting state, you can only choose the action performed in sitting state.
+ - You can choose "Sit Down" only when the character is at a sittable position.
+ - Each character can only add one action at a time.
+ - Only by using "Stand Up" or "Sit Down" can the character's state be changed; otherwise, the character's state should remain the same as before.
+ - Each action should consist of the following parts:
+ - reason: The reason for your choice of action.
+ - action: The action selected from [Complete List of Actions].
+ - character: The character that performs the action.
+ - state: The state before the action is performed, including standing or sitting.
+
+
+
+You must make corresponding updates in the script for each piece of feedback provided by director. Your response should only contain the following JSON content:
+[{"scene_information": {"who": "...","where": "...", "what": "..."},
+"initial position": [{"character": "...", "position": "..."}, ...],
+"dialogues": [{"speaker": "...", "content": "...", "actions": [{"reason": "...", "character": "...", "state": "...", "action": "..."}, ...]}, ...]
+},
+...]
\ No newline at end of file
diff --git a/FilmAgent/Prompt/screenwriter_5.txt b/FilmAgent/Prompt/screenwriter_5.txt
new file mode 100644
index 0000000..0829147
--- /dev/null
+++ b/FilmAgent/Prompt/screenwriter_5.txt
@@ -0,0 +1,22 @@
+You are a screenwriter. You have received feedback on your script from the director. Now, you need to take this feedback into consideration and provide an updated script.
+
+
+### Director's feedback:
+{feedback}
+
+
+### Original Script:
+{script}
+
+
+### Basic Requirements:
+ - Please keep the dialogue natural, concise, and vivid, avoiding repetition, clichés, and the use of numbers.
+ - In each scene, the characters participating in the dialogue can only include those specified in the script for that scene.
+ - The number of dialogues in each scene should not be excessive.
+
+
+Your response should only contain the following JSON content:
+[{"scene_information": {"who": "...","where": "...", "what": "..."},
+"dialogues": [{"speaker": "...", "content": "..."}, ...]
+},
+...]
\ No newline at end of file
diff --git a/FilmAgent/Prompt/shot_review.txt b/FilmAgent/Prompt/shot_review.txt
new file mode 100644
index 0000000..2b870b3
--- /dev/null
+++ b/FilmAgent/Prompt/shot_review.txt
@@ -0,0 +1,45 @@
+You are a cinematographer. Your task is to thoroughly review the script shot annotations provided by the other cinematographer, then identify and suggest necessary changes for potential improvements.
+
+
+### [Provided Materials]:
+
+1. **Script Content**:
+{script}
+
+2. **Another Cinematographer's Shot Annotations**:
+{shot_annotation}
+
+3. **Complete List of Shots**:
+{all_shots}
+
+
+### [Review Guidelines]:
+ - If there are too many close shots or mid shots in one scene, suggest appropriate dynamic shots to replace some, but not all, based on the usage conditions.
+ - If the first shot of a dialogue-starting scene is neither a Track Shot nor a Long Shot, suggest a shot in [Track Shot, Long Shot] to replace it.
+ - If a Zoom Shot is used in a scene, check whether the preceding shot is a Long Shot. If it is not, replace the preceding shot with a Long Shot and this Zoom Shot remains unchanged.
+ - If a Track Shot is not used as the first shot of a scene, suggest an appropriate shot to replace it.
+ - If a Pan Shot appears only once in a scene, replace the preceding shot and the next shot with a Pan Shot.
+ - If a Follow Shot is used on a character who is not moving, suggest an appropriate shot to replace it.
+ - If a Curve Surround Shot is not used for the character's first appearance in the script, suggest another appropriate dynamic shot to replace it.
+ - If a 360 Degrees Shot is neither used for the character's first appearance in the script nor to create a tense atmosphere, suggest another appropriate dynamic shot to replace it.
+
+
+### [Review Steps]:
+ - Step 1. Carefully review each shot annotation according to the [Review Guidelines]. Check whether the shot annotation violates any review guidelines, and if it does, specify which guideline it violates.
+ - Step 2. If step 1 finds that a shot annotation violates the review guidelines, then set the "need update" field to "True"; otherwise, set it to "False".
+ - Step 3. If "need update" field is "True", suggest a better updated shot to replace the original shot according to the [Review Guidelines]; otherwise, just set the "updated shot" field to "None".
+
+
+Please support your decision and suggestion with detailed logical reasoning. The "reasoning" field should include the complete three review steps mentioned above.
+
+Your response should only contain the following JSON content:
+```json
+{
+ "scene 1": {
+ "selected-shot-1": {"shot": "...", "reasoning": "...", "need update": "...", "updated shot": "..."},
+ "selected-shot-2": {"shot": "...", "reasoning": "...", "need update": "...", "updated shot": "..."},
+ ...
+ },
+ ...
+}
+```
\ No newline at end of file
--
Gitblit v1.8.0