From ff8162890d988fcdf7f7d7e830a5d6182d7010aa Mon Sep 17 00:00:00 2001 From: carry <2641257231@qq.com> Date: Wed, 9 Apr 2025 10:35:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor(db):=20=E7=A7=BB=E9=99=A4=E4=BA=86?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=8D=E6=A8=A1=E6=9D=BF=E4=B8=AD=E5=86=97?= =?UTF-8?q?=E4=BD=99=E7=9A=84=20JSON=20=E6=A0=BC=E5=BC=8F=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/prompt_store.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db/prompt_store.py b/db/prompt_store.py index 5433102..20eef03 100644 --- a/db/prompt_store.py +++ b/db/prompt_store.py @@ -49,8 +49,7 @@ def initialize_prompt_store(db: TinyDB) -> None: description="默认提示词模板", content="""项目名为:{ project_name } 请依据以下该项目官方文档的部分内容,创造合适的对话数据集用于微调一个了解该项目的小模型的语料,要求兼顾文档中间尽可能多的信息点,使用中文 -文档节选:{ content } - 按照如下json格式返回:{ json }""").model_dump()) +文档节选:{ content }""").model_dump()) # 如果数据库中已有数据,则跳过插入