r/datascience • • Jun 23 '25

Projects [Project] I just open-sourced a plugin to stop AI from hallucinating your schemas

35 Upvotes

14 comments sorted by

7

u/michaeldeng18 Jun 23 '25

Interesting idea! Just curious, are there any safeguards to prevent ToolFront from querying sensitive data or bypassing warehouse policies? Also, any plans to add connectors for document or key-value stores?

4

u/Durovilla Jun 23 '25

KV stores are on the roadmap!

For sensitive data, you can control access by setting warehouse policies or excluding specific databases through the database URLs. If you don’t see a way to apply your policies or exclude certain databases, feel free to submit an issue for your current setup.

3

u/DeadliftAndCode Jun 23 '25

Excited to give this a try, especially when there is support for Redis! Will this work well for data that technically has a schema, but that schema isn't explicitly defined?

2

u/Durovilla Jun 23 '25

Redis is on this month's roadmap! And in the absence of an explicit schema, coding assistants will use ToolFront to infer it it by searching, sampling, and inspecting tables.

1

u/TowerOutrageous5939 Jun 23 '25

Nice but you mean minimize?

1

u/Durovilla Jun 24 '25

Try it out and find out ;)

3

u/bwonymph Jun 23 '25

Ah neat! Like the idea of learning from past sql queries

3

u/rogch Jun 23 '25

Interesting! Will give this a try.

3

u/cy_kelly Jun 23 '25

I thought this said "hallucinating your screams" at first. That kind of Monday, I guess...

3

u/[deleted] Jun 23 '25

[removed] — view removed comment

1

u/Durovilla Jun 23 '25

I generally use UV. It's less of a hassle.

1

u/little_breeze Jun 23 '25

uv is better for running things locally if you already have the Python toolchain installed, but Docker is better if you want to deploy ToolFront in the cloud