LLM SQL Chatbot Access Control and Query Safety

Asked at NVIDIA · System Design for ML · Difficulty: Medium · Last asked Jul 3, 2026

Design an LLM chatbot for SQL query generation over internal data. The discussion focuses on ensuring users can only query data they are allowed to access and preventing hallucinated or expensive queries such as accidental cross joins from crashing a Trino cluster.

Loading the problem…