AWS Sagemaker is a powerful platform to both train and run Machine Learning models. This package allows you to easily integrate Sagemaker endpoints into your Laravel 8+ Applications.
You can install the package via composer:
composer require theplan/laravel-sagemaker
You can publish the config file with:
php artisan vendor:publish --tag="laravel-sagemaker-config"
This is the contents of the published config file:
return [
];
$result = LaravelSagemaker::make()->forEndpoint('my-endpoint-name')
->body($body)
->async()
->contentType('application/json')
->invoke();
echo $result->get('predictions');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.