Commit Graph

12 Commits

Author SHA1 Message Date
liunux4odoo a65bc4a63c
添加configs/prompt_config.py,允许用户自定义prompt模板: (#1504)
1、 默认包含2个模板,分别用于LLM对话,知识库和搜索引擎对话
2、 server/utils.py提供函数get_prompt_template,获取指定的prompt模板内容(支持热加载)
3、 api.py中chat/knowledge_base_chat/search_engine_chat接口支持prompt_name参数
2023-09-17 13:27:11 +08:00
liunux4odoo f7c73b842a
优化configs (#1474)
* remove llm_model_dict

* optimize configs

* fix get_model_path

* 更改一些默认参数,添加千帆的默认配置

* Update server_config.py.example
2023-09-15 17:52:22 +08:00
imClumsyPanda a87a2815da update knowledge_base and dialogue page of webui 2023-09-15 13:45:47 +08:00
imClumsyPanda 8ea75417ec update VERSION 2023-09-05 10:20:59 +08:00
imClumsyPanda d1b4dea2ca update VERSION 2023-09-05 10:19:14 +08:00
imClumsyPanda fea7e8ddf1 update VERSION 2023-08-26 11:10:45 +08:00
imClumsyPanda 79d225be36 update VERSION 2023-08-25 16:26:51 +08:00
imClumsyPanda cb3fe84fe3 update VERSION 2023-08-20 10:41:28 +08:00
imClumsyPanda adb102f5f0 update VERSION 2023-08-17 22:32:42 +08:00
imClumsyPanda 52837429d2 update configs.__init__, webui.py and api.py 2023-08-17 22:19:37 +08:00
imClumsyPanda 5ec512801f update configs.__init__ 2023-08-17 21:51:21 +08:00
imClumsyPanda 24a280ce8c re-add zh_title_enhance.py 2023-08-09 23:09:24 +08:00