Prompt words to keep the pronunciation consistent
Browse files- 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:
|