Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,7 +128,7 @@ def rag_workflow(query):
|
|
| 128 |
# Step 1: Predict which library usage is relevant
|
| 129 |
# predict which python library to search in: (standard) kadiAPY-library or kadiAPY-cli-library
|
| 130 |
code_library_usage_prediction = rag_chain.predict_library_usage(query)
|
| 131 |
-
print(f"Predicted library usage: {
|
| 132 |
|
| 133 |
|
| 134 |
# Step 2: Retrieve contexts (documents and code snippets)
|
|
|
|
| 128 |
# Step 1: Predict which library usage is relevant
|
| 129 |
# predict which python library to search in: (standard) kadiAPY-library or kadiAPY-cli-library
|
| 130 |
code_library_usage_prediction = rag_chain.predict_library_usage(query)
|
| 131 |
+
print(f"Predicted library usage: {code_library_usage_prediction}")
|
| 132 |
|
| 133 |
|
| 134 |
# Step 2: Retrieve contexts (documents and code snippets)
|