#154 — answer_in_chat gets ASQLDatabase as parameter
Repo: Twill-AI/twill-llm-engine State: closed | Status: done Assignee: meliascosta
Created: 2024-10-03 · Updated: 2024-10-14
Description
Blocked by https://github.com/Twill-AI/python-shared/issues/40. See details in it.
AC:
- ASQLDatabase is renamed to something like ASQLDatabaseWrapper which takes ASQLDatabase as a parameter and uses
async def run_query(self, query)of it.EngineConnector.answer_in_chattakes ASQLDatabase instance as “sql_runner” value intrun_configparameter. - For local runs (like in “server.py”) need to create ASQLDatabaseFactory instance and ASQLDatabase from python-shared.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets