Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ if st.button("Submit Query"):
|
|
150 |
custom_llm = CustomLanguageModel()
|
151 |
|
152 |
# Extract context from the retriever
|
153 |
-
retrieved_docs = retriever.
|
154 |
context = format_docs(retrieved_docs)
|
155 |
|
156 |
rag_chain = (
|
|
|
150 |
custom_llm = CustomLanguageModel()
|
151 |
|
152 |
# Extract context from the retriever
|
153 |
+
retrieved_docs = retriever.get_relevant_documents(query)
|
154 |
context = format_docs(retrieved_docs)
|
155 |
|
156 |
rag_chain = (
|