How dsatish1252/jouleops_accenture_training_capstone_proj_frontend works
JouleOps is a natural-language enterprise assistant for NorthWind Manufacturing. A user submits a request in either Streamlit interface; the LangGraph workflow classifies intent, extracts parameters, selects and validates a tool, executes the business action, applies the material-stock decision when relevant, and returns a grounded response with trace details. The documented scenarios cover stock checks and ticket creation, sales orders, customer exposure, overdue invoices, and inventory snapshots. The README documents FastAPI, MCP, and HANA integrations; sampled code confirms the workflow and HTTP tool calls, but not the backend implementations.
Main entry points: graph.py LangGraph Workflow · tools.py HTTP Tool Helpers · app.py Chat UI · anotherapp.py Detailed Chat UI
Components 19
Chat interface
- Chat UI
app.py - Detailed Chat UI
anotherapp.py
Agent workflow
- LangGraph Workflow
graph.py - Intent Router
graph.py - Parameter Extraction
graph.py - Tool Selection
graph.py - RBAC and Validation
graph.py - Tool Execution
graph.py - Stock Decision
graph.py - Grounded Response
graph.py
Tool integrations
- FastAPI Tool Calls
graph.py - MCP Tool Dispatch
graph.py - HTTP Tool Helpers
tools.py - Environment Config
config.py
Enterprise services
- Gemini / LLM
- FastAPI Business APIs
- MCP Server
- SAP HANA Cloud
Other components
- User
Connections 24
- User → Chat UI: submits request
app.py - User → Detailed Chat UI: submits request
anotherapp.py - Chat UI → LangGraph Workflow: invokes workflow
app.py - Detailed Chat UI → LangGraph Workflow: invokes workflow
anotherapp.py - LangGraph Workflow → Intent Router: runs stages
README.md - LangGraph Workflow → Parameter Extraction: runs stages
README.md - LangGraph Workflow → Tool Selection: runs stages
README.md - LangGraph Workflow → RBAC and Validation: runs stage
README.md - LangGraph Workflow → Tool Execution: runs stage
README.md - LangGraph Workflow → Stock Decision: branches to
README.md - LangGraph Workflow → Grounded Response: generates
graph.py - Intent Router → Gemini / LLM: prompts
graph.py - Parameter Extraction → Gemini / LLM: prompts
graph.py - Tool Selection → Gemini / LLM: prompts
graph.py - Grounded Response → Gemini / LLM: prompts
graph.py - Tool Execution → FastAPI Tool Calls: dispatches
graph.py - Tool Execution → MCP Tool Dispatch: dispatches
graph.py - FastAPI Tool Calls → FastAPI Business APIs: posts business requests
graph.py - MCP Tool Dispatch → MCP Server: loads and calls tools
README.md - HTTP Tool Helpers → Environment Config: reads endpoint
tools.py - HTTP Tool Helpers → FastAPI Business APIs: posts business requests
tools.py - FastAPI Business APIs → SAP HANA Cloud: reads or updates data
README.md - MCP Server → SAP HANA Cloud: retrieves data
README.md - Stock Decision → Tool Execution: creates ticket
README.md