How borregs/secretariasisexp works
Secretaria Experta is an F# phone assistant whose main workflow begins with a caller reaching Twilio, continues through the /api/voice webhook and AI response generation, and returns speech through TwiML. The README also describes confidence-based follow-up and optional SMS, plus environment-based configuration. The tree identifies startup, telephony, AI, console, environment, and web-page files, but no source excerpts were provided; relationships below therefore rely on README statements, and internal call details remain unverified.
Main entry points: Telephony.fs Voice webhook · Program.fs App startup · AiBrain.fs AI response engine · Env.fs Environment config
Components 12
App runtime
- App startup
SecretariaSisExp/Program.fs - Environment config
SecretariaSisExp/Env.fs
Voice interaction
- Voice webhook
SecretariaSisExp/Telephony.fs - TwiML response
SecretariaSisExp/Telephony.fs
AI and follow-up
- AI response engine
SecretariaSisExp/AiBrain.fs - Follow-up confidence
SecretariaSisExp/AiBrain.fs - SMS delivery
SecretariaSisExp/Telephony.fs
User interface
- Console UI
SecretariaSisExp/ConsoleUI.fs - Web page
SecretariaSisExp/wwwroot/index.html
Other components
- Phone caller
- Twilio voice
- SMS service
Connections 12
- Phone caller → Twilio voice: calls
README.md - Twilio voice → Voice webhook: posts speech
README.md - App startup → Voice webhook: registers route
README.md - Voice webhook → AI response engine: requests response
README.md - AI response engine → Voice webhook: returns answer
README.md - Voice webhook → TwiML response: generates speech
README.md - TwiML response → Twilio voice: returns TwiML
README.md - Twilio voice → Phone caller: speaks answer
README.md - Voice webhook → Follow-up confidence: assesses follow-up
README.md - Voice webhook → SMS delivery: dispatches follow-up
README.md - SMS delivery → SMS service: sends text
README.md - Environment config → App startup: loads configuration
README.md