All notable changes to laravel-chatbot
will be documented in this file.
- V1.2.0 by @halilcosdu in #11
Full Changelog: https://github.com/halilcosdu/laravel-chatbot/compare/v1.2.0...v1.2.1
- Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 by @dependabot in #10
Full Changelog: https://github.com/halilcosdu/laravel-chatbot/compare/v1.1.0...v1.2.0
- Add raw data support for user-defined custom logic. by @halilcosdu in #8
- @halilcosdu made their first contribution in #8
Full Changelog: https://github.com/halilcosdu/laravel-chatbot/compare/v1.0.4...v1.1.0
Subject limited 10 words.
Full Changelog: https://github.com/halilcosdu/laravel-chatbot/compare/v1.0.3...v1.0.4
OpenAI Assistant header added.
v1.0.2, includes the following updates:
-
The
ChatBotService
now has dependency injection for theClient
class. This allows the service to use theClient
instance that is registered in the Laravel service container, improving the structure and maintainability of the code. -
The
ChatBotServiceProvider
has been updated to bind theClient
class to the Laravel service container. This ensures that whenever theClient
class is type-hinted in theChatBotService
, Laravel's service container will automatically inject the instance that was registered in the service provider.
These changes improve the overall structure of the code and make it easier to manage dependencies within the ChatBotService
.
- Fixed the issue with the
$this
variable in test functions in Pest PHP. ThebeforeEach
function now assignschatBotService
andchatBot
to$this
. Then, in the tests, you can use$this->chatBotService
and$this->chatBot
to access these instances.
- Updated the
ChatBotTest.php
file to use thebeforeEach
function to return an array of variables that you want to use in your tests.
- Improved the test functions in
ChatBotTest.php
to use$this->chatBotService
and$this->chatBot
to access these instances.
- No known issues at this time.
- This version is fully compatible with the previous version. You can upgrade to this version without any issues.
Please refer to the project documentation for more detailed information about this release.
This package, laravel-chatbot
, provides a robust and easy-to-use solution for integrating AI chatbots into your Laravel applications. Leveraging the power of OpenAI, it allows you to create, manage, and interact with chat threads directly from your Laravel application. Whether you're building a customer service chatbot or an interactive AI assistant, laravel-chatbot
offers a streamlined, Laravel-friendly interface to the OpenAI API.