1、 默认包含2个模板,分别用于LLM对话,知识库和搜索引擎对话 2、 server/utils.py提供函数get_prompt_template,获取指定的prompt模板内容(支持热加载) 3、 api.py中chat/knowledge_base_chat/search_engine_chat接口支持prompt_name参数 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| basic_config.py.example | ||
| kb_config.py.exmaple | ||
| model_config.py.example | ||
| prompt_config.py.example | ||
| server_config.py.example | ||