Skip to content

Source Map

This page maps learning topics to implementation files and GitHub line ranges.

Repository:

text
https://github.com/WWIIITT/enterprise-financial-intelligence-agent

RAG And Citations

AreaSource
RAG response entrypointrag_service.py L16-L84
Retrieval and rerankingrag_service.py L132-L186
Evidence thresholdrag_service.py L187-L228
Answer synthesisrag_service.py L238-L320
Chunkingchunking.py L5-L24

Qdrant Vector Retrieval

AreaSource
Qdrant storevector_store.py L18-L145
Collection validationvector_store.py L157-L185
Embedding clientembedding_client.py L16-L84
Local fallback storestore.py L11-L86

SEC EDGAR Ingestion

AreaSource
SEC fetch entrypointsec_edgar_client.py L23-L102
Filing cleaner and parsersec_edgar_client.py L103-L159
Filing selectionsec_edgar_client.py L160-L223
Retry and throttlingsec_edgar_client.py L231-L291
Live ingestioningestion_service.py L53-L124

Macro Analysis

AreaSource
Series catalog and sample datamacro_service.py L18-L61
FRED clientmacro_service.py L62-L123
Analysis entrypointsmacro_service.py L124-L187
Intent detectionmacro_service.py L188-L223
Cache and trend helpersmacro_service.py L252-L392

SQL Analytics

AreaSource
Metric whitelistsql_analytics_service.py L27-L67
Ingestion and analysissql_analytics_service.py L95-L154
SEC facts parsingsql_analytics_service.py L155-L196
Persistence and queriessql_analytics_service.py L197-L260
Answer and route helperssql_analytics_service.py L261-L349

LangGraph Orchestrator

AreaSource
State and entrypointorchestrator.py L19-L67
Route decisionorchestrator.py L68-L82
Graph constructionorchestrator.py L83-L120
Agent nodesorchestrator.py L121-L231
Response assemblyorchestrator.py L232-L257

Evaluation Engine

AreaSource
Entry pointseval_service.py L27-L55
Case executioneval_service.py L56-L138
Scoring functionseval_service.py L139-L248
Metric aggregationeval_service.py L249-L283
Report writingeval_service.py L284-L344

Security Governance

AreaSource
Detection patternssecurity_service.py L10-L27
Security checksecurity_service.py L28-L71
Hashing and block answersecurity_service.py L72-L86
PII and injection detectionsecurity_service.py L87-L127
Action and risk mappingsecurity_service.py L128-L147

Observability Dashboard

AreaSource
Summary aggregationobservability_service.py L19-L81
Empty stateobservability_service.py L82-L97
Distribution and p95observability_service.py L98-L128
Request log modelmodels.py L38-L49
Evaluation run modelmodels.py L94-L104

Built as a Senior AI Engineer and AI Solution Architect portfolio project.