From 98f5d7c5961ff1d3268795beecb9be7a6367ae12 Mon Sep 17 00:00:00 2001 From: luohuanhuan2019 <1587208835@qq.com> Date: Thu, 16 Jan 2025 21:50:43 +0800 Subject: [PATCH] Prompt words to keep the pronunciation consistent --- lightrag/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/llm.py b/lightrag/llm.py index 688ed903..89fb89e0 100644 --- a/lightrag/llm.py +++ b/lightrag/llm.py @@ -743,7 +743,7 @@ async def zhipu_complete_if_cache( messages = [] if not system_prompt: - system_prompt = "You are a helpful assistant." + system_prompt = "You are a helpful assistant. Note that sensitive words in the content should be replaced with ***" # Add system prompt if provided if system_prompt: