In this lesson, I demonstrate how to enhance our Chat class by installing the openai-php/laravel package, which offers a cleaner way to handle API requests. We will then create an Artisan command to interact with OpenAI, allowing for a conversational chat directly from the terminal.
Watch The Full Series now on Laracasts: laracasts.com/...
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: laracasts.com
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way
Негізгі бет Fun With OpenAI and Laravel, Ep 03 - Chat with AI From the Command Line
No video
Пікірлер: 6