How horacech/information-retrieval-tool works
AI Retrieval Tool is a client-side research-search strategy builder, not a literature database or crawler. A researcher enters a topic in the workspace, selects a database and template, and the app asks a chosen model to expand concepts and draft Boolean and field-specific queries. The user can compare outputs, inspect query structure, edit and copy a strategy, then run it on an external database. The README documents additional guidance, offline URL lookup, voice input, history, analytics, and refinement tracking. Some component links are evidenced only by the App import index; unsampled internals are not inferred.
Main entry points: App.tsx Search Workspace · speechService.ts Speech Service · gemini.ts Model Requests · OfficialWhitelist.tsx Official URL Lookup
Components 23
Workspace UI
- Search Workspace
src/App.tsx - Project Overview
src/components/ProjectOverview.tsx
Query Generation
- Model Requests
src/services/gemini.ts - Template Presets
src/data/searchTemplates.ts - Template Library
src/components/TemplateLibrary.tsx - Audio Transcriber
src/components/AudioTranscriber.tsx - Speech Service
src/services/speech/speechService.ts - Speech Provider Rules
src/services/speech/speechProviders.mjs
Review and History
- Query Highlighting
src/components/HighlightedBooleanQuery.tsx - Syntax Validation
src/utils/booleanSyntaxValidator.ts - Query Tree
src/components/VisualQueryTree.tsx - Model Comparison
src/components/ComparisonKeywordChart.tsx - Refinement Trajectory
src/components/OptimizationTrajectoryViewer.tsx - Feedback Analytics
src/components/FeedbackAnalytics.tsx - Performance Metrics
src/components/PerformanceMetricsPanel.tsx
Search Resources
- Official URL Lookup
src/components/OfficialWhitelist.tsx - Pinyin Matching
src/utils/pinyinMatcher.ts - Offline URL Export
src/components/OfflineDownloader.tsx
Other components
- Researcher
- Model Provider
- Speech Proxy
- Browser Storage
- Target Database
Connections 24
- Researcher → Search Workspace: enters topic
README.md - Search Workspace → Model Requests: requests query
src/App.tsx - Model Requests → Model Provider: sends request
README.md - Search Workspace → Template Presets: loads presets
src/App.tsx - Search Workspace → Template Library: renders library
src/App.tsx - Search Workspace → Audio Transcriber: renders input
src/App.tsx - Audio Transcriber → Speech Service: transcribes audio
src/components/AudioTranscriber.tsx - Speech Service → Speech Provider Rules: selects provider
src/services/speech/speechService.ts - Speech Service → Model Requests: uses Gemini
src/services/speech/speechService.ts - Speech Service → Speech Proxy: posts audio
src/services/speech/speechService.ts - Search Workspace → Query Highlighting: renders query
src/App.tsx - Search Workspace → Syntax Validation: checks structure
src/App.tsx - Search Workspace → Query Tree: renders logic
src/App.tsx - Search Workspace → Model Comparison: renders comparison
src/App.tsx - Search Workspace → Refinement Trajectory: renders history
src/App.tsx - Search Workspace → Feedback Analytics: renders analytics
src/App.tsx - Search Workspace → Performance Metrics: renders metrics
src/App.tsx - Search Workspace → Project Overview: renders overview
src/App.tsx - Search Workspace → Browser Storage: stores local data
README.md - Search Workspace → Official URL Lookup: opens lookup
src/App.tsx - Official URL Lookup → Pinyin Matching: scores matches
src/components/OfficialWhitelist.tsx - Search Workspace → Offline URL Export: offers export
src/App.tsx - Offline URL Export → Official URL Lookup: uses URL directory
src/components/OfflineDownloader.tsx - Researcher → Target Database: runs copied query
README.md