Ideal Supply RAG Service - Complete Test UI

Test all API endpoints: Collections, Search, Ingest, Rerank, Lessons, and Metrics

Checking...

๐Ÿฅ Health Status

Status
-
Uptime
-
Heap Usage
-
RSS Memory
-
Click "Refresh" to load health data...

๐Ÿ“ Collections Overview

Click "Refresh" to load collections...

โšก Quick Tests

Select a quick test to run...

๐Ÿ“ List Collections

Retrieves all available collections with document counts and metadata.

๐Ÿ”Ž Get Collection Details

๐Ÿ“ฅ Document Ingestion

POST /api/v1/ingest

๐ŸŒ URL Ingestion

๐Ÿ”„ Rerank Candidates

POST /api/v1/rerank
Rerank a list of candidate documents using the NeutralAiz AI reranker. The reranker scores each candidate against the query and returns them sorted by relevance.

๐Ÿ“š Record Lesson

POST /api/v1/lessons
Record a lesson when staff corrects an AI suggestion. This helps the system learn from corrections.

AI Suggested:

Staff Corrected To:

๐Ÿ“š Batch Lessons

POST /api/v1/lessons/batch

๐Ÿ“„ Retrieve Document

GET /api/v1/documents/:collection/:id
Retrieve a full document by its ID from a specific collection.

๐Ÿ“ˆ Detailed Health

GET /api/v1/health/detailed

๐Ÿ“Š Prometheus Metrics

GET /api/v1/metrics
Raw Prometheus-compatible metrics for monitoring and alerting.

๐Ÿš€ End-to-End Test Suite

Comprehensive RAG Testing
E2E Test Suite
Run comprehensive tests that validate all aspects of the RAG system including: ingestion, search, relationships, dual storage (PostgreSQL + Qdrant), upserts, and data integrity. All test data uses the E2E_ prefix for isolation.
Total Tests
-
Passed
-
Failed
-
Duration
-

๐Ÿ“‹ Test Categories

โš™๏ธ Setup & Verification โณ Pending
Verify API is healthy
Verify product data exists (5K+ products)
๐Ÿ“„ Document Retrieval โณ Pending
Retrieve AUTO DRAIN product
Retrieve DRILL BIT product
Retrieve FILTER product
Retrieve WRENCH product
Retrieve LADDER product
Handle invalid ID gracefully
๐Ÿ” Semantic Search โณ Pending
Search: "drill bit" โ†’ finds drill products
Search: "auto drain" โ†’ finds drain products
Search: "filter cartridge" โ†’ finds filters
Search: "wrench pipe tool" โ†’ finds wrenches
Search: "aluminum ladder" โ†’ finds ladders
Search by division name
๐Ÿ“‹ Product Metadata โณ Pending
Products have SKU field
Products have brand field
Products have family/division field
Products have description field
๐Ÿ”Œ API Functionality โณ Pending
List collections endpoint works
Search respects k limit parameter
Results include valid scores

๐Ÿ“Š Test Output

Click "Run All Tests" to execute the E2E test suite...

๐Ÿงช Test Data Management

Isolated test fixtures
Test Data Isolation
All test documents use the prefix TEST_ to ensure they can be loaded and unloaded without affecting production data. This enables safe testing of all RAG functionality.

๐Ÿ“‹ Available Fixtures

GET /api/v1/test-data/fixtures

๐Ÿ—‘๏ธ Delete Documents

DELETE /api/v1/documents/:collection
โš ๏ธ Warning: These operations permanently delete documents. Use with caution.

๐Ÿ“„ List Documents

GET /api/v1/documents/:collection