datascientist22 commited on
Commit
cb72ab7
·
verified ·
1 Parent(s): b39d435

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.retrieve(query)
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 = (