Create an AI agent workflow that responds to customer inquiries while checking if their text is inappropriate
generateText from Vercel’s AI SDK to interact with OpenAI modelsexperimental_telemetry to provide LLM logsbatch.triggerByTaskAndWait to run customer response and content moderation tasks in parallelhandle-customer-question task and include a payload like the following: