AI-generated contextual follow-up questions that help you explore topics deeper
OmniSearches automatically generates three related questions at the end of each search result, helping you discover new perspectives and dive deeper into topics.
The AI receives explicit instructions to generate related questions:
Default Mode
Exhaustive Mode
Search Mode
Reasoning Mode
Your response must always end with at least 3 related questions in this format:RELATED_QUESTIONS:1. [First related question]2. [Second related question]3. [Third related question]The related questions should be naturally connected to the user's query andencourage exploration of the topic. Each question should be concise andself-contained.
Your response must always end with at least 3 related questions in this format:RELATED_QUESTIONS:1. [First related question]2. [Second related question]3. [Third related question]The related questions should be naturally connected to the user's query andencourage exploration of the topic. Each question should be concise andself-contained.
To enhance the user's research, conclude your response with three insightfulquestions related to the search query:RELATED_QUESTIONS:1. [Question related to the search query]2. [Question related to the search query]3. [Question related to the search query]
Your response must always end with at least 3 related questions in this format:RELATED_QUESTIONS:1. [First related question]2. [Second related question]3. [Third related question]The related questions should be naturally connected to the user's query andencourage exploration of the topic. Each question should be concise andself-contained.
Concise Mode does not generate related questions to maintain focus on quick, brief answers.
// Staggered slide-in from left<motion.button initial={{ opacity: 0, x: -10 }} animate={{ opacity: 1, x: 0 }} transition={{ delay: index * 0.1 }} // 100ms delay between each>
/* Arrow slides in from left on hover */.arrow { opacity: 0; transform: translateX(-8px); transition: all 200ms;}.group:hover .arrow { opacity: 100; transform: translateX(0);}
// When user clicks a questionconst handleQuestionClick = (question: string) => { // 1. Set the question as new search query setQuery(question); // 2. Trigger new search with same mode handleSearch(question); // 3. Scroll to top to show results window.scrollTo({ top: 0, behavior: 'smooth' });};<RelatedQuestions questions={relatedQuestions} onQuestionClick={handleQuestionClick}/>
import { useTranslation } from 'react-i18next';const { t } = useTranslation();// Display header in user's language<h2>{t('related.title')}</h2>// Questions themselves are in the language of the search results
The AI generates questions in the same language as the main response:
// If language specified in requestconst queryWithLanguage = language ? `${query} (Please respond in ${language}` : query;
// Search endpoint response{ "sessionId": "abc123", "summary": "<formatted response HTML>", "sources": [...], "relatedQuestions": [ "What are the main criticisms of this approach?", "How has this evolved over time?", "What are the alternatives to consider?" ], "images": [...]}