How tilotech/identity-rag-customer-insights-chatbot works
Key Components to Include:
Client Layer
• Chat interface where users input queries
• PDF upload functionality
Application Layer
a. Identity Resolution Service
b. RAG (Retrieval Augmented Generation) Pipeline
c. LLM Integration Module (supporting both OpenAI and AWS Bedrock)
Data & Integration Layer
• Tilores API Integration
• Customer Data Sources
• Authentication/Token Management
• PDF Processing Service (using poppler-utils)
Design Guidelines:
Main Flow Representation
• User Query → Chat Interface → IdentityRAG Engine → LLM → Response
Component Relationships
• [Web Interface] → [IdentityRAG Engine]
• ↓
• [Tilores API] ← [Identity Resolution] → [Customer Data]
• ↓
• [LLM Provider] ← [RAG Pipeline] → [Context Processing]
Authentication Flow
A separate section showing:
• [Tilores Token URL] → [OAuth Flow] → [API Access]
• [AWS Credentials/OpenAI Key] → [LLM Authentication]
Special Considerations:
Environment Configuration
• A configuration management component showing environment variables
• Flexibility between OpenAI and AWS Bedrock
Data Processing Pipeline
• Unification process
• Search and retrieval flow
• Demonstrate deduplication and disambiguation steps
Integration Points
• LangChain integration
• PDF processing pipeline
• Multiple data source connections
• LLM providers
• Data sources
• Interface options