Skip to content

Docs: Add Intent-Drive Optimization guide #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025

Conversation

robertjdominguez
Copy link
Collaborator

@robertjdominguez robertjdominguez commented Aug 5, 2025

Description 📝

  • Added new intent-driven search performance tutorial

This adds a comprehensive tutorial on intent-driven architecture patterns that shows developers how to optimize PromptQL performance through strategic system instructions.

The new tutorial teaches developers how to classify user queries into different intent categories (conceptual questions, procedural guidance, examples, troubleshooting) and route them through optimized processing pathways. Instead of treating every query the same way, this approach uses structured system instructions to teach PromptQL when to use expensive operations versus when to respond directly from model knowledge.

The guide includes practical configuration examples for promptql-config.hml that implement query classification, validation protocols for technical accuracy, and response patterns that match complexity to user needs. This architectural pattern can reduce response times by while improving accuracy - all through configuration rather than custom code.

Quick Links 🚀

Intent-Driven Search Performance Optimization

@hasura-bot
Copy link
Collaborator

@robertjdominguez Thanks for your PR! I've assigned @robertjdominguez to review it.

Copy link

Deploying promptql-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: c3cdb85
Status: ✅  Deploy successful!
Preview URL: https://f04e0a67.promptql-docs.pages.dev
Branch Preview URL: https://rob-add-guide-for-intent-dri.promptql-docs.pages.dev

View logs

@robertjdominguez robertjdominguez merged commit cbb7748 into main Aug 6, 2025
4 checks passed
@robertjdominguez robertjdominguez deleted the rob/add-guide-for-intent-driven-arch branch August 6, 2025 20:34
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