This simple example shows how to make API calls with Actions. It contains two actions:
- generate a single random joke
- generate jokes based on a given theme.
Credit for this example goes to Francesco, who posted the similiar example made with FastAPI and Vercel. We wanted to show how much easier Action Server is.