Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -350,15 +350,6 @@ def rag_workflow(query):
|
|
350 |
)
|
351 |
metadata_prediction = llm.predict(prompt)
|
352 |
|
353 |
-
|
354 |
-
prompt = (
|
355 |
-
f"The query is: '{query}'. "
|
356 |
-
"Based on this query, choose the most appropriate option from the following: "
|
357 |
-
"'kadiAPY library"', 'kadiAPY cli library', 'kadiAPY command line'"
|
358 |
-
"Respond only with one of these options—do not add any additional text or commentary."
|
359 |
-
)
|
360 |
-
metadata_prediction = llm.predict(prompt)
|
361 |
-
|
362 |
print("METADATA PREDICTION -------------------------:", metadata_prediction)
|
363 |
print(metadata_prediction)
|
364 |
|
|
|
350 |
)
|
351 |
metadata_prediction = llm.predict(prompt)
|
352 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
print("METADATA PREDICTION -------------------------:", metadata_prediction)
|
354 |
print(metadata_prediction)
|
355 |
|