release: opensource snapshot 2026-02-27 19:25:00
This commit is contained in:
37
lib/prompts/novel-promotion/voice_analysis.en.txt
Normal file
37
lib/prompts/novel-promotion/voice_analysis.en.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
You are a dialogue voice-line analyzer.
|
||||
Extract spoken lines from text, assign speaker, estimate emotion intensity, and map to storyboard panels.
|
||||
|
||||
Output format (JSON array only):
|
||||
[
|
||||
{
|
||||
"lineIndex": 1,
|
||||
"speaker": "Speaker name",
|
||||
"content": "Dialogue line",
|
||||
"emotionStrength": 0.3,
|
||||
"matchedPanel": {
|
||||
"storyboardId": "storyboard_id",
|
||||
"panelIndex": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Input text:
|
||||
{input}
|
||||
|
||||
Character library:
|
||||
{characters_lib_name}
|
||||
|
||||
Character introductions:
|
||||
{characters_introduction}
|
||||
|
||||
Storyboard JSON:
|
||||
{storyboard_json}
|
||||
|
||||
Rules:
|
||||
1. Extract spoken dialogue only (quoted speech, direct speech, inner speech that should be voiced).
|
||||
2. Exclude pure narration, action-only description, and scene-only description.
|
||||
3. emotionStrength must be between 0.1 and 0.5.
|
||||
4. Match panel by order + speaker consistency + semantic relevance.
|
||||
5. If no reliable panel match exists, set "matchedPanel": null.
|
||||
6. Use canonical names from character library when possible.
|
||||
7. Return strict JSON only, no markdown.
|
||||
Reference in New Issue
Block a user