mateffy/llm-magic-ui 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mateffy/llm-magic-ui

最新稳定版本:0.0.7

Composer 安装命令:

composer require mateffy/llm-magic-ui

包简介

Ready-made Livewire components for use with mateffy/llm-magic.

README 文档

README

Note

This project is still in development and not yet publicly released.

Ready-made Livewire components for use with mateffy/llm-magic.

use Mateffy\Magic\Chat\HasChat;
use Mateffy\Magic\Chat\InteractsWithChat;
use Mateffy\Magic\Chat\Tool;

class MyChatComponent extends Component implements HasChat
{
    use InteractsWithChat;
    
    protected static function getTools() : array
    {
        return [
            Tool::make('search')
                ->callback(function (string $query) {
                    return Article::where('title', 'like', "%$query%")
                        ->limit(5)
                        ->get();
                })
                ->widget(ViewToolWidget::view('components.search-results')),
        ];
    }
}

Copyright and License

This project is made by Lukas Mateffy and is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

For commercial licensing, please drop me an email at hey@mateffy.me.

Contributing

At the moment, this project is not yet open for contributions, as I am in the process of writing a thesis about it. After that is done, and the published version is tagged, I may open it up for contributions, if there is interest.

However, if you have ideas, bugs or suggestions, feel free to open an issue or start a discussion anyway! Feedback is always welcome.

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: AGPL-3.0-only
  • 更新时间: 2025-02-07