Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

dragonofmercy/custom-ai-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom AI Solution for Spatie Ignition

With this package you can use your custom AI service for Spatie Ignition Error Solution

Installation

composer require dragonofmercy/custom-ai-solution --dev

Register solution provider in Ignition

Open ignition.php in your Config directory.
Just add \Dragon\CustomAi\CustomAiSolutionProvider::class in the solution_providers array.

'solution_providers' => [
    ...
    UnknownMysql8CollationSolutionProvider::class,
    UnknownMariadbCollationSolutionProvider::class,
    \Dragon\CustomAi\CustomAiSolutionProvider::class
],

Configure your service

Just update your .env

ES_CUSTOMAI_ENDPOINT=https://api.groq.com/openai/v1
ES_CUSTOMAI_API_KEY={your-api-key}
ES_CUSTOMAI_MODEL=qwen-qwq-32b

My personal recommandation:
Use https://groq.com/ service, you will have a lot of free tokens by daily and a lot of available models.


If this project help to increase your productivity, you can give me a cup of coffee :)

Donate

About

Use your custom AI service for Spatie Ignition Error Solution

Topics

Resources

License

Stars

Watchers

Forks

Languages