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="Table created and documents indexed successfully",
|
127 |
status="success",
|
128 |
-
table_name=f"knowledge-base-{str(uuid.uuid4())[:4]}" if table_name
|
129 |
)
|
130 |
|
131 |
|
|
|
125 |
table_id=table_id,
|
126 |
message="Table created and documents indexed successfully",
|
127 |
status="success",
|
128 |
+
table_name=f"knowledge-base-{str(uuid.uuid4())[:4]}" if not table_name else table_name
|
129 |
)
|
130 |
|
131 |
|