ContentGuard/AIHelper
AI helper for generating content guard item prompts and descriptions
Analyze Content Guard Prompt
Analyze a user-provided Content Guard prompt for quality and optimality. Returns whether the prompt is optimal for visual content detection, and if not, provides an optimized version.
Finalize Content Guard Item Generation
Finalizes the content guard item generation by confirming the temporary image upload, prompt, and description.
Generate Description for Content Guard Item
Generate description for content guard item by `contentGuardItemUid`. Prerequisites: Image upload must be finished.
Generate Prompt for Content Guard Item
Generate prompt for content guard item by `contentGuardItemUid`. Prerequisites: Description must be generated beforehand.
Upload Temporary Image for Content Guard Item. That will be used to generate description.
Generates a presigned URL for uploading an image to the content guard item. Returns a presigned URL that the client can use to upload the image directly to S3.