Commit Diff


commit - fdfa239b5dc646468336c072ad1e355cf3e49af6
commit + 7c634733a6f58eae9d9cbc7242fb529f23c19fe1
blob - 99e105779faa4c205ddebc010b5d47ba95dcde8b
blob + 7eb4af358647391393cd2635a9178d34a6637c94
--- configuration.py
+++ configuration.py
@@ -15,20 +15,6 @@ OLLAMA_EMBEDDINGS_MODEL = os.getenv('RAG_OLLAMA_EMBEDD
 ENABLE_QUERY_REPHRASING = os.getenv('RAG_ENABLE_QUERY_REPHRASING', 'true').lower() == 'true'
 
 # prompt templates
-#SYSTEM_PROMPT: str = r"""
-#* You are acting as a sparing partner for a roleplaying game master.
-#* Do not include introductory or closing remarks.
-#* Use Markdown for all formatting (e.g., bold, italics, code blocks, lists, links).
-#* If the question is unclear, ask clarifying questions.
-#
-#IMPORTANT: 
-#Each context source starts with a line with `Source n:` where `n` is the source number.
-#- Always add inline citations using the source number, example: `[n]`.
-#- Every answer should include at least one source citation.
-#- Only cite a source when you are explicitly referencing it.
-#- If none of the sources are helpful, you should indicate that.
-#"""
-
 SYSTEM_PROMPT: str = r"""
 You are an expert assistant that provides well-sourced answers.
 Use Markdown for all formatting (e.g., bold, italics, code blocks, lists, links).
@@ -57,18 +43,7 @@ HUMAN_TEMPLATE: str = r"""
 # ANSWER WITH PROPER CITATIONS:
 """
 
-#HUMAN_TEMPLATE: str = r"""
-#---
-#Below are several numbered sources:
-#{context}
-#---
-#Additionally, here is the conversation history:
-#{history}
-#---
-#Answer the question based on the above context and history: {question}
-#"""
 
-
 def embeddings():
     embeddings = OllamaEmbeddings(
         base_url=OLLAMA_URL,