Skip to content

Commit

Permalink
Improve RAG template
Browse files Browse the repository at this point in the history
  • Loading branch information
philippgille committed Apr 24, 2024
1 parent df6c863 commit 8fdd7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rag-wikipedia-ollama/llm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<context>
{{- if . -}}
Expand Down

0 comments on commit 8fdd7a5

Please sign in to comment.