31 lines
930 B
Python
31 lines
930 B
Python
"""Agent System Prompt模板库 - Context Engineering模块化Prompt系统
|
|
|
|
使用方式:
|
|
from app.agent_framework.prompts import TOPIC_SELECTOR_TEMPLATE
|
|
|
|
messages = TOPIC_SELECTOR_TEMPLATE.render({
|
|
"target_keyword": "AI营销",
|
|
"brand_name": "示例品牌",
|
|
"target_platform": "微信公众号",
|
|
})
|
|
"""
|
|
|
|
from .base_template import PromptSection, PromptTemplate
|
|
from .content_generator import CONTENT_GENERATOR_TEMPLATE
|
|
from .deai_agent import DEAI_TEMPLATE
|
|
from .geo_optimizer import GEO_OPTIMIZER_TEMPLATE
|
|
from .rule_checker import RULE_CHECKER_TEMPLATE
|
|
from .schema_advisor import SCHEMA_ADVISOR_TEMPLATE
|
|
from .topic_selector import TOPIC_SELECTOR_TEMPLATE
|
|
|
|
__all__ = [
|
|
"PromptSection",
|
|
"PromptTemplate",
|
|
"TOPIC_SELECTOR_TEMPLATE",
|
|
"CONTENT_GENERATOR_TEMPLATE",
|
|
"DEAI_TEMPLATE",
|
|
"GEO_OPTIMIZER_TEMPLATE",
|
|
"RULE_CHECKER_TEMPLATE",
|
|
"SCHEMA_ADVISOR_TEMPLATE",
|
|
]
|