Skip to main content
Glama

Semiconductor Component RAG Search

HOW_TO_USE_UI.md•3.07 kB
# šŸŽØ How to Use the Beautiful UI ## ✨ New Attractive Web Interface is Ready! ### 🌐 Access the UI **Simply open in your browser:** ``` http://localhost:8001/ ``` The server should automatically reload with the new UI! ### šŸŽÆ Features #### 1. **Modern Design** - Dark theme with beautiful gradients - Professional card-based layout - Smooth animations and transitions - Responsive design for all devices #### 2. **File Upload** - **Drag & drop** Excel files directly onto the upload area - **Click to browse** for files - **Visual progress** indicator during upload - **Success/Error notifications** with toast messages #### 3. **Question Answering** - **Type questions** in the search bar - **Quick question buttons** for common queries: - MOSFET components - Voltage regulators - 5V components - Texas Instruments - **Formatted answers** with context - **Copy to clipboard** button - **Context visualization** below answers #### 4. **Information Panel** - **Live statistics** about your collection - **Document count** display - **Status indicators** - **Refresh button** for real-time updates #### 5. **Status Indicator** - **Connection status** badge in header - **Pulsing indicator** shows server status - **Auto-checks** health endpoint ### šŸ“ Step-by-Step Usage 1. **Open Browser** - Navigate to: `http://localhost:8001/` - You'll see the beautiful interface! 2. **Upload Document** - Drag and drop `examples/semiconductor_components.xlsx` onto the upload area - OR click to browse and select the file - Wait for upload progress - See success message when complete 3. **Ask Questions** - Type your question: "What MOSFET components are available?" - OR click one of the quick question buttons - Press Enter or click "Ask" button - View formatted answer with context 4. **View Information** - Check collection stats in the info panel - See document count - Click "Refresh Info" to update ### šŸŽØ Design Highlights - **Colors**: Modern dark theme with purple/indigo accents - **Typography**: Inter font for excellent readability - **Icons**: Font Awesome icons throughout - **Animations**: Smooth transitions and hover effects - **Layout**: Clean card-based design - **Responsive**: Works on all screen sizes ### šŸ’” Tips - **Press Enter** in the question box to submit - **Click quick buttons** for instant common queries - **Copy answers** using the copy button - **Watch status badge** for connection status - **Check toast notifications** for feedback ### šŸ”§ If Server Needs Restart If the UI doesn't load, restart the server: ```bash # Stop current server (Ctrl+C) # Then restart: python main.py ``` ### āœ… What You'll See - Beautiful header with logo and status - Drag-and-drop upload area - Question input with quick action buttons - Answer display with formatted text - Context items showing retrieved information - Information cards with statistics - Smooth animations and transitions ### šŸš€ Ready! **Just open**: http://localhost:8001/ **Enjoy the beautiful UI!** šŸŽ‰

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chakradharkalle03-arch/MCP2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server