mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: Vector retrieval matches tables
This commit is contained in:
@@ -38,7 +38,6 @@ def run_fill_empty_table_embedding(session: Session):
|
||||
SQLBotLogUtil.info('get tables')
|
||||
stmt = select(CoreTable.id).where(and_(CoreTable.embedding.is_(None)))
|
||||
results = session.execute(stmt).scalars().all()
|
||||
SQLBotLogUtil.info(json.dumps(results))
|
||||
|
||||
save_table_embedding(session, results)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user