From 8fdd7a59caaa0f79c2482b29ea25dabd1384493b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Gill=C3=A9?= Date: Wed, 24 Apr 2024 22:47:02 +0200 Subject: [PATCH] Improve RAG template --- examples/rag-wikipedia-ollama/llm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rag-wikipedia-ollama/llm.go b/examples/rag-wikipedia-ollama/llm.go index 1fde4ec..c1b6efd 100644 --- a/examples/rag-wikipedia-ollama/llm.go +++ b/examples/rag-wikipedia-ollama/llm.go @@ -32,7 +32,7 @@ Answer the question in a very concise manner. Use an unbiased and journalistic t {{- if . -}} Answer the question solely based on the provided search results from the knowledge base. If the search results from the knowledge base are not relevant to the question at hand, just say that you don't know. Don't make anything up. -Anything between the following 'context' HTML blocks is retrieved from the knowledge base, not part of the conversation with the user. The bullet points are ordered by relevance, so the first one is the most relevant. +Anything between the following 'context' XML blocks is retrieved from the knowledge base, not part of the conversation with the user. The bullet points are ordered by relevance, so the first one is the most relevant. {{- if . -}}