Spaces:
Build error
Build error
Update rag_llamaindex.py
Browse files- 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(
|