Copilot commented on code in PR #8987:
URL: https://github.com/apache/texera/pull/8987#discussion_r4274600352
##########
frontend/src/app/workspace/component/property-editor/operator-property-edit-frame/operator-property-edit-frame.component.ts:
##########
@@ -317,17 +317,17 @@ export class OperatorPropertyEditFrameComponent
implements OnInit, OnChanges, On
outputLabel: "Generated text",
title: "Image-text-to-text preview",
body: "The model reads an image and a text prompt to produce a
response.",
- outputBody: "The image shows a superhero leaping across rooftops at
sunset.",
+ outputBody: "The image shows a person leaping across rooftops at
sunset.",
assetSrc: "assets/sample-image.png",
},
"image-classification": {
kind: "image",
inputLabel: "Image input",
outputLabel: "Predicted labels",
title: "Image classification preview",
- body: "The model assigns labels such as superhero, city, or action
scene.",
+ body: "The model assigns labels such as parkour, city, or action scene.",
Review Comment:
The descriptive `body` text and the actual `pills` values are slightly
inconsistent (`city` vs `cityscape`, `action scene` vs `action`). Since these
previews are effectively documentation for users, aligning the `body` examples
with the exact pill strings will reduce confusion and future drift (e.g., use
`cityscape` and `action` in the sentence, or change the pills to match the
wording).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]