This Statamic package utilizing OpenAI's text generation technology GPT allows for the generation of high-quality, human-like content within the Statamic Bard fieldtype. This integration streamlines the content creation process, saving users time and effort while still delivering professional and engaging results.
Install π§
- Install the addon using
composer require zsoltjanes/statamic-bard-openai - Publish the addon blueprints:
php artisan vendor:publish --tag=statamic-bard-openai-blueprints - In the Statamic Control Panel create/edit the Globals set with handle
statamic_bard_openainamedBard AI Writer. - Get your π OpenAI API key: https://platform.openai.com/api-keys
- Set your OpenAI settings in that Globals set (API key, organization, model (selectable models can be found here: https://platform.openai.com/docs/models), temperature, max output tokens).
- Edit
presetsto add/remove prompt types. - Enjoy! π
Upgrade guide from v1.0.3
This addon no longer uses a config file. All settings must be stored in Statamic Globals.
- Publish the addon blueprints:
php artisan vendor:publish --tag=statamic-bard-openai-blueprints - In the Statamic Control Panel create/edit the Globals set with handle
statamic_bard_openai. - Move your settings into that Globals set:
api_keyorganization(optional)modeltemperaturemax_output_tokenspresets(grid, can be extended with new prompt types; modes: replace/append/prepend)
Feature request, Bug, issues report π
Please do not hesitate to reach out to us if you require additional features. If you experience any bugs or problems, kindly report them to us: email
License π
This addon must be licensed for use on a live website. You can acquire a license at https://statamic.com/addons/zsoltjanes/ai-writer-for-bard. However, during the development process on your local machine, you can utilize Statamic Bard AI Writer without a license.