Spaces:
Running
Running
A newer version of the Gradio SDK is available:
5.49.1
metadata
title: AI Query Fan-Out Generator
emoji: π
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.37.0
app_file: app.py
pinned: false
π AI Query Fan-Out Generator
Transform a single query into multiple semantically related search queries to uncover deeper insights and comprehensive information.
Features
- Query Expansion: Convert a single search query into 8-10 related queries
- Semantic Analysis: Generate queries that cover different aspects and intents
- Query History: Track and export your query generation sessions
- Multiple Query Types:
- Related queries
- Implicit queries
- Comparative queries
- Reformulation queries
- Entity-expanded queries
How to Use
Get a Gemini API Key:
- Go to Google AI Studio
- Create a new API key
- Copy the key
Enter Your API Key:
- Paste your Gemini API key in the "π Gemini API Key" field
- The status will show when the model is initialized
Generate Fan-Out Queries:
- Enter your core prompt/query
- Click "π§ Generate Fan-Outs"
- View the expanded queries and reasoning
Manage History:
- View your query history in the sidebar
- Export history as JSON
- Clear history when needed
Examples
Input
best way to learn python for data analysis
Output
- most effective python learning resources for data analysis beginners
- python data analysis tutorials with pandas and numpy
- best python courses for data science and analytics
- python vs R for data analysis comparison
- free python data analysis projects for practice
- python data visualization libraries matplotlib seaborn
- python data analysis certification programs
- python jupyter notebook setup for data analysis
Technical Details
- Model: Google Gemini (1.5 Pro/Flash)
- Framework: Gradio
- Response Format: JSON with fan-out queries and reasoning chain
- Temperature: 0.7 for balanced creativity and consistency
Privacy & Security
- Your API key is only used for your session and is not stored
- All processing happens through Google's Gemini API
- Query history is temporary and can be cleared at any time
Support
For issues or questions, please check the Gradio documentation or Google AI documentation.