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 datasource
This commit is contained in:
@@ -432,6 +432,7 @@ class LLMService:
|
||||
if not ignore_auto_select:
|
||||
if settings.EMBEDDING_ENABLED:
|
||||
ds = get_ds_embedding(self.session, self.current_user, _ds_list, self.chat_question.question)
|
||||
yield {'content': '{"id":' + ds.id + '}'}
|
||||
else:
|
||||
_ds_list_dict = []
|
||||
for _ds in _ds_list:
|
||||
|
||||
Reference in New Issue
Block a user