Image prompt
Supported models
The following models support the Image prompt:
Vendor | Model |
---|---|
Azure OpenAI |
|
Image types supported by the Image prompt
You can upload the following types of images:
- JPEG/JPG
- Non-animated GIF
- PNG
- WEBP
Configuration parameters for the Image prompt
An administrator can customize the image prompt to meet business requirements by modifying the following configuration parameters.
Parameter name | Description | Default value |
---|---|---|
maxNumOfImages | This parameter specifies the maximum number of images that can be uploaded and processed at a time in the Image prompt. Maximum value: 3 | 3 |
imageUploadSizeInMB | This parameter sets the maximum image upload size in megabytes (MB). Maximum value: 2 MB
| 2 MB |
captureImageDetail | This parameter sets the resolution mode for the image you want to upload. Valid values:
| Low |
includeImgDataInPersistHistory | This parameter determines whether image data is saved in the persistence history. Valid values:
| True |
For information about modifying configuration parameters, see Updating-configuration-parameters-of-a-model.
How Image prompt works
To enable image upload, the BMC HelixGPT administrator must create a new prompt of type Image and add the attachment array in the message object that holds the details about image attachments. Each attachment contains the following two attributes:
Attribute name | Description |
---|---|
attachment_name | The name of the file attached. Example: ui_error.png |
attachment_content | Details about the actual image uploaded. Example: data:image/png;base64,YWJqc2RiZmpzaGZpbGFzaGRzZGZzZnNkZg== |
Example: Image prompt
How Image prompt works in BMC Helix Digital Workplace
In BMC Digital Workplace end users can upload images as input when the administrator enables the Image prompt. Here are the important considerations when uploading an image:
- BMC HelixGPTprocesses the uploaded image but does not store it.
- You can upload a maximum of three images in one session.
- By default, you can upload an image with a maximum size of 2 MB.
However, administrators can modify the maximum image upload size by using the imageUploadSizeInMB parameter. For more information, see Configuration parameters for the Image prompt. - When a large image is uploaded, the client application performs a validation and prevents the upload. For more information, see Updating the attachment settings and URI schemes the BMC Digital Workplace documentation.