Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

AI tagging relies on AWS Bedrock service.
An esaas operation is required to authorize the wedia application to consume bedrock services

Using a Developper connected user, browse to plugin PACKAGED_LLM

image-20240701-200637.png

Plugin PACKAGED_LLM

Activate plugin, then from URLs tab, click on url.index (/_plugins/PACKAGED_LLM/page/config.jspz)

This will open a small crappy UI allowing you to setup the plugin integration.

image-20240702-073851.png

Configure your prompt

You need to configure the prompt that will be applied to describe images. The default value is “Describe this image”

Within the left menu, select Configure

image-20240701-200718.png

You should adapt the prompt for instance:

Generate a concise caption including information such as the main subject, action or state, and the background or context. Limit to 2 sentences.
Do not introduce your text with "This image depicts" or any other introduction, go straight to the point.
Specify the position of characters or objects or their orientation relative to the image. Indicate the location, season, or time of day if known.
Only include objective information. Use the provided examples for inspiration:

Examples :

Silhouettes of workers in backlight on a construction site with a crane in the background
Close-up of a lab technician's hand wearing gloves and dropping a purple liquid into a vial with a pipette
Offshore wind farm of Rampion, United Kingdom
Stack of three macarons, one pink, one green, and one yellow, isolated on a gray background
Top view of a pile of watermelons with one cut watermelon on top
Tamnavulin whisky bottle seen from a 3/4 rear angle, isolated on a brown background
Close-up of a cheeseburger isolated on a white background
Airbus A310 in flight of Air Transat seen from a low angle
Overall view of the platform and railway tracks of the Bank metro station, London, United Kingdom
Partial view of the Roselend dam in its environment, France
High voltage pylons in a field at dusk

Most of claude3 options should be configurable from the application.

The [Image] div with dotted border represents the image that will be analyzed.

If you bookmark a configuration, it will be available in the History, from which you will be able to load from.

The prompt is stored in appconfigs/poc_multimodal folder.

Test your prompt

You can use the Prompt entry from the menu to make some tests with a specific image, before configuring it.

image-20240701-200956.png

Batch Test

You can also use Test entry to upload a set of images from the test screen to check your prompt among multiple images

image-20240702-071513.png

Activate on the FO application

If you are managing the FO application configuration (json) on the server, you can define this configuration from the same UI

From the Portal integration menu entry,

image-20240701-201115.png

Within Enable AI caption generation section, make sure Claude3 is selected.

You may adapt the target field on which you want to provide the tagging feature.

Click save.

This will adapt the FO configuration to enable LLM trigger.

The configuration is stored on the customer layer of the configuration:

image-20240702-073122.png

FO application integration

If your client FO application configuration is not resolved by the server, you can activate the feature by adding to $.features

{
  "pocAiCaption": true,
  "pocAiCaption": "<FIELD_NAME>"
}

Results

image-20240702-074454.png

  • No labels