SmartRAG - Ask Questions About Your Data
Turn your documents, databases, images and audio into a conversational AI system.
// Add SmartRAG to your .NET project
services.UseSmartRag(configuration,
storageProvider: StorageProvider.InMemory,
aiProvider: AIProvider.Gemini
);
// Upload documents (PDF, Word, Excel, Images, Audio)
var document = await documentService.UploadDocumentAsync(
fileStream, "contract.pdf", "application/pdf", "user-id"
);
// Ask questions with AI-powered intelligence
var answer = await searchService.QueryIntelligenceAsync(
"What are the main benefits mentioned?",
maxResults: 5
);
Console.WriteLine(answer.Answer);
// AI analyzes your documents and provides intelligent answers
Key Features
Powerful capabilities for building intelligent enterprise applications
Multi-Database RAG
Query multiple database types simultaneously - SQL Server, MySQL, PostgreSQL, SQLite. AI-powered cross-database joins and intelligent query coordination.
Multi-Modal Intelligence
Process PDF, Excel, Word documents, Images (OCR), Audio files (Speech-to-Text), and Databases - all unified in a single intelligent platform.
On-Premise & Local AI
100% local operation with Ollama, LM Studio support. GDPR/KVKK/HIPAA compliant. Your data never leaves your infrastructure.
Conversation History
Automatic session-based conversation management with context awareness. AI remembers previous questions for natural interactions.
Advanced Semantic Search
Hybrid scoring system (80% semantic + 20% keyword) with context awareness and intelligent ranking for superior search results.
Smart Query Intent
Automatically routes queries to chat or document search based on intent detection. Language-agnostic design works globally.
Enterprise Security
Automatic sensitive data sanitization, encryption support, configurable data protection, and compliance-ready deployments.
Production Ready
Zero warnings policy, SOLID/DRY principles, comprehensive error handling, thread-safe operations, and battle-tested in production.
Supported Technologies
Integrate with leading AI providers, storage solutions, and databases
AI Providers
OpenAI
GPT Models
Anthropic
Claude Models
Gemini
Google AI Models
Azure OpenAI
Enterprise Models
Custom
Ollama / LM Studio
Storage Providers
Qdrant
Vector Database
Redis
High-Performance Cache
InMemory
In-Memory Storage
Supported Database Types
Query multiple database types simultaneously with AI-powered coordination
SQL Server
Enterprise Database
MySQL
Open Source DB
PostgreSQL
Advanced DB
SQLite
Embedded DB
Real-World Use Cases
See what you can build with SmartRAG's multi-database and multi-modal capabilities
Medical Records Intelligence
Challenge: Get complete patient history scattered across departments
SmartRAG Solution:
- PostgreSQL: Patient records, admissions, discharge summaries
- Excel: Lab results from multiple labs
- OCR: Scanned prescriptions and medical documents
- Audio: Doctor's voice notes from appointments
Result: Complete patient timeline from 4 disconnected systems, saving hours of manual data gathering.
Banking Credit Evaluation
Challenge: Evaluate customer financial profile for credit decisions
SmartRAG Solution:
- SQL Server: Transaction history (36 months)
- MySQL: Credit card usage and spending patterns
- PostgreSQL: Loans, mortgage, credit score history
- SQLite: Branch visit history, customer interactions
- OCR: Scanned income documents, tax returns
- PDF: Account statements, investment portfolios
Result: 360° customer financial intelligence for comprehensive risk assessment.
Legal Precedent Discovery
Challenge: Find winning strategies from years of case history
SmartRAG Solution:
- 1,000+ PDF legal documents (cases, briefs, judgments)
- SQL Server case database (outcomes, dates, judges)
- OCR: Scanned court orders
Result: AI discovers winning legal patterns in minutes vs. weeks of manual research.
Predictive Inventory Intelligence
Challenge: Prevent stockouts before they happen
SmartRAG Solution:
- SQLite: Product catalog (10,000 SKUs)
- SQL Server: Sales data (2M transactions/month)
- MySQL: Warehouse inventory (real-time)
- PostgreSQL: Supplier data (lead times)
Result: Cross-database predictive analytics preventing stockouts across entire supply chain.
Manufacturing Root Cause Analysis
Challenge: Find why production quality dropped
SmartRAG Solution:
- Excel: Production reports (5 lines, hourly data)
- PostgreSQL: Sensor data (100K+ readings)
- OCR: Quality control photos with inspector notes
- PDF: Equipment maintenance logs
Result: AI correlates temperature anomalies across millions of data points to pinpoint exact root cause.
AI Resume Screening
Challenge: Find best candidates from 500+ applications
SmartRAG Solution:
- 500+ Resume PDFs (multiple languages, formats)
- SQL Server: Applicant database (skills, experience)
- OCR: Scanned certificates (AWS, Azure, Cloud)
- Audio: Video interview transcripts
Result: AI screens and ranks candidates across multiple data types in minutes.
Why Choose SmartRAG?
Multi-Database RAG
Query SQL Server, MySQL, PostgreSQL, SQLite simultaneously with AI-powered coordination
Multi-Modal
Unified intelligence across PDF, Excel, Word, Images, Audio, and Databases
100% Local
Complete on-premise deployment with Ollama/LM Studio for total data privacy
Language Agnostic
Works in any language - Turkish, English, German, Russian, Chinese, Arabic
Ready to Build Something Amazing?
Join developers building intelligent applications with SmartRAG