Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -352,13 +352,13 @@ def rag_workflow(query):
|
|
| 352 |
|
| 353 |
|
| 354 |
# Assuming kadi_apy_library_docs is a list of Document objects
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
|
| 361 |
-
|
| 362 |
|
| 363 |
|
| 364 |
prompt = f"""You are an expert python developer. You are assisting in generating code for users who wants to make use of "kadi-apy", an API library.
|
|
|
|
| 352 |
|
| 353 |
|
| 354 |
# Assuming kadi_apy_library_docs is a list of Document objects
|
| 355 |
+
|
| 356 |
+
print("HERE WE GHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO")
|
| 357 |
+
print(-----------------------------------------------------------------------------)
|
| 358 |
+
for doc in kadi_apy_library_docs:
|
| 359 |
+
print(doc.metadata.get("source", "Unknown Type")
|
| 360 |
+
print(____________________________________________________________________________________)
|
| 361 |
+
|
| 362 |
|
| 363 |
|
| 364 |
prompt = f"""You are an expert python developer. You are assisting in generating code for users who wants to make use of "kadi-apy", an API library.
|