- DB: segments 用户输入文本(Alembic 0002) - Chat: 阶段检测/阶段提示/回复限制,编排与访谈/画像 prompts 调整 - Memoir: 忠实度检查 agent,叙事与分类等链路更新 - Core: agent 日志、Alembic 启动、LangChain/日志/配置等 - Story: time_hints;Memory 检索与相关测试 - Expo: 助手头像、会话页与消息拆分、实时会话与文案/i18n - Docs/scripts/tests: 迁移脚本、LLM JSON/记忆检索文档、新增单测
43 lines
1.1 KiB
Python
43 lines
1.1 KiB
Python
"""
|
||
Chat 模块提示词:用户资料收集 + 对话访谈
|
||
"""
|
||
|
||
# Profile prompts(用户资料收集)
|
||
from app.agents.chat.prompts_profile import (
|
||
PROFILE_FIELD_NAMES,
|
||
format_user_profile_context,
|
||
get_missing_profile_fields,
|
||
get_profile_extraction_prompt,
|
||
get_profile_followup_prompt,
|
||
get_profile_greeting_prompt,
|
||
)
|
||
|
||
# Conversation prompts(对话访谈)
|
||
from app.agents.chat.prompts_conversation import (
|
||
ConversationStage,
|
||
INTERVIEW_QUESTIONS,
|
||
SLOT_NAME_MAP,
|
||
get_guided_conversation_prompt,
|
||
get_interview_system_prompt,
|
||
get_opening_prompt,
|
||
get_questions_for_stage,
|
||
get_system_prompt,
|
||
)
|
||
|
||
__all__ = [
|
||
"PROFILE_FIELD_NAMES",
|
||
"format_user_profile_context",
|
||
"get_missing_profile_fields",
|
||
"get_profile_extraction_prompt",
|
||
"get_profile_followup_prompt",
|
||
"get_profile_greeting_prompt",
|
||
"ConversationStage",
|
||
"INTERVIEW_QUESTIONS",
|
||
"SLOT_NAME_MAP",
|
||
"get_guided_conversation_prompt",
|
||
"get_opening_prompt",
|
||
"get_questions_for_stage",
|
||
"get_system_prompt",
|
||
"get_interview_system_prompt",
|
||
]
|