Spaces:
Sleeping
Sleeping
Update rag_routerv2.py
Browse files- rag_routerv2.py +1 -1
rag_routerv2.py
CHANGED
@@ -125,7 +125,7 @@ async def create_embedding_table(
|
|
125 |
table_id=table_id,
|
126 |
message=f"Table created and documents indexed successfully",
|
127 |
status="success",
|
128 |
-
table_name=
|
129 |
)
|
130 |
|
131 |
except Exception as e:
|
|
|
125 |
table_id=table_id,
|
126 |
message=f"Table created and documents indexed successfully",
|
127 |
status="success",
|
128 |
+
table_name=f"knowledge-base-{str(uuid.uuid4()[:4])}" if table_name is None else table_name
|
129 |
)
|
130 |
|
131 |
except Exception as e:
|