Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ def rag_workflow(query):
|
|
| 132 |
|
| 133 |
|
| 134 |
# Step 2: Retrieve contexts (documents and code snippets)
|
| 135 |
-
kadiAPY_doc_documents, kadiAPY_code_documents = rag_chain.retrieve_contexts(query,
|
| 136 |
print("Retrieved Document Contexts:", doc_contexts)
|
| 137 |
print("Retrieved Code Contexts:", code_contexts)
|
| 138 |
|
|
|
|
| 132 |
|
| 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:", doc_contexts)
|
| 137 |
print("Retrieved Code Contexts:", code_contexts)
|
| 138 |
|