Spaces:
Running
Running
marcellopoliti
commited on
Commit
•
907323e
1
Parent(s):
5f95336
test: clean error
Browse files- retrieve_kb.py +1 -1
retrieve_kb.py
CHANGED
@@ -14,7 +14,7 @@ def get_current_knowledge_bases(client):
|
|
14 |
knowledge_boxes = client.list_collections()
|
15 |
return knowledge_boxes
|
16 |
except Exception as e:
|
17 |
-
|
18 |
|
19 |
|
20 |
def get_knowledge_base_information(
|
|
|
14 |
knowledge_boxes = client.list_collections()
|
15 |
return knowledge_boxes
|
16 |
except Exception as e:
|
17 |
+
return f"{str(e)}"
|
18 |
|
19 |
|
20 |
def get_knowledge_base_information(
|