bstraehle commited on
Commit
cc34500
·
1 Parent(s): adc41aa

Update rag_llamaindex.py

Browse files
Files changed (1) hide show
  1. rag_llamaindex.py +1 -2
rag_llamaindex.py CHANGED
@@ -106,8 +106,7 @@ class LlamaIndexRAG(BaseRAG):
106
 
107
  ###
108
  prompt_template = LangchainPromptTemplate(
109
- os.environ["RAG_TEMPLATE"],
110
- template_vars = {"context", "question"},
111
  )
112
 
113
  query_engine.update_prompts(
 
106
 
107
  ###
108
  prompt_template = LangchainPromptTemplate(
109
+ os.environ["RAG_TEMPLATE"]
 
110
  )
111
 
112
  query_engine.update_prompts(