Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,10 +42,10 @@ API_URL = "https://api.friendli.ai/dedicated/v1/chat/completions"
|
|
| 42 |
MODEL_ID = "dep86pjolcjjnv8"
|
| 43 |
DB_PATH = "webnovel_sessions_v1.db"
|
| 44 |
|
| 45 |
-
# Target settings for web novel
|
| 46 |
TARGET_EPISODES = 40 # 40ํ ์๊ฒฐ
|
| 47 |
-
WORDS_PER_EPISODE =
|
| 48 |
-
TARGET_WORDS = TARGET_EPISODES * WORDS_PER_EPISODE # ์ด
|
| 49 |
|
| 50 |
# Web novel genres
|
| 51 |
WEBNOVEL_GENRES = {
|
|
@@ -397,7 +397,7 @@ class WebNovelSystem:
|
|
| 397 |
|
| 398 |
**์ฃผ์ :** {query}
|
| 399 |
**์ฅ๋ฅด:** {genre}
|
| 400 |
-
**๋ชฉํ:** 40ํ ์๊ฒฐ, ์ด
|
| 401 |
|
| 402 |
**์ฅ๋ฅด ํ์ ์์:**
|
| 403 |
- ํต์ฌ ์์: {', '.join(genre_info.get('key_elements', []))}
|
|
@@ -405,25 +405,26 @@ class WebNovelSystem:
|
|
| 405 |
- ํ์ ํฌํจ: {', '.join(genre_info.get('must_have', []))}
|
| 406 |
|
| 407 |
**์ ์ฒด ๊ตฌ์ฑ:**
|
| 408 |
-
1. **1-5ํ**: ํฅ๋ฏธ๋ก์ด ๋์
๋ถ, ์ฃผ์ธ๊ณต๊ณผ ์ธ๊ณ๊ด
|
| 409 |
-
2. **6-15ํ**: ๊ฐ๋ฑ ์์น, ์ฃผ์ ์ธ๋ฌผ ๊ด๊ณ
|
| 410 |
-
3. **16-25ํ**: ์ค๊ฐ ํด๋ผ์ด๋งฅ์ค,
|
| 411 |
-
4. **26-35ํ**: ์ต์ข
๊ฐ๋ฑ์ผ๋ก
|
| 412 |
-
5. **36-40ํ**: ํด๋ผ์ด๋งฅ์ค์
|
| 413 |
|
| 414 |
**๊ฐ ํ ๊ตฌ์ฑ ์์น:**
|
| 415 |
-
-
|
|
|
|
| 416 |
- ๋งค ํ ๋ ๊ฐ๋ ฅํ ํํฌ
|
| 417 |
- ๋น ๋ฅธ ์ ๊ฐ์ ๋ชฐ์
๊ฐ
|
| 418 |
- ๋
์๊ฐ ๋ค์ ํ๋ฅผ ๊ธฐ๋ค๋ฆฌ๊ฒ ๋ง๋ค๊ธฐ
|
| 419 |
|
| 420 |
-
๊ตฌ์ฒด์ ์ธ 40ํ ํ๋กฏ๋ผ์ธ์ ์ ์ํ์ธ์.""",
|
| 421 |
|
| 422 |
"English": f"""Plan a Korean-style web novel for {genre} genre.
|
| 423 |
|
| 424 |
**Theme:** {query}
|
| 425 |
**Genre:** {genre}
|
| 426 |
-
**Goal:** 40 episodes, total
|
| 427 |
|
| 428 |
**Genre Requirements:**
|
| 429 |
- Key elements: {', '.join(genre_info.get('key_elements', []))}
|
|
@@ -431,26 +432,27 @@ class WebNovelSystem:
|
|
| 431 |
- Must include: {', '.join(genre_info.get('must_have', []))}
|
| 432 |
|
| 433 |
**Overall Structure:**
|
| 434 |
-
1. **Episodes 1-5**: Engaging introduction, protagonist and world
|
| 435 |
-
2. **Episodes 6-15**: Rising conflict, main relationships
|
| 436 |
-
3. **Episodes 16-25**: Mid climax, plot twist
|
| 437 |
-
4. **Episodes 26-35**: Building to final conflict
|
| 438 |
-
5. **Episodes 36-40**:
|
| 439 |
|
| 440 |
**Episode Principles:**
|
| 441 |
-
-
|
|
|
|
| 442 |
- Strong hook at episode end
|
| 443 |
- Fast pacing and immersion
|
| 444 |
- Make readers crave next episode
|
| 445 |
|
| 446 |
-
Provide detailed 40-episode plotline."""
|
| 447 |
}
|
| 448 |
|
| 449 |
return lang_prompts.get(language, lang_prompts["Korean"])
|
| 450 |
|
| 451 |
def create_episode_prompt(self, episode_num: int, plot_outline: str,
|
| 452 |
previous_content: str, genre: str, language: str) -> str:
|
| 453 |
-
"""Create prompt for individual episode"""
|
| 454 |
genre_info = GENRE_ELEMENTS.get(genre, {})
|
| 455 |
hooks = EPISODE_HOOKS.get(genre, ["๋ค์ ์๊ฐ, ์ถฉ๊ฒฉ์ ์ธ ์ผ์ด..."])
|
| 456 |
|
|
@@ -458,48 +460,78 @@ Provide detailed 40-episode plotline."""
|
|
| 458 |
"Korean": f"""์น์์ค {episode_num}ํ๋ฅผ ์์ฑํ์ธ์.
|
| 459 |
|
| 460 |
**์ฅ๋ฅด:** {genre}
|
| 461 |
-
**๋ถ๋:**
|
| 462 |
|
| 463 |
**์ ์ฒด ํ๋กฏ์์ {episode_num}ํ ๋ด์ฉ:**
|
| 464 |
{self._extract_episode_plan(plot_outline, episode_num)}
|
| 465 |
|
| 466 |
**์ด์ ๋ด์ฉ ์์ฝ:**
|
| 467 |
-
{previous_content[-
|
| 468 |
|
| 469 |
**์์ฑ ์ง์นจ:**
|
| 470 |
-
1.
|
| 471 |
-
|
| 472 |
-
3
|
| 473 |
-
|
| 474 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 475 |
|
| 476 |
**์ฐธ๊ณ ํํฌ ์์:**
|
| 477 |
{random.choice(hooks)}
|
| 478 |
|
| 479 |
-
|
| 480 |
|
| 481 |
"English": f"""Write episode {episode_num} of the web novel.
|
| 482 |
|
| 483 |
**Genre:** {genre}
|
| 484 |
-
**Length:**
|
| 485 |
|
| 486 |
**Episode {episode_num} from plot:**
|
| 487 |
{self._extract_episode_plan(plot_outline, episode_num)}
|
| 488 |
|
| 489 |
**Previous content:**
|
| 490 |
-
{previous_content[-
|
| 491 |
|
| 492 |
**Guidelines:**
|
| 493 |
-
1.
|
| 494 |
-
|
| 495 |
-
3
|
| 496 |
-
|
| 497 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 498 |
|
| 499 |
**Hook example:**
|
| 500 |
{random.choice(hooks)}
|
| 501 |
|
| 502 |
-
Write
|
| 503 |
}
|
| 504 |
|
| 505 |
return lang_prompts.get(language, lang_prompts["Korean"])
|
|
@@ -577,7 +609,8 @@ Provide specific improvements."""
|
|
| 577 |
system_prompts = self.get_system_prompts(language)
|
| 578 |
full_messages = [{"role": "system", "content": system_prompts.get(role, "")}, *messages]
|
| 579 |
|
| 580 |
-
|
|
|
|
| 581 |
|
| 582 |
payload = {
|
| 583 |
"model": self.model_id,
|
|
@@ -639,18 +672,21 @@ Provide specific improvements."""
|
|
| 639 |
yield f"โ Error occurred: {str(e)}"
|
| 640 |
|
| 641 |
def get_system_prompts(self, language: str) -> Dict[str, str]:
|
| 642 |
-
"""System prompts for web novel roles"""
|
| 643 |
base_prompts = {
|
| 644 |
"Korean": {
|
| 645 |
"planner": """๋น์ ์ ํ๊ตญ ์น์์ค ์์ฅ์ ์๋ฒฝํ ์ดํดํ๋ ๊ธฐํ์์
๋๋ค.
|
| 646 |
๋
์๋ฅผ ์ค๋
์ํค๋ ํ๋กฏ๊ณผ ์ ๊ฐ๋ฅผ ์ค๊ณํฉ๋๋ค.
|
| 647 |
์ฅ๋ฅด๋ณ ๊ด์ต๊ณผ ๋
์ ๊ธฐ๋๋ฅผ ์ ํํ ํ์
ํฉ๋๋ค.
|
| 648 |
-
40ํ ์๊ฒฐ ๊ตฌ์กฐ๋ก ์๋ฒฝํ ๊ธฐ์น์ ๊ฒฐ์ ๋ง๋ญ๋๋ค.
|
|
|
|
| 649 |
|
| 650 |
"writer": """๋น์ ์ ๋
์๋ฅผ ์ฌ๋ก์ก๋ ์น์์ค ์๊ฐ์
๋๋ค.
|
| 651 |
-
|
| 652 |
-
|
| 653 |
-
|
|
|
|
|
|
|
| 654 |
|
| 655 |
"critic": """๋น์ ์ ์น์์ค ๋
์์ ๋ง์์ ์ฝ๋ ํ๋ก ๊ฐ์
๋๋ค.
|
| 656 |
์ฌ๋ฏธ์ ๋ชฐ์
๊ฐ์ ์ต์ฐ์ ์ผ๋ก ํ๊ฐํฉ๋๋ค.
|
|
@@ -661,12 +697,15 @@ Provide specific improvements."""
|
|
| 661 |
"planner": """You perfectly understand the Korean web novel market.
|
| 662 |
Design addictive plots and developments.
|
| 663 |
Accurately grasp genre conventions and reader expectations.
|
| 664 |
-
Create perfect story structure in 40 episodes.
|
|
|
|
| 665 |
|
| 666 |
"writer": """You are a web novelist who captivates readers.
|
| 667 |
-
Use
|
| 668 |
-
|
| 669 |
-
Develop story through
|
|
|
|
|
|
|
| 670 |
|
| 671 |
"critic": """You read web novel readers' minds.
|
| 672 |
Prioritize fun and immersion in evaluation.
|
|
|
|
| 42 |
MODEL_ID = "dep86pjolcjjnv8"
|
| 43 |
DB_PATH = "webnovel_sessions_v1.db"
|
| 44 |
|
| 45 |
+
# Target settings for web novel - UPDATED FOR LONGER EPISODES
|
| 46 |
TARGET_EPISODES = 40 # 40ํ ์๊ฒฐ
|
| 47 |
+
WORDS_PER_EPISODE = 400 # ๊ฐ ํ๋น 400-600 ๋จ์ด (๊ธฐ์กด 200-300์์ ์ฆ๊ฐ)
|
| 48 |
+
TARGET_WORDS = TARGET_EPISODES * WORDS_PER_EPISODE # ์ด 16000 ๋จ์ด
|
| 49 |
|
| 50 |
# Web novel genres
|
| 51 |
WEBNOVEL_GENRES = {
|
|
|
|
| 397 |
|
| 398 |
**์ฃผ์ :** {query}
|
| 399 |
**์ฅ๋ฅด:** {genre}
|
| 400 |
+
**๋ชฉํ:** 40ํ ์๊ฒฐ, ์ด 16,000๋จ์ด
|
| 401 |
|
| 402 |
**์ฅ๋ฅด ํ์ ์์:**
|
| 403 |
- ํต์ฌ ์์: {', '.join(genre_info.get('key_elements', []))}
|
|
|
|
| 405 |
- ํ์ ํฌํจ: {', '.join(genre_info.get('must_have', []))}
|
| 406 |
|
| 407 |
**์ ์ฒด ๊ตฌ์ฑ:**
|
| 408 |
+
1. **1-5ํ**: ํฅ๋ฏธ๋ก์ด ๋์
๋ถ, ์ฃผ์ธ๊ณต๊ณผ ์ธ๊ณ๊ด ์๊ฐ, ํต์ฌ ๊ฐ๋ฑ ์ ์
|
| 409 |
+
2. **6-15ํ**: ๊ฐ๋ฑ ์์น, ์ฃผ์ ์ธ๋ฌผ ๊ด๊ณ ํ์ฑ, ์ฒซ ๋ฒ์งธ ์๊ธฐ
|
| 410 |
+
3. **16-25ํ**: ์ค๊ฐ ํด๋ผ์ด๋งฅ์ค, ๋ฐ์ , ์๋ก์ด ์ง์ค ๋ฐ๊ฒฌ
|
| 411 |
+
4. **26-35ํ**: ์ต์ข
๊ฐ๋ฑ์ผ๋ก ์น๋ซ๊ธฐ, ๋ชจ๋ ๊ฐ๋ฑ์ ์๋ ด
|
| 412 |
+
5. **36-40ํ**: ๋๊ฒฐ์ , ํด๋ผ์ด๋งฅ์ค์ ๊ฒฐ๋ง, ๊ฐ๋์ ๋ง๋ฌด๋ฆฌ
|
| 413 |
|
| 414 |
**๊ฐ ํ ๊ตฌ์ฑ ์์น:**
|
| 415 |
+
- 400-600๋จ์ด ๋ถ๋ (์ถฉ์คํ ๋ด์ฉ)
|
| 416 |
+
- 3-4๊ฐ์ ์ฃผ์ ์ฅ๋ฉด ํฌํจ
|
| 417 |
- ๋งค ํ ๋ ๊ฐ๋ ฅํ ํํฌ
|
| 418 |
- ๋น ๋ฅธ ์ ๊ฐ์ ๋ชฐ์
๊ฐ
|
| 419 |
- ๋
์๊ฐ ๋ค์ ํ๋ฅผ ๊ธฐ๋ค๋ฆฌ๊ฒ ๋ง๋ค๊ธฐ
|
| 420 |
|
| 421 |
+
๊ตฌ์ฒด์ ์ธ 40ํ ํ๋กฏ๋ผ์ธ์ ์ ์ํ์ธ์. ๊ฐ ํ๋ง๋ค ํต์ฌ ์ฌ๊ฑด๊ณผ ์ ๊ฐ๋ฅผ ๋ช
์ํ์ธ์.""",
|
| 422 |
|
| 423 |
"English": f"""Plan a Korean-style web novel for {genre} genre.
|
| 424 |
|
| 425 |
**Theme:** {query}
|
| 426 |
**Genre:** {genre}
|
| 427 |
+
**Goal:** 40 episodes, total 16,000 words
|
| 428 |
|
| 429 |
**Genre Requirements:**
|
| 430 |
- Key elements: {', '.join(genre_info.get('key_elements', []))}
|
|
|
|
| 432 |
- Must include: {', '.join(genre_info.get('must_have', []))}
|
| 433 |
|
| 434 |
**Overall Structure:**
|
| 435 |
+
1. **Episodes 1-5**: Engaging introduction, protagonist and world, core conflict
|
| 436 |
+
2. **Episodes 6-15**: Rising conflict, main relationships, first crisis
|
| 437 |
+
3. **Episodes 16-25**: Mid climax, plot twist, new revelations
|
| 438 |
+
4. **Episodes 26-35**: Building to final conflict, convergence of all conflicts
|
| 439 |
+
5. **Episodes 36-40**: Final battle, climax and resolution, emotional closure
|
| 440 |
|
| 441 |
**Episode Principles:**
|
| 442 |
+
- 400-600 words each (substantial content)
|
| 443 |
+
- 3-4 major scenes per episode
|
| 444 |
- Strong hook at episode end
|
| 445 |
- Fast pacing and immersion
|
| 446 |
- Make readers crave next episode
|
| 447 |
|
| 448 |
+
Provide detailed 40-episode plotline with key events for each episode."""
|
| 449 |
}
|
| 450 |
|
| 451 |
return lang_prompts.get(language, lang_prompts["Korean"])
|
| 452 |
|
| 453 |
def create_episode_prompt(self, episode_num: int, plot_outline: str,
|
| 454 |
previous_content: str, genre: str, language: str) -> str:
|
| 455 |
+
"""Create prompt for individual episode - UPDATED FOR LONGER CONTENT"""
|
| 456 |
genre_info = GENRE_ELEMENTS.get(genre, {})
|
| 457 |
hooks = EPISODE_HOOKS.get(genre, ["๋ค์ ์๊ฐ, ์ถฉ๊ฒฉ์ ์ธ ์ผ์ด..."])
|
| 458 |
|
|
|
|
| 460 |
"Korean": f"""์น์์ค {episode_num}ํ๋ฅผ ์์ฑํ์ธ์.
|
| 461 |
|
| 462 |
**์ฅ๋ฅด:** {genre}
|
| 463 |
+
**๋ถ๋:** 400-600๋จ์ด (์๊ฒฉํ ์ค์ - ์ถฉ์คํ ๋ด์ฉ์ผ๋ก)
|
| 464 |
|
| 465 |
**์ ์ฒด ํ๋กฏ์์ {episode_num}ํ ๋ด์ฉ:**
|
| 466 |
{self._extract_episode_plan(plot_outline, episode_num)}
|
| 467 |
|
| 468 |
**์ด์ ๋ด์ฉ ์์ฝ:**
|
| 469 |
+
{previous_content[-1500:] if previous_content else "์ฒซ ํ์
๋๋ค"}
|
| 470 |
|
| 471 |
**์์ฑ ์ง์นจ:**
|
| 472 |
+
1. **๊ตฌ์ฑ**: 3-4๊ฐ์ ์ฃผ์ ์ฅ๋ฉด์ผ๋ก ๊ตฌ์ฑ
|
| 473 |
+
- ๋์
๋ถ: ์ด์ ํ ์ฐ๊ฒฐ ๋ฐ ํ์ฌ ์ํฉ
|
| 474 |
+
- ์ ๊ฐ๋ถ: 2-3๊ฐ์ ํต์ฌ ์ฌ๊ฑด/๋ํ
|
| 475 |
+
- ํด๋ผ์ด๋งฅ์ค: ๊ธด์ฅ๊ฐ ์ต๊ณ ์กฐ
|
| 476 |
+
- ํํฌ: ๋ค์ ํ ์๊ณ
|
| 477 |
+
|
| 478 |
+
2. **ํ์ ์์:**
|
| 479 |
+
- ์์ํ ๋ํ์ ํ๋ ๋ฌ์ฌ
|
| 480 |
+
- ์บ๋ฆญํฐ ๊ฐ์ ๊ณผ ๋ด๋ฉด ๊ฐ๋ฑ
|
| 481 |
+
- ์ฅ๋ฉด ์ ํ๊ณผ ํ
ํฌ ์กฐ์
|
| 482 |
+
- ๋
์ ๋ชฐ์
์ ์ํ ๊ฐ๊ฐ์ ๋ฌ์ฌ
|
| 483 |
+
|
| 484 |
+
3. **์ฅ๋ฅด๋ณ ํน์:**
|
| 485 |
+
- {genre_info.get('episode_structure', '๋น ๋ฅธ ์ ๊ฐ')}
|
| 486 |
+
- ํต์ฌ ์์ 1๊ฐ ์ด์ ํฌํจ
|
| 487 |
+
|
| 488 |
+
4. **๋ถ๋ ๋ฐฐ๋ถ:**
|
| 489 |
+
- ๋์
(50-80๋จ์ด)
|
| 490 |
+
- ์ฃผ์ ์ ๊ฐ (250-350๋จ์ด)
|
| 491 |
+
- ํด๋ผ์ด๋งฅ์ค์ ํํฌ (100-150๋จ์ด)
|
| 492 |
|
| 493 |
**์ฐธ๊ณ ํํฌ ์์:**
|
| 494 |
{random.choice(hooks)}
|
| 495 |
|
| 496 |
+
{episode_num}ํ๋ฅผ ํ์ฑํ๊ณ ๋ชฐ์
๊ฐ ์๊ฒ ์์ฑํ์ธ์. ๋ฐ๋์ 400-600๋จ์ด๋ก ์์ฑํ์ธ์.""",
|
| 497 |
|
| 498 |
"English": f"""Write episode {episode_num} of the web novel.
|
| 499 |
|
| 500 |
**Genre:** {genre}
|
| 501 |
+
**Length:** 400-600 words (strict - with substantial content)
|
| 502 |
|
| 503 |
**Episode {episode_num} from plot:**
|
| 504 |
{self._extract_episode_plan(plot_outline, episode_num)}
|
| 505 |
|
| 506 |
**Previous content:**
|
| 507 |
+
{previous_content[-1500:] if previous_content else "First episode"}
|
| 508 |
|
| 509 |
**Guidelines:**
|
| 510 |
+
1. **Structure**: 3-4 major scenes
|
| 511 |
+
- Opening: Connect from previous, current situation
|
| 512 |
+
- Development: 2-3 key events/dialogues
|
| 513 |
+
- Climax: Peak tension
|
| 514 |
+
- Hook: Next episode teaser
|
| 515 |
+
|
| 516 |
+
2. **Essential elements:**
|
| 517 |
+
- Vivid dialogue and action
|
| 518 |
+
- Character emotions and conflicts
|
| 519 |
+
- Scene transitions and pacing
|
| 520 |
+
- Sensory details for immersion
|
| 521 |
+
|
| 522 |
+
3. **Genre specifics:**
|
| 523 |
+
- {genre_info.get('episode_structure', 'Fast pacing')}
|
| 524 |
+
- Include at least 1 core element
|
| 525 |
+
|
| 526 |
+
4. **Word distribution:**
|
| 527 |
+
- Opening (50-80 words)
|
| 528 |
+
- Main development (250-350 words)
|
| 529 |
+
- Climax and hook (100-150 words)
|
| 530 |
|
| 531 |
**Hook example:**
|
| 532 |
{random.choice(hooks)}
|
| 533 |
|
| 534 |
+
Write rich, immersive episode {episode_num}. Must be 400-600 words."""
|
| 535 |
}
|
| 536 |
|
| 537 |
return lang_prompts.get(language, lang_prompts["Korean"])
|
|
|
|
| 609 |
system_prompts = self.get_system_prompts(language)
|
| 610 |
full_messages = [{"role": "system", "content": system_prompts.get(role, "")}, *messages]
|
| 611 |
|
| 612 |
+
# Increased max_tokens for longer episodes
|
| 613 |
+
max_tokens = 5000 if role == "writer" else 10000
|
| 614 |
|
| 615 |
payload = {
|
| 616 |
"model": self.model_id,
|
|
|
|
| 672 |
yield f"โ Error occurred: {str(e)}"
|
| 673 |
|
| 674 |
def get_system_prompts(self, language: str) -> Dict[str, str]:
|
| 675 |
+
"""System prompts for web novel roles - UPDATED FOR LONGER EPISODES"""
|
| 676 |
base_prompts = {
|
| 677 |
"Korean": {
|
| 678 |
"planner": """๋น์ ์ ํ๊ตญ ์น์์ค ์์ฅ์ ์๋ฒฝํ ์ดํดํ๋ ๊ธฐํ์์
๋๋ค.
|
| 679 |
๋
์๋ฅผ ์ค๋
์ํค๋ ํ๋กฏ๊ณผ ์ ๊ฐ๋ฅผ ์ค๊ณํฉ๋๋ค.
|
| 680 |
์ฅ๋ฅด๋ณ ๊ด์ต๊ณผ ๋
์ ๊ธฐ๋๋ฅผ ์ ํํ ํ์
ํฉ๋๋ค.
|
| 681 |
+
40ํ ์๊ฒฐ ๊ตฌ์กฐ๋ก ์๋ฒฝํ ๊ธฐ์น์ ๊ฒฐ์ ๋ง๋ญ๋๋ค.
|
| 682 |
+
๊ฐ ํ๋ง๋ค ์ถฉ์คํ ๋ด์ฉ๊ณผ ์ ๊ฐ๋ฅผ ๊ณํํฉ๋๋ค.""",
|
| 683 |
|
| 684 |
"writer": """๋น์ ์ ๋
์๋ฅผ ์ฌ๋ก์ก๋ ์น์์ค ์๊ฐ์
๋๋ค.
|
| 685 |
+
ํ๋ถํ๊ณ ๋ชฐ์
๊ฐ ์๋ ๋ฌธ์ฒด๋ฅผ ๊ตฌ์ฌํฉ๋๋ค.
|
| 686 |
+
๊ฐ ํ๋ฅผ 400-600๋จ์ด๋ก ์ถฉ์คํ๊ฒ ์์ฑํฉ๋๋ค.
|
| 687 |
+
์ฌ๋ฌ ์ฅ๋ฉด๊ณผ ์ ํ์ ํตํด ์ด์ผ๊ธฐ๋ฅผ ์ ๊ฐํฉ๋๋ค.
|
| 688 |
+
๋ํ, ํ๋, ๋ด๋ฉด ๋ฌ์ฌ๋ฅผ ๊ท ํ์๊ฒ ๋ฐฐ์นํฉ๋๋ค.
|
| 689 |
+
๋งค ํ ๋์ ๊ฐ๋ ฅํ ํํฌ๋ก ๋ค์ ํ๋ฅผ ๊ธฐ๋ค๋ฆฌ๊ฒ ๋ง๋ญ๋๋ค.""",
|
| 690 |
|
| 691 |
"critic": """๋น์ ์ ์น์์ค ๋
์์ ๋ง์์ ์ฝ๋ ํ๋ก ๊ฐ์
๋๋ค.
|
| 692 |
์ฌ๋ฏธ์ ๋ชฐ์
๊ฐ์ ์ต์ฐ์ ์ผ๋ก ํ๊ฐํฉ๋๋ค.
|
|
|
|
| 697 |
"planner": """You perfectly understand the Korean web novel market.
|
| 698 |
Design addictive plots and developments.
|
| 699 |
Accurately grasp genre conventions and reader expectations.
|
| 700 |
+
Create perfect story structure in 40 episodes.
|
| 701 |
+
Plan substantial content and development for each episode.""",
|
| 702 |
|
| 703 |
"writer": """You are a web novelist who captivates readers.
|
| 704 |
+
Use rich and immersive writing style.
|
| 705 |
+
Write each episode with 400-600 words faithfully.
|
| 706 |
+
Develop story through multiple scenes and transitions.
|
| 707 |
+
Balance dialogue, action, and inner descriptions.
|
| 708 |
+
End each episode with powerful hook for next.""",
|
| 709 |
|
| 710 |
"critic": """You read web novel readers' minds.
|
| 711 |
Prioritize fun and immersion in evaluation.
|