lhh2023 commited on
Commit
41b9bd9
·
1 Parent(s): 79ef8f8

Prompt words to keep the pronunciation consistent

Browse files
Files changed (1) hide show
  1. lightrag/llm.py +1 -1
lightrag/llm.py CHANGED
@@ -743,7 +743,7 @@ async def zhipu_complete_if_cache(
743
  messages = []
744
 
745
  if not system_prompt:
746
- system_prompt = "You are a helpful assistant."
747
 
748
  # Add system prompt if provided
749
  if system_prompt:
 
743
  messages = []
744
 
745
  if not system_prompt:
746
+ system_prompt = "You are a helpful assistant. Note that sensitive words in the content should be replaced with ***"
747
 
748
  # Add system prompt if provided
749
  if system_prompt: