ibis-project / ibis-birdbrain

portable Python ML-powered data bot
https://ibis-project.github.io/ibis-birdbrain/
Apache License 2.0
23 stars 4 forks source link

implement text-to-sql cache #46

Open lostmygithubaccount opened 4 months ago

lostmygithubaccount commented 4 months ago

right now, a bot will always generate new SQL even if it (in the current or previous session) has seen the same text and correctly generated SQL

primarily for demo purposes, we should enable attaching a cache database w/:

we would need some way of manually populated this database (perhaps outside the scope of Ibis Birdbrain) and adding to it as new queries are seen, w/ the user somehow able to give an accuracy score/delete incorrect generations

lostmygithubaccount commented 4 months ago

potential implementations: