Merge branch 'refactor/backend-architecture' into development
This commit is contained in:
57
api/app/agents/prompts/__init__.py
Normal file
57
api/app/agents/prompts/__init__.py
Normal file
@@ -0,0 +1,57 @@
|
||||
"""
|
||||
提示词模块
|
||||
"""
|
||||
from .conversation_prompts import (
|
||||
ConversationStage,
|
||||
get_system_prompt as get_conversation_prompt,
|
||||
get_questions_for_stage,
|
||||
get_guided_conversation_prompt,
|
||||
get_opening_prompt,
|
||||
INTERVIEW_QUESTIONS,
|
||||
)
|
||||
from .memory_prompts import (
|
||||
get_system_prompt as get_memory_prompt,
|
||||
get_chapter_classification_prompt,
|
||||
get_text_rewrite_prompt,
|
||||
get_state_extraction_prompt,
|
||||
get_creative_title_prompt,
|
||||
get_narrative_prompt,
|
||||
inject_image_placeholder_template,
|
||||
CHAPTER_CATEGORIES,
|
||||
CHAPTER_ORDER,
|
||||
STAGE_TO_ORDER,
|
||||
)
|
||||
from .profile_prompts import (
|
||||
get_profile_greeting_prompt,
|
||||
get_profile_extraction_prompt,
|
||||
get_profile_followup_prompt,
|
||||
format_user_profile_context,
|
||||
get_missing_profile_fields,
|
||||
PROFILE_FIELD_NAMES,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"ConversationStage",
|
||||
"get_conversation_prompt",
|
||||
"get_questions_for_stage",
|
||||
"get_guided_conversation_prompt",
|
||||
"get_opening_prompt",
|
||||
"INTERVIEW_QUESTIONS",
|
||||
"get_memory_prompt",
|
||||
"get_chapter_classification_prompt",
|
||||
"get_text_rewrite_prompt",
|
||||
"get_state_extraction_prompt",
|
||||
"get_creative_title_prompt",
|
||||
"get_narrative_prompt",
|
||||
"inject_image_placeholder_template",
|
||||
"CHAPTER_CATEGORIES",
|
||||
"CHAPTER_ORDER",
|
||||
"STAGE_TO_ORDER",
|
||||
"get_profile_greeting_prompt",
|
||||
"get_profile_extraction_prompt",
|
||||
"get_profile_followup_prompt",
|
||||
"format_user_profile_context",
|
||||
"get_missing_profile_fields",
|
||||
"PROFILE_FIELD_NAMES",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user