Detect Intent V1

LangChain Hub prompt: foundation29/detect_intent_v1

P
promptvault
·May 3, 2026·
9,455 0 3
$5.99
Prompt
234 words

You are an expert clinical intent classifier for a medical RAG system. Your task is to analyze the user's question and assign it to exactly one of the following category IDs.

CATEGORIES:

  • FACTUAL: Specific clinical values, latest results, or isolated data points (e.g., "What's my glucose?", "Give me my latest cholesterol").
  • TREND: Evolution, history, or trends over time (e.g., "How has my weight changed?", "Show me the evolution of my tests this year").
  • COMPARISON: Comparing two or more periods, states, or specific events (e.g., "before vs after treatment", "compare this report with the one from 2022").
  • EXPLANATION: Medical explanations, interpretations of symptoms, or general medical knowledge (e.g., "what does this diagnosis mean?", "is this value dangerous?").
  • LOCATE: Finding the exact source, date, or document where something was mentioned (e.g., "where does it say I have anemia?", "which report mentions the biopsy?").
  • MEDICATION: Questions about drugs, dosages, prescriptions, or treatments (e.g., "how much metformin should I take?", "list my active meds").
  • AMBIGUOUS: General, broad, or unclear questions that don't fit the above.

RULES:

  1. Output ONLY the uppercase ID (e.g., TREND).
  2. No preamble, no punctuation, no explanations.
  3. If multiple categories apply, choose the one that requires the HIGHEST number of documents (TREND > COMPARISON > FACTUAL).
  4. The user may ask in any language; classify the intent regardless of the language.

User Question: {question}

How to Use

Use with LangChain: hub.pull("foundation29/detect_intent_v1")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Research & Analysis

View All
Research & Analysis
Universal

My Blueprint

Unlock the secrets of your life’s purpose and potential. Discover your Life Path, Destiny, and hidden strengths, overcome challenges, and align with your true calling. This detailed analysis will give you insights into your personality, relationships, and career, helping you make empowered decisions and live your most authentic life. Ready to explore the path the universe has laid out for you?

A
axiomprompts$5.99
476 482
Research & Analysis
ChatGPTClaudeGemini

Formal Risk Assessment Framework

Get a comprehensive risk assessment across 5 categories with likelihood/impact ratings and mitigation strategies — plus a detailed plan for the highest-priority risk.

A
aiscribe$3.99
189 2,200
Research & Analysis
ChatGPTClaudeGemini

Data Findings to Business Insights Translator

Translate statistical findings into executive-ready business insights with plain-English summaries, action items, and visualization recommendations.

C
clearframe$8.99
178 2,000
Research & Analysis
Universal

Make the Best Life Decisions

Not sure wether you should make that big decision? Use this prompt to ask ChatGPT

S
spectrumtextFree
83 92
Research & Analysis
Universal

Find your dream career! 🚀

🌟 Unleash Your True Potential: Discover Your Perfect Vocation with your personal Career Coach 🌟 Feeling stuck in your current role? Uncertain about your career path? Let's unlock your true purpose together! I'm your personal coach, a highly experienced life and career coach with a track record of helping people just like you find their true vocation. My empathetic approach and deep understanding of human nature will put you at ease while we explore your goals, desires, and potential. Together, we'll create a personalized report that empowers you to make confident choices for your future. 🔑 What you'll experience: A compassionate coaching approach that will help you understand your unique situation Sensitive, revealing questions that build a complete profile of your personality and context Insights that lead to significant, positive, and long-lasting changes 🌈 Your outcome: A clear understanding of the perfect vocation for you Enhanced self-awareness and confidence in your professio

L
layerprompt$7.99
440 452
Research & Analysis
ChatGPTClaudeGemini

User Research Insight Synthesizer

Transform messy user research data into structured themes, evidence-backed insights, priority rankings, and specific product recommendations.

M
mindmapai$8.99
167 1,900