Demo
Experience Needleβs capabilities with our interactive demo! The demo showcases the complete Needle workflow: text-to-image generation and similarity search.
π― What Youβll See
The demo demonstrates Needleβs core functionality:
- Text Queries: Click on sample queries to see how Needle works
- Image Generation: AI-generated images based on your text prompts
- Similarity Search: Find similar images from a curated dataset
- Real-time Results: See how Needle processes queries and returns results
π Try the Demo
π Demo Features
Search Interface
- Sample Queries: Pre-defined queries to test different scenarios
- Generated Images: See AI-generated images for each query
- Similarity Results: Browse through similar images from the dataset
- Performance Metrics: View timing information for each search
Directory Management
- Dataset Overview: See indexed directories and their status
- Indexing Progress: Watch real-time indexing progress
- Directory Details: View file counts, sizes, and metadata
Generator Configuration
- Available Generators: Browse different image generation engines
- Configuration Options: See how generators can be configured
- Service Status: Monitor generator service health
System Status
- Health Monitoring: Check overall system status
- Service Overview: View all running services
- Performance Metrics: See system performance indicators
π§ Technical Details
The demo is built with:
- Frontend: React with Tailwind CSS
- Data: Pre-processed sample queries and images
- API: Mock API simulating the full Needle backend
- Images: Curated dataset of 1000+ images with embeddings
π Demo Structure
demo/
βββ src/
β βββ sample-queries.json # Pre-defined queries and results
β βββ services/
β βββ mockApi.js # Mock API responses
βββ public/
β βββ demo-images/ # Sample images
βββ scripts/
βββ build-sample-queries.py # Script to generate demo data
π¨ Customizing the Demo
You can customize the demo with your own queries and images:
- Add Images: Place your images in
public/demo-images/
- Update Queries: Edit
src/sample-queries.json
- Rebuild: Run the build script to update the demo
For detailed customization instructions, see the Demo Customization Guide.
π Getting Started with Needle
After trying the demo, you can:
- Install Needle: Follow our Getting Started guide
- Use Needlectl: Learn about our command-line interface
- Configure Services: Set up your own image generation and search pipeline
The demo is updated automatically with each release. For the latest features, make sure youβre viewing the most recent version.