Skip to main content
Loading navigation
Back to prompt library

Implement AI SDK Agent on Blaxel Runtime

Linked challenge: Build Real-Time Catalog Sync Agents with AI SDK and Blaxel

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Import `{ generateObject } from 'ai'` and configure a Blaxel deployment function. Write a TypeScript function that receives catalog update payloads, invokes an AI SDK structured model call, and returns a unified inventory JSON object.