infofactory/bard-multiprompt-ai 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

infofactory/bard-multiprompt-ai

Composer 安装命令:

composer require infofactory/bard-multiprompt-ai

包简介

A Statamic addon that adds AI functionalities to the Bard editor

README 文档

README

Bard Multiprompt AI is a Statamic addon that adds AI functionalities to the Bard editor.

Features

This addon lets you:

  • Create custom prompts tailored to your needs
  • Choose different models for each prompt
  • Adjust and tweak settings to get the best result
  • Replace or append the generated text directly in the editor
  • Add variables to your prompt

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require infofactory/bard-multiprompt-ai

How to Use

This addon under the hood uses PrismPHP.

Providers are configured following Laravel's environment configuration best practices:

  1. Each provider's configuration pulls values from environment variables
  2. Default values are provided as fallbacks
  3. Environment variables follow a predictable naming pattern:
  • API keys: PROVIDER_API_KEY
  • URLs: PROVIDER_URL
  • Other settings: PROVIDER_SETTING_NAME

You can check which providers are supported and how to configure them following Prism's documentation.

If a Provider you're looking for is not yet supported you can always extend Prism with a Custom Provider.

Variables

Variables are placeholders that will be replaced with actual values from the editor content. You can add variables to your prompt by using the :variable syntax.

Author

This addon has been developed by developers at infoFactory.

License

"Bard Multiprompt AI" is paid software with a source-available codebase. If you want to use it, you’ll need to buy a license from the Statamic Marketplace. The license is valid for only one project.

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2025-02-07