Ha

Hasura PromptQL: A new way of talking to your data

Hacker News

Hasura PromptQL: A new way of talking to your data

After many months of hard work, trying to understand the challenges and issues around AI and data, we’re excited to be able to share PromptQL ( https://promptql.hasura.io ), a new tool to build assistants to talk to your data. Try it by building a GitHub issues assistant: https://promptql.hasura.io/docs/example-github You may know Hasura as “the GraphQL on Postgres” tool, but the product has been significantly generalized since those early days, and last year, we launched Hasura DDN ( https://hasura.io/blog/launching-hasura-ddn ), the third major iteration of our data API product. Briefly, DDN was a major step forward in terms of the expressivity of Hasura - where Hasura v2 supported a few different major relational database vendors, DDN was built on the premise that we should be able to fetch any data, in any format, from anywhere, and help you bring it into a unified graph. This metadata driven approach to building APIs is a great fit for the current needs of LLMs, and enables AI application developers to build quickly. Good AI needs great data, and data which can be queried in a standardized way - which is exactly what Hasura enables for humans (using GraphQL or REST), and now it can enable it for LLMs too. The problem we see: Our most important realization was that good AI architecture flows from good data architecture, so we wanted to give our users the tools to build their data architecture without boundaries, bringing in any data sources, restructuring for efficient and purpose-built data access. Want to store data in some other place? No problem. Need to bring in a custom vector database with a specialized search mechanism? A fine-tuned LLM? We can support that too. We also realized that existing AIs perform surprisingly poorly on real problems. Because of this, users simply don’t trust their assistant’s solutions. An AI might give a poor answer, or no answer at all, and requires a lot of human intervention and iterations to get to the right answer. This has led to the adoption of architectures like RAG, and purpose-built, one-size-fits-none tools. Our solution: Hasura takes a different approach to others: our solution jumps off from two major observations: 1. As others have realized, assistants do better when asked to write programs to solve problems, instead of reasoning through problems directly. 2. In order to move data out of the LLM’s context and reduce the risk of hallucination, we can give the LLM an external memory in the form of stored artifacts. PromptQL is a tool and runtime for LLMs which directly implements these ideas, by building a programmable API on top of the graph you already built with Hasura. In addition, we’ve put together the Agentic Data Access benchmark ( https://github.com/hasura/agentic-data-access-benchmark ) to illustrate the problem, and to help compare solutions. Happy to answer any questions about choice of tech stack, challenges, possible applications, comparisons with other approaches, etc. Please try it out and let us know what you think!

Share card

Actual performance

6points
4comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agent, agentic, user · Missing: mac, agents, macos
96%96% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
95%95% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: excited, exist, existing · Missing: https docs, just released, lua
76%76% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: efficient, users · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: month, users, way · Missing: mobile apps, ios, personal
38%38% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
10%10% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

A
A new way of ORM in Java65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A new way of ORM in Java

Hacker News53
A
A new way to do footnotes61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A new way to do footnotes

Hacker News59
Di
Dipstick – A new way to DI in TS41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Dipstick – A new way to DI in TS

Hacker News2
A
A new way of eating out – by dropping in61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A new way of eating out – by dropping in

Hacker News39
On
OneGen – A new way to design data models82%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OneGen – A new way to design data models

Hacker News7
Za
Zaundy, the new way to get your voice out50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Zaundy, the new way to get your voice out

Hacker News1
Nyra
Nyra11%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

New way to social.

Indie Hackers
Ch
ChattySurvey – a new way to discover PMF36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ChattySurvey – a new way to discover PMF

Hacker News2
Le
LeapFM - A new way to find music59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

LeapFM - A new way to find music

Hacker News17
Kv
Kvpbase – a new way for developers to store data65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kvpbase – a new way for developers to store data

Hacker News25