Adaptive RAG Template

Adaptive RAG Template

Lays out a retrieval-augmented answering flow that assesses query complexity, picks a strategy, checks confidence and retrieves more if needed.

Adaptive Retrieval Analysis

Initial Query Assessment

Query: {user_query}
Complexity: {query_complexity}
Domain: {query_domain}
Required depth: {required_depth}

Retrieval Strategy

Strategy selected: {retrieval_strategy}
Reasoning: {strategy_reasoning}

Retrieved Information

{retrieved_content}

Confidence Evaluation

Initial confidence: {initial_confidence}

Adaptive Decision

{adaptive_decision}

Additional Retrieval (if needed)

{additional_retrieval}

Final Response

{final_response}

Meta-Analysis

Retrieval effectiveness: {retrieval_effectiveness}
Response quality: {response_quality}
Improvement suggestions: {improvement_suggestions}

© davidkimai · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 10,800 prompts

More by @OpenSourceBuffGuy

See all
Highlife-Inspired Afrobeats prompt image

Highlife-Inspired Afrobeats

Generates a joyful highlife-inspired Afrobeats song with clean guitar lines, brass stabs and storytelling lyrics at 112 BPM in D major.

music-prompt, afrobeats, genre-fusion, male-vocals, guitar, upbeat, music, music-production, for-musicians, song-structure, weddings, quick, suno

qiskit prompt image

qiskit

Builds, transpiles, simulates and runs quantum circuits with Qiskit 2.x and IBM Quantum Runtime primitives, including noisy simulation and error mitigation.

agent-skill, code-generation, quantum-computing, python, best-practices, migration, tool-use, for-developers, for-researchers, simulator, api, code, documentation, testing, performance-optimization, advanced, long-form, scientific-computing, physics, qiskit

Managed Airflow DAG Authoring prompt image

Managed Airflow DAG Authoring

Guides writing and validating Apache Airflow DAGs for Managed Airflow (Cloud Composer): discovering the environment, Airflow 2 vs 3 compatibility and best practices.

agent-skill, airflow, python, data-engineering, google-cloud, best-practices, code-generation, workflow-automation, cloud, for-developers, for-data-analysts, plan-then-execute, tool-use, testing, scaffolding, step-by-step-guide, code, cloud-composer

Reviews

Loading reviews…

Discussion

Loading comments…