How rahul8879/coding_ninja_genai works
This repository is a collection of independent generative-AI learning examples and applications, not one product with a shared runtime. The clearest end-to-end workflows are HealthLink conversation handling, Inventra’s agent-backed chat, Hireflow resume ingestion, and several standalone RAG or classification services. The graph preserves the sampled application paths and the major core modules identified by the source index; many projects are unsampled, so their internal connections are intentionally omitted.
Main entry points: pipeline.py Ingestion pipeline · routes.py Employee policy API · graph.py Conversation agent · conversation_routes.py Conversation routes
Components 34
HealthLink care
- Conversation routes
Projects/healthlink-live/backend/app/routes/conversation_routes.py - Conversation service
Projects/healthlink-live/backend/app/services/conversation_service.py - Conversation agent
Projects/healthlink-live/backend/app/agent/graph.py - LLM client
Projects/healthlink-live/backend/app/agent/llm_client.py - Tool executor
Projects/healthlink-live/backend/app/tools/executor.py - Scheduling
Projects/healthlink-live/backend/app/services/scheduling.py - Database
Projects/healthlink-live/backend/app/db/database.py
Inventra assistant
- Chat interface
Projects/inventra/frontend/src/App.jsx - Chat API
Projects/inventra/app/api/routes.py - Agent workflow
Projects/inventra/app/graph/workflow.py - Workflow state
Projects/inventra/app/graph/state.py
Hireflow resumes
- Upload route
Projects/hireflow/api/routes/upload.py - Ingestion pipeline
Projects/hireflow/ingestion/pipeline.py - Resume loader
Projects/hireflow/ingestion/loader.py - Chunking
Projects/hireflow/ingestion/chunker.py - Candidate metadata
Projects/hireflow/ingestion/metadata.py - Embedder
Projects/hireflow/ingestion/embedder.py - Vector store
Projects/hireflow/ingestion/vector_store.py - Deduplication
Projects/hireflow/ingestion/dedup.py
Deployed AI demos
- Policy chat API
06_deployment/session-01/app/main.py - Policy RAG
06_deployment/session-01/app/rag.py - RAG configuration
06_deployment/session-01/app/config.py - Prompt templates
06_deployment/session-01/app/prompts.py - Employee policy API
06_deployment/session-07/Demo-2/app/api/routes.py - Document retrieval
06_deployment/session-07/Demo-2/app/retrieval/service.py - Prompt builder
06_deployment/session-07/Demo-2/app/prompts/builder.py - LLM service
06_deployment/session-07/Demo-2/app/llm/service.py - Chat schemas
06_deployment/session-07/Demo-2/app/models/schemas.py - Request logging
06_deployment/session-07/Demo-2/app/observability/logger.py - Scam Guard API
Projects/scam_guard/main.py
Other components
- User
- User
- Resume submitter
- Questioner
Connections 29
- User → Conversation routes: sends messages
Projects/healthlink-live/backend/app/routes/conversation_routes.py - Conversation routes → Conversation service: loads and saves turns
Projects/healthlink-live/backend/app/routes/conversation_routes.py - Conversation routes → Conversation agent: invokes agent
Projects/healthlink-live/backend/app/routes/conversation_routes.py - Conversation agent → LLM client: uses model client
Projects/healthlink-live/backend/app/agent/graph.py - Conversation agent → Tool executor: executes tools
Projects/healthlink-live/backend/app/agent/graph.py - Conversation agent → Scheduling: uses scheduling
Projects/healthlink-live/backend/app/agent/graph.py - Conversation service → Database: persists turns
- User → Chat interface: asks question
Projects/inventra/frontend/src/App.jsx - Chat interface → Chat API: sends chat
- Chat API → Agent workflow: invokes workflow
Projects/inventra/app/api/routes.py - Agent workflow → Workflow state: uses state
- Resume submitter → Upload route: uploads resume
- Upload route → Ingestion pipeline: starts ingestion
- Ingestion pipeline → Resume loader: loads resume
Projects/hireflow/ingestion/pipeline.py - Ingestion pipeline → Chunking: chunks text
Projects/hireflow/ingestion/pipeline.py - Ingestion pipeline → Candidate metadata: builds candidate ID
Projects/hireflow/ingestion/pipeline.py - Ingestion pipeline → Embedder: embeds chunks
Projects/hireflow/ingestion/pipeline.py - Ingestion pipeline → Vector store: upserts vectors
Projects/hireflow/ingestion/pipeline.py - Ingestion pipeline → Deduplication: deduplicates
Projects/hireflow/ingestion/pipeline.py - Questioner → Policy chat API: asks question
06_deployment/session-01/app/main.py - Policy chat API → Policy RAG: retrieves or answers
06_deployment/session-01/app/main.py - Policy RAG → RAG configuration: loads settings
06_deployment/session-01/app/rag.py - Policy RAG → Prompt templates: uses prompts
06_deployment/session-01/app/rag.py - Employee policy API → Document retrieval: retrieves documents
06_deployment/session-07/Demo-2/app/api/routes.py - Employee policy API → Prompt builder: builds prompt
06_deployment/session-07/Demo-2/app/api/routes.py - Employee policy API → LLM service: generates answer
06_deployment/session-07/Demo-2/app/api/routes.py - Employee policy API → Chat schemas: validates response
06_deployment/session-07/Demo-2/app/api/routes.py - Employee policy API → Request logging: logs request
06_deployment/session-07/Demo-2/app/api/routes.py - Scam Guard API → Scam Guard API: mounts batch router
Projects/scam_guard/main.py