Add --anonymize that maps table/column names to opaque tokens before they go into the prompt, and maps the generated SQL back. Lets users try PromptQuery against sensitive schemas without sending real names to an LLM — a real adoption blocker for EU/regulated teams.
Scope: a small mapping layer used by prompts.format_schema + a reverse pass on the generated SQL. Discuss the approach in the issue first.
Add
--anonymizethat maps table/column names to opaque tokens before they go into the prompt, and maps the generated SQL back. Lets users try PromptQuery against sensitive schemas without sending real names to an LLM — a real adoption blocker for EU/regulated teams.Scope: a small mapping layer used by
prompts.format_schema+ a reverse pass on the generated SQL. Discuss the approach in the issue first.