mateffy / llm-magic-ui
Ready-made Livewire components for use with mateffy/llm-magic.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- illuminate/collections: *
- livewire/livewire: ^3.5
- mateffy/llm-magic: dev-main
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.