Skip to content

Add PromptQuery to CLI - #522

Open
Cyberfilo wants to merge 1 commit into
dhamaniasad:masterfrom
Cyberfilo:add-promptquery
Open

Cyberfilo wants to merge 1 commit into
dhamaniasad:masterfrom
Cyberfilo:add-promptquery

Conversation

@Cyberfilo

Copy link
Copy Markdown

Adds PromptQuery (prq) to the CLI section.

PromptQuery is an open-source (Apache-2.0) CLI that queries Postgres in plain English and runs the result read-only. It's built for real production schemas with hundreds of tables: a TF-IDF + LLM table-selector + FK-graph retrieval pipeline keeps the prompt small, a sqlglot guard plus a read-only session make writes impossible, and it ships an honest, failures-included benchmark (100% table accuracy on a 675-table Odoo 18 schema, 94% on the public EMBL-EBI RNAcentral DB) with committed receipts.

pip install promptquery · https://github.com/Cyberfilo/promptquery · https://pypi.org/project/promptquery/

Thanks for maintaining awesome-postgres!

@kmoppel

kmoppel commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

@Cyberfilo Hi, could you please rework the description a bit - TF-IDF doesn't say much and the benchmark part I think can be left out as well to make it a bit shorter

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants