p/hasura
Universal data access layer for next-gen apps and AI
Kevin William David

PromptQL — Moving from RAG to agentic data access

Featured
6
PromptQL is a data access agent to build AI assistants on ANY data (structured, unstructured or APIs). It gives your AI agentic data access so it can create complex query plans, run computations, retry on failures, modify query plans, and reduce hallucinations
Replies
Best
Tirumarai Selvan
Hi PH, After months of hard work, trying to understand the challenges and issues around AI and data, we're excited to share PromptQL, a new data access agent from Hasura for building AI assistants to talk to your data. You can try it out by building a GitHub issues assistant in 5 minutes here. Although this assistant is quick to build, it is remarkably more powerful than any other assistant out there. Why? Because we have used numerous techniques to combine the power of querying structured as well as unstructured data together. Moreover, we compose data access with numeric as well as LLM computations to generate a flexible query plan to achieve complex user goals. How much can PromptQL do? We've put together the Agentic Data Access & Computation benchmark to illustrate the various kinds of goals that users would want to achieve in their assistants and to help compare solutions. The current way of building assistants rely on canned RAG pipelines which perform quite poorly on this benchmark, and have limited use in real-world business critical scenarios. We built PromptQL as a way to give LLMs agentic access to data so that you can build flexible and reliable assistants. As we have been building APIs for many years now, starting as "the GraphQL on Postgres" tool and having since generalized to various data sources in our latest product, Hasura DDN, we've realized that we have the perfect foundation for crafting something optimized for AI. On top of this, we have done a lot of incredible AI research and engineering to make PromptQL. We’d love it if you tried it out and let us know what you think! Also, a huge thank you to @kevin for hunting us!
Samuel Bissegger
Congratulations on your launch, @tirumarai! PromptQL seems so useful and will surely ease a lot of operations.
Rob Dominguez
As the kids say: I did a thing with this! 🤗 https://www.linkedin.com/posts/r... PromptQL has been a lot of fun to explore. The biggest blocker I've had in working with AI is it's inability to accurately traverse complex queries or structures like a human would. PromptQL solves that and gives me an assistant that "thinks" like me (or better).
Joseph Petty
Congrats on the launch! This looks like it takes a lot of work out of building a custom agent with RAG. It also avoiding the need for complex routers in the pipeline to direct queries to specialized agents. Nice list of datasource integrations too!
Huzaifa Shoukat
Congrats on the launch! PromptQL sounds like a game-changer for AI assistants and data access. How does it handle different data formats like CSV, SQL, and APIs? Can't wait to try it out!
Tirumarai Selvan
@ihuzaifashoukat We have connectors for all kinds of data sources: https://hasura.io/connectors Few of these connectors are programmable like typescript connector, python connector and you can bring in pretty much any data via these. Once these are connected, PromptQL can access/operate on them as per the agentic query plan for the user question at hand.