WP Manifestindependent plugin directory
manifest / ai / ai-provider-for-bedrock

AI Provider for AWS Bedrock

Registers AWS Bedrock as a provider for the WordPress AI Client.

by 1815 · github.com/achttienvijftien/ai-provider-for-bedrock

0stars
1kcomposer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/achttienvijftien/ai-provider-for-bedrock/archive/refs/heads/main.zip

Also on Packagist as achttienvijftien/ai-provider-for-bedrock:

composer require achttienvijftien/ai-provider-for-bedrock

From the readme

AI Provider for AWS Bedrock Registers AWS Bedrock as a provider for the WordPress AI Client, so the AI features in WordPress 7.0 and the AI plugin can run on the models hosted in your own AWS account. Works as a WordPress plugin and as a Composer package. Requirements - PHP 8.3 or newer - WordPress 7.0 or newer, which bundles the AI Client - An AWS account with Bedrock model access in the region you configure Installation The package is a wordpress-plugin, so with composer/installers it lands in your plugins directory. Activate it and the provider registers itself. Configuration | Constant or environment variable | Required | Description | | --- | --- | --- | | AWSBEDROCKAPIKEY | yes | A long lived Bedrock API key, used as a bearer token. | | AWSBEDROCKREGION | no | The region to use, falling back to AWSDEFAULTREGION, then AWSREGION, then us-east-1. | The AI Client derives credentials from a constant named after the provider ID, so defining AWSBEDROCKAPIKEY is all that is needed. No registration code is required. Choosing a model Pin the model you want. Bedrock exposes dozens of models, and when nothing expresses a preference the AI Client selects the first one that sati

Read the full README on GitHub →