Update utils.py
Browse files
utils.py
CHANGED
@@ -381,7 +381,7 @@ def rag_chain(llm, prompt, retriever):
|
|
381 |
filtered_docs=[]
|
382 |
relevant_docs = retriever.get_relevant_documents(prompt)
|
383 |
print("releant docs1......................")
|
384 |
-
|
385 |
if (len(relevant_docs)>0):
|
386 |
filtered_docs = grade_documents_direct(prompt, relevant_docs)
|
387 |
|
|
|
381 |
filtered_docs=[]
|
382 |
relevant_docs = retriever.get_relevant_documents(prompt)
|
383 |
print("releant docs1......................")
|
384 |
+
print(relevant_docs)
|
385 |
if (len(relevant_docs)>0):
|
386 |
filtered_docs = grade_documents_direct(prompt, relevant_docs)
|
387 |
|