News for hackers. Stuff that matters.
Re:The DuckDB Local UI by russell_h on Wednesday March 12, 2025 @10:29AM (#43343643)
This looks great!

At risk of harping on a tired topic, have you thought about embedding an AI query generator? For ad-hoc queries like I mostly use DuckDB for I’ve found it’s almost always fastest for me to paste the schema to ChatGPT, tell it what I’ll looking for, then paste the response back into the DuckD CLI, but the whole process isn’t very ergonomic.

I think I’m sort of after duckbook.ai, but with access to a local duckdb.

Re:The DuckDB Local UI by tobilg on Wednesday March 12, 2025 @11:46AM (#43344462)
You can potentially use Ollama running a model locally, e.g. https://ollama.com/library/duckdb-nsql
Re:The DuckDB Local UI by ssgirl11 on Wednesday March 12, 2025 @10:39AM (#43343760)
Thanks for sharing. We haven't cracked the code on doing this locally, but we are working on similar features and functionality in MotherDuck, like the prompt () and embedding () functions. More to come; we're definitely thinking about it!
Re:The DuckDB Local UI by oulipo on Wednesday March 12, 2025 @02:15PM (#43346111)
The UI of duckbook.ai is great! I wish someone would open-source something similar!