From 2c14a471ee45d6fd872882be561c35937025e29e Mon Sep 17 00:00:00 2001
From: yisding <yi.s.ding@gmail.com>
Date: Mon, 4 Mar 2024 16:01:28 -0800
Subject: [PATCH] typo in chat refine prompt (#11628)

---
 llama-index-core/llama_index/core/prompts/chat_prompts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llama-index-core/llama_index/core/prompts/chat_prompts.py b/llama-index-core/llama_index/core/prompts/chat_prompts.py
index 3aa6e581b1..ac5b0cd2d9 100644
--- a/llama-index-core/llama_index/core/prompts/chat_prompts.py
+++ b/llama-index-core/llama_index/core/prompts/chat_prompts.py
@@ -69,7 +69,7 @@ CHAT_REFINE_PROMPT_TMPL_MSGS = [
             "1. **Rewrite** an original answer using the new context.\n"
             "2. **Repeat** the original answer if the new context isn't useful.\n"
             "Never reference the original answer or context directly in your answer.\n"
-            "When in doubt, just repeat the original answer."
+            "When in doubt, just repeat the original answer.\n"
             "New Context: {context_msg}\n"
             "Query: {query_str}\n"
             "Original Answer: {existing_answer}\n"
-- 
GitLab