Skip to content

Schema anonymisation mode (--anonymize) #3

Description

@Cyberfilo

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions