PromptQL and Hasura DDN Glossary
PromptQL
PromptQL is a novel agent approach to enable high-trust LLM interaction with business data and systems. It composes tool calls and LLM tasks in a way that provides a high degree of explainability, accuracy, and repeatability for arbitrarily complex tasks.
Unlike traditional tool calling & RAG approaches that rely on in-context composition, PromptQL's planning engine generates and runs programs that compose tool calls and LLM tasks, providing:
- ~2x improvement in accuracy over traditional approaches
- Near-perfect repeatability as complexity increases
- Constant context size regardless of data volume
- Detailed execution plans for complete explainability
- Fine-grained authorization to protect sensitive data
PromptQL uses a semantic metadata layer which utilizes out-of-the-box connectors to access a wide range of data sources, introspect your data and help you build a high-quality realtime data product with declarative metadata and fine-grained entitlements.
Hasura Data Delivery Network (DDN)
Hasura DDN is a managed service that powers PromptQL. It provides the infrastructure needed to connect, unify, and serve data from multiple sources — securely and at scale.
Hasura DDN delivers a production-ready platform that removes the need to manage your own API or application server. It handles everything under the hood so that PromptQL can focus on understanding your questions and delivering accurate, real-time answers.
Hasura DDN is globally-distributed and always available. Its new runtime engine accesses metadata on a per-request basis, enabling better isolation, high scalability, and faster response times.
The managed control plane includes tools for metadata authoring, CI/CD, infrastructure management, and team collaboration. This separation of control and data planes (unlike earlier versions, where they were bundled together) allows you to manage your metadata in version control and deploy confidently—so PromptQL always has the context it needs to reason across your data sources and respond reliably.
PromptQL Programs
PromptQL programs are Python programs that read & write data via python functions. They are generated by LLMs and represent the concrete implementation of a user's intended interaction with their business data. PromptQL programs can create, read, update, and analyze data across multiple sources.
PromptQL Primitives
PromptQL primitives are AI functions available as Python functions within PromptQL programs. They perform common AI tasks on data, such as classification, summarization, and extraction, allowing the composition of cognitive tasks with computational tasks.
PromptQL Artifacts
PromptQL artifacts are stores of data that can be referenced from PromptQL programs. PromptQL programs can create artifacts as structured memory, which helps overcome LLM context window limitations and ensures information consistency across interactions.
Query Plans
PromptQL builds dynamic query plans that can be modified during execution based on intermediate results or explicit instructions from the user. These plans incorporate control structures to handle different scenarios and can adjust retrieval strategies dynamically, overcoming limitations of rigid retrieval-based approaches.
Control plane
The control plane manages the configuration, orchestration, and coordination of the data plane elements along with providing tools to author metadata. It is responsible for setting up and managing the behavior, policies, and rules that govern how data is processed and forwarded in the data plane. It also oversees the overall behavior of the system, manages the endpoints, maintains the configurations, handles authentication and access control mechanisms, and gathers analytics or metrics related to application usage.