From df9260e9185aeeccacfd8378a5759a8c7d589f40 Mon Sep 17 00:00:00 2001 From: carry Date: Tue, 15 Apr 2025 16:13:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(db):=20=E4=BF=AE=E5=A4=8D=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=8D=E7=9A=84=E5=8F=98=E9=87=8F=E8=8A=B1?= =?UTF-8?q?=E6=8B=AC=E5=8F=B7=E7=9A=84=E7=A9=BA=E6=A0=BC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/prompt_store.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/prompt_store.py b/db/prompt_store.py index 20eef03..f943ad5 100644 --- a/db/prompt_store.py +++ b/db/prompt_store.py @@ -47,9 +47,9 @@ def initialize_prompt_store(db: TinyDB) -> None: id=0, name="default", description="默认提示词模板", - content="""项目名为:{ project_name } + content="""项目名为:{project_name} 请依据以下该项目官方文档的部分内容,创造合适的对话数据集用于微调一个了解该项目的小模型的语料,要求兼顾文档中间尽可能多的信息点,使用中文 -文档节选:{ content }""").model_dump()) +文档节选:{content}""").model_dump()) # 如果数据库中已有数据,则跳过插入