← Back to all frameworks Azure ML & Cloud

Azure Functions

Serverless compute — pay-per-call AI workers

What it is

Event-driven serverless functions on Azure. Triggered by HTTP, queues, blobs, timers, Event Grid. Perfect for stateless inference endpoints and webhook handlers.

How Vaaani uses it

  • AI worker triggered when a new file lands in Blob Storage
  • Webhook receivers from HubSpot, Stripe, Slack
  • Scheduled jobs (cron) that summarize yesterday's data
  • Glue layer between Cognitive Services and your dashboards

Why it makes the cut

Most AI workloads are bursty. Functions cost nothing when idle and scale to thousands of concurrent calls instantly.

Sample code

import azure.functions as func

def main(req: func.HttpRequest) -> func.HttpResponse:
    body = req.get_json()
    answer = run_agent(body["query"])
    return func.HttpResponse(answer)

Related in the Vaaani stack

Have a project that needs Azure?

30-min discovery call. You describe the busywork; I map it to an AI worker and a budget.