When you generate an image, the API will return a RevisedPrompt property because OpenAI will take the user's prompt and run it through their own process to filter out explicit content and help you create more vivid prompts.
Currently the user is not able to tell what OpenAI changed about their prompt which could cause some confusion if it does not line up with their original prompts intent.
This task will use the MudTooltip component to add this information to display when the user mouses over the image that was generated
Overview
When you generate an image, the API will return a
RevisedPrompt
property because OpenAI will take the user's prompt and run it through their own process to filter out explicit content and help you create more vivid prompts.Currently the user is not able to tell what OpenAI changed about their prompt which could cause some confusion if it does not line up with their original prompts intent.
This task will use the MudTooltip component to add this information to display when the user mouses over the image that was generated
You will need to add a new property to hold this data on the WidgetGeneratorModel
RevisedPrompt
You will need to update this section to set the new property with the returned revised prompt
Finally you will need to add the MudTooltip component to wrap the image and display the
RevisedPrompt
propertyExit Criteria
When the user mouses over the generated image, they will see the revised prompt