From aa44a9ff2f99672a295dd1c9dec7f4d888955080 Mon Sep 17 00:00:00 2001 From: Jerry Liu <jerryjliu98@gmail.com> Date: Tue, 8 Nov 2022 19:33:33 -0800 Subject: [PATCH] adjust prompts v2 (#15) Co-authored-by: Jerry Liu <jerry@robustintelligence.com> --- gpt_index/prompts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpt_index/prompts.py b/gpt_index/prompts.py index a60973529..4104c9ade 100644 --- a/gpt_index/prompts.py +++ b/gpt_index/prompts.py @@ -40,9 +40,9 @@ DEFAULT_QUERY_PROMPT = ( DEFAULT_TEXT_QA_PROMPT = ( - "Context information is below. " + "Context information is below. \n" "---------------------\n" "{context_str}" - "---------------------\n" + "\n---------------------\n" "Given the context information and not prior knowledge, answer the question: {query_str}\n" ) \ No newline at end of file -- GitLab