How vijaygodson/ai-factory-platform works
This is a small FastAPI service for summarizing synthetic clinical notes. A caller submits note text to the summarize endpoint, which validates it, requests a two-sentence summary from Azure OpenAI, records latency and token usage, and returns the summary with latency. The same service exposes a health check. The source excerpt shows the application and model-call flow; deployment and infrastructure files are excluded from this runtime view.
Main entry points: main.py Summarizer API
Components 5
Other components
- API caller
- Summarizer API
app/main.py - Note input
app/main.py - Azure OpenAI
- Call telemetry
app/main.py
Connections 5
- API caller → Summarizer API: submits note
app/main.py - Summarizer API → Note input: validates with
app/main.py - Summarizer API → Azure OpenAI: requests summary
app/main.py - Summarizer API → Call telemetry: logs usage
app/main.py - Summarizer API → API caller: returns summary
app/main.py