bidhan/aimlkit
最新稳定版本:1.0.1
Composer 安装命令:
composer require bidhan/aimlkit
包简介
AI/ML Integration Kit for Laravel
README 文档
README
AI/ML Integration Kit for Laravel
REQUIREMENTS
- PHP >= 8.2
- Python >= 3 (with libraries: numpy, pandas, transformers, torch)
🚀 Installation
To install the package, follow these steps:
-
📦 Install the package using Composer:
composer require bidhan/aimlkit:dev-master
-
⚙️ Publish the configuration file:
php artisan vendor:publish --provider="Bidhan\AiMlKit\AiMlKitServiceProvider" --tag=config -
🐍 Set up a Python virtual environment:
python3 -m venv myenv source myenv/bin/activate -
🔧 Set the Python executable path:
Don't forget to add the Python path to your
aimlkit.phpconfiguration:PY_EXECUTABLE_PATH="YOUR/PYTHON/PATH"
Note: To copy the commands, you can click the clipboard icon next to each code block if you're viewing this on a platform that supports it, like GitHub.
📖 Usage
Here is an example of how to use the BidhanAIMLKIT to get sentiments:
use Bidhan\AiMlKit\BidhanAIMLKIT; $aimlkit = new BidhanAIMLKIT(); $sentiment = $aimlkit->getSentiments("ANY_STRING..."); print_r($sentiment);
👤 Authors
💡 PS*
Right now it is in the Development Phase and you are free to contribute 🙂
If you have any queries regarding this issue, feel free to reach out.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-10