Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

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

Table of Contents
stylenone

Table of Contents
stylenone

Environment requirements

To enable AI tagging, additional configuration is required

  • AWS configuration

  • Application parameters

AWS configuration

Bedrock service access grants

The AWS account used by the application must have the following permission allowed: AmazonBedrockFullAccess

Code Block
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "BedrockAll",
            "Effect": "Allow",
            "Action": [
                "bedrock:*"
            ],
            "Resource": "*"
        },
        {
            "Sid": "DescribeKey",
            "Effect": "Allow",
            "Action": [
                "kms:DescribeKey"
            ],
            "Resource": "arn:*:kms:*:::*"
        },
        {
            "Sid": "APIsWithAllResourceAccess",
            "Effect": "Allow",
            "Action": [
                "iam:ListRoles",
                "ec2:DescribeVpcs",
                "ec2:DescribeSubnets",
                "ec2:DescribeSecurityGroups"
            ],
            "Resource": "*"
        },
        {
            "Sid": "PassRoleToBedrock",
            "Effect": "Allow",
            "Action": [
                "iam:PassRole"
            ],
            "Resource": "arn:aws:iam::*:role/*AmazonBedrock*",
            "Condition": {
                "StringEquals": {
                    "iam:PassedToService": [
                        "bedrock.amazonaws.com"
                    ]
                }
            }
        }
    ]
}
Model access

Request access to Anthropic models.

Note

Models might not be available in your zone. eu-west-3 is the preferred zone for requesting access.

...

Application parameters

As of 2024.3.0, the application configuration admin_config_family_mediacloud section must be filled (use dummy data)

...

Plugin PACKAGED_LLM

Using a Developper connected user, browse to plugin PACKAGED_LLM

...

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

...