Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -133,8 +133,8 @@ def rag_workflow(query):
|
|
133 |
|
134 |
# Step 2: Retrieve contexts (documents and code snippets)
|
135 |
kadiAPY_doc_documents, kadiAPY_code_documents = rag_chain.retrieve_contexts(query, code_library_usage_prediction)
|
136 |
-
print("Retrieved Document Contexts:",
|
137 |
-
print("Retrieved Code Contexts:",
|
138 |
|
139 |
|
140 |
formatted_doc_snippets = rag_chain.format_documents(kadiAPY_doc_documents)
|
|
|
133 |
|
134 |
# Step 2: Retrieve contexts (documents and code snippets)
|
135 |
kadiAPY_doc_documents, kadiAPY_code_documents = rag_chain.retrieve_contexts(query, code_library_usage_prediction)
|
136 |
+
print("Retrieved Document Contexts:", kadiAPY_doc_documents)
|
137 |
+
print("Retrieved Code Contexts:", kadiAPY_code_documents)
|
138 |
|
139 |
|
140 |
formatted_doc_snippets = rag_chain.format_documents(kadiAPY_doc_documents)
|