Update rag_llamaindex.py
Browse files- rag_llamaindex.py +1 -1
rag_llamaindex.py
CHANGED
@@ -100,7 +100,7 @@ class LlamaIndexRAG(BaseRAG):
|
|
100 |
)
|
101 |
|
102 |
query_engine = index.as_query_engine(
|
103 |
-
text_qa_template = PromptTemplate(os.environ["
|
104 |
service_context = self.get_service_context(config),
|
105 |
similarity_top_k = config["k"]
|
106 |
)
|
|
|
100 |
)
|
101 |
|
102 |
query_engine = index.as_query_engine(
|
103 |
+
text_qa_template = PromptTemplate(os.environ["LLAMAINDEX_TEMPLATE"]),
|
104 |
service_context = self.get_service_context(config),
|
105 |
similarity_top_k = config["k"]
|
106 |
)
|