Skip to content

dukenst2006/openai-suggestions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI powered fixes for wordpress Sage/Acorn errors

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}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published