pvanand commited on
Commit
7012e9e
·
verified ·
1 Parent(s): d12828c

Update rag_routerv2.py

Browse files
Files changed (1) hide show
  1. 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="" if table_name is None else f"knowledge-base-{str(uuid.uuid4()[:4])}"
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: