How shreyasgm/gl_deep_search works
Project type and purpose
• This is a full-stack, containerized Agentic RAG system (“Growth Lab Deep Search”) with three main pillars:
a) An ETL pipeline that harvests, OCRs, and embeds Growth Lab publications and academic papers.
b) A backend service (FastAPI + LangGraph) exposing a question-answer API powered by vector embeddings and a retriever.
c) A lightweight frontend (Streamlit/Chainlit) for user interaction.
File structure
• Top-level:
• .github/workflows → CI/CD (ETL, service, frontend).
• backend/etl → ETL microservice (scrapers, processors, storage adapters).
• backend/storage → abstractions for file & cloud storage.
• backend/service → FastAPI + LangGraph service with routes, models, retriever tools.
• frontend → Streamlit UI.
• scripts/ → Dev & deployment helpers (setup, deploy, storage switch).
• Notice container configs (Dockerfile, docker‐compose.yml) in each subfolder and root.
• GitHub Actions yml files schedule ETL runs and deployments.
README insights
• CI: GitHub Actions triggers testing, builds containers, deploys to Cloud Run.
• ETL orchestration: local HPC (SLURM) for bulk, Cloud Run for incremental scraping.
• Vector DB: Qdrant; storage: Google Cloud Storage; RAG orchestration: LangGraph.
• API: FastAPI, Python 3.12; Frontend: Streamlit; Deployment: GCP Cloud Run.