Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Serverless and AI Fun with Azure

Serverless and AI Fun with Azure

Gurucharan Subramani

July 27, 2019
Tweet

More Decks by Gurucharan Subramani

Other Decks in Programming

Transcript

  1. AZURE SPEECH SERVICES @gurucharan94 SPEECH-TO-TEXT Getting Startedwith Azure Portal New

    Speech S0 TIER Region SUBSCRIPTION KEY CRIS ENDPOINT Batch Transcription
  2. @gurucharan94 • CREATING STORAGE ACCOUNT • STORAGE EXPLORER • UPLOAD

    FILE & GET SAS URI • CREATE SPEECH SERVICE • HTTP POST to CRIS ENDPOINT • SEE TRANSCRIPT
  3. C O D E C O D E C O

    D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E CODE !! CODE !! CODE !! @gurucharan94 - Download Audio File - Upload to Storage & Get SAS URI - POST to CRIS TRANSCRIPTION ENDPOINT - GET Transcript from CRIS TRANSCRIPTION ENDPOINT DO THIS PROGRAMATICALLY PLEASE ???
  4. CODE !! CODE !! CODE !! @gurucharan94 - Download Audio

    File - Upload to Storage & Get SAS URI - POST to CRIS TRANSCRIPTION ENDPOINT - GET Transcript from CRIS TRANSCRIPTION ENDPOINT C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E
  5. CODE !! CODE !! CODE !! @gurucharan94 - Download Audio

    File - Upload to Storage & Get SAS URI - POST to CRIS TRANSCRIPTION ENDPOINT - GET Transcript from CRIS TRANSCRIPTION ENDPOINT C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E
  6. CODE !! CODE !! CODE !! @gurucharan94 - Download Audio

    File - Upload to Storage & Get SAS URI - POST to CRIS TRANSCRIPTION ENDPOINT - GET Transcript from CRIS TRANSCRIPTION ENDPOINT C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E
  7. CODE !! CODE !! CODE !! @gurucharan94 - Download Audio

    File - Upload to Storage & Get SAS URI - POST to CRIS TRANSCRIPTION ENDPOINT - GET Transcript from CRIS TRANSCRIPTION ENDPOINT C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E C O D E
  8. CODE !! CODE !! CODE !! @gurucharan94 In HOW many

    ways can I run this on Azure ???
  9. @gurucharan94 AZURE FUNCTIONS - Download Audio File - Upload to

    Storage & Get SAS URI - POST to CRIS TRANSCRIPTION ENDPOINT - GET Transcript from CRIS TRANSCRIPTION ENDPOINT My function INPUT BINDINGS TRIGGER OUTPUT BINDINGS
  10. THE BIG DIAGRAM SLIDE Save Audio File In Blob Storage

    Submit for Transcription Audio file link Audio Files??
  11. Q: What is a good source of high quality conversational

    audio that we can use to test our system ?? A: Podcasts
  12. Q: What is the best way to get all the

    links to the audio files on a podcast ?? A: RSS Feed
  13. THE BIG DIAGRAM SLIDE Save Audio File In Blob Storage

    Submit for Transcription Check RSS Feed for updates New Feed Item ???
  14. THE BIG DIAGRAM SLIDE . . . . . .

    Check RSS Feed for updates New Feed Item Transcription Completed Store Results Save Audio File In Blob Storage Submit for Transcription
  15. . . . . . . Check RSS Feed for

    updates New Feed Item Transcription Completed Store Results Save Audio File In Blob Storage Submit for Transcription HOW MUCH DOES THIS COST ??
  16. . . . . . . Check RSS Feed for

    updates New Feed Item Transcription Completed Store Results Save Audio File In Blob Storage Submit for Transcription HOW MUCH DOES THIS COST ??
  17. . . . . . . Check RSS Feed for

    updates New Feed Item Transcription Completed Store Results Save Audio File In Blob Storage Submit for Transcription HOW MUCH DOES THIS COST ??
  18. HOW TO DO THE GITHUB THING?? . . . .

    . . Check RSS Feed for updates New Feed Item Transcription Completed Store Results Save Audio File In Blob Storage Submit for Transcription
  19. HOW WELL DOES THIS SCALE ?? . . . .

    . . Check RSS Feed for updates New Feed Item Transcription Completed Store Results Save Audio File In Blob Storage Submit for Transcription
  20. SHOULD I QUIT MY JOB ??? . . . .

    . . Check RSS Feed for updates New Feed Item Transcription Completed Store Results Save Audio File In Blob Storage Submit for Transcription
  21. TAKE IT FORWARD . . . Check RSS Feed for

    updates Save Audio File In Blob Storage Submit for Transcription Transcription Completed Store Results Save Audio File In Blob Storage Transcribe Past Episodes Speaker Segmentation
  22. HOME WORK LINKS @gurucharan94 https://nerdstagram.com/GuruCharan94/az-podcast-transcriber Send Pull Requests at 01

    03 https://www.gurucharan.in/hanselminutes-plus-plus/ Read Blog Post at https://hanselminutesplusplus.azurewebsites.net See Live Demo at 02