dukens/openai-suggestions
Composer 安装命令:
composer require dukens/openai-suggestions
包简介
Use the OpenAI API together with Laravel Ignition to show AI-powered fixes for errors in sage/acorn.
README 文档
README
Use the OpenAI API together with Laravel Ignition's Suggestions to show AI-powered fixes for errors in your Sage/Acorn application.
Get started
First install OpenAI Suggestions via Composer. You'll probably want to install it as dev dependency:
composer require --dev dukens/openai-suggestions
Next, publish the configuration file:
wp acorn vendor:publish --provider="Dukens\OpenaiExceptions\OpenAiSolutionServiceProvider" --tag="config"
This will create a config/openai-suggestions.php configuration file in your project, which you can modify to your needs. All options are documented in the file, but the only one you need is your OpenAI API key, which you'll specify in your .env file:
OPENAI_API_KEY={YOUR KEY HERE}
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-21