Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -341,6 +341,7 @@ def rag_workflow(query):
|
|
341 |
|
342 |
prompt = f"The query is: '{query}'. What type of metadata applies to this query? Options: python library, python cli library, command line interface."
|
343 |
metadata_prediction = llm.predict(prompt)
|
|
|
344 |
print(metadata_prediction)
|
345 |
|
346 |
kadi_apy_docs = retrieve_within_kadiApy_docs (vector_store, query, k = 5)
|
|
|
341 |
|
342 |
prompt = f"The query is: '{query}'. What type of metadata applies to this query? Options: python library, python cli library, command line interface."
|
343 |
metadata_prediction = llm.predict(prompt)
|
344 |
+
print("METADATA PREDICTION -------------------------:", metadata_prediction)
|
345 |
print(metadata_prediction)
|
346 |
|
347 |
kadi_apy_docs = retrieve_within_kadiApy_docs (vector_store, query, k = 5)
|