Edit in GitHubLog an issue

cc-everywhere


Interface: HostContextualDataForImages

Context to be passed for Contextual Recommendations for Images

Properties

PropertyTypeDescription
textContent
string[]
Array of strings to be passed as context for contextual browse.
encodedImagesData?
Array of Base64 encoded images to be passed as context for contextual browse. Recommendation is to pass image of width 330px(maintaing aspect ratio) e.g. { [ { type: AssetType.IMAGE, dataType: AssetDataType.BASE64, name: "example-image.jpg", // optional data: "data:image/jpeg;base64,/9j/4AAQSkZJRg.. } ]
contextualRecommendationsVersion?
number
Contextual Recommendations Version. Defaults to version 1, send value to switch to latest version Default 1
getDataForEvaluation?
boolean
Boolean to indicate if data should be sent back to host for evaluation Default false
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.