Lab 1: Sample Queries¶
This page provides curated sample queries for testing the Coveo Direct API integration.
🔍 Query Testing Guide¶
How to Use These Queries¶
- Select Coveo backend mode in the UI
- Copy a query from the list below
- Paste into the search bar and press Enter
- Observe all three sections: Search Results, Answer, Passages
- Click on source citations to verify authenticity
📝 Sample Queries for Coveo Backend¶
Financial Concepts¶
Query 1:
What to observe: - Search results from IRS, CFPB, and financial sources - Answer explaining ARM components - Passages with technical definitions
Query 2:
What to observe: - FTC and CFPB sources - APR calculation explanations - Credit card disclosure information
Query 3:
What to observe: - Step-by-step guidance from CFPB - Consumer rights information - Dispute process details
Query 4:
What to observe: - Multiple sources (FDIC, FTC, CFPB) - Fraud prevention strategies - Retirement protection guidance
Query 5:
What to observe: - Investment strategy information - Tax implications from IRS - Reinvestment options
Query 6:
What to observe: - Retirement planning guidance - Distribution strategies - Tax considerations
Query 7:
What to observe: - Financial literacy content from MyMoney.gov - Savings strategies - Emergency fund guidelines
Query 8:
What to observe: - FTC fraud prevention resources - Identity theft protection steps - Consumer protection information
Query 9:
What to observe: - FinCEN regulatory information - Reporting requirements - Compliance guidance
Query 10:
What to observe: - Consumer protection warnings - Payment adjustment scenarios - Risk mitigation strategies
Query 11:
What to observe: - APR calculation methods - Disclosure requirements - Consumer rights information
Query 12:
What to observe: - Mortgage product warnings - Consumer protection guidance - Risk explanations
Query 13:
What to observe: - Investment risk education - Small-cap stock considerations - Investor protection guidance
Query 14:
What to observe: - Investment comparison - Risk vs. return explanations - Asset allocation guidance
💡 Query Best Practices¶
For Best Results¶
- Be Specific: Include key terms relevant to your question
- Use Natural Language: Coveo understands conversational queries
- Include Context: Add relevant context words (e.g., "retirement", "mortgage")
- Try Variations: If results aren't perfect, rephrase your query
🎓 Learning Objectives¶
By testing these queries, you should understand:
- ✅ How Coveo's AI-powered relevance works
- ✅ The value of authoritative source attribution
- ✅ Different result formats serve different needs
- ✅ Semantic search understands intent, not just keywords
- ✅ Faceted navigation helps refine results
🚀 Next Steps¶
Once you've tested several queries and explored the features:
In Lab 2, you'll see how these same queries work with conversational AI and memory!