Skip to content
/ ai Public

🤖 The simplest way to add AI to your Laravel app, using OpenAI or Gemini.

License

Notifications You must be signed in to change notification settings

nexxtmove/ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nexxtmove Laravel AI

The simplest way to add AI to your Laravel app, using OpenAI or Gemini.

$fruits = AI::ask('Give me a JSON array with three fruits');

1. Install

composer require nexxtmove/ai

2. Add your API key to .env

AI_DRIVER=openai
OPENAI_API_KEY=sk-...

3. Ask questions

use Nexxtmove\AI;

$summary = AI::ask("Summarize this article: {$article}");

That's it!

Want to read more? Check out the guide.

About

🤖 The simplest way to add AI to your Laravel app, using OpenAI or Gemini.

Resources

License

Stars

Watchers

Forks

Languages