I think we're still working on the documentation! But in short it should look something like: ```

I think we're still working on the documentation! But in short it should look something like:

export default {
  async fetch(request, env, ctx): Promise<Response> {
    const resp = await env.AI.run("@cf/deepgram/aura-1", {}, {
      websocket: true
    });
    return resp;
  },
} satisfies ExportedHandler<Env>;
Was this page helpful?