Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/capevace/llm-magic-ui
Ready-made Livewire components for use with mateffy/llm-magic.
https://github.com/capevace/llm-magic-ui
chatbot generative-ai laravel livewire llm tool-calling
Last synced: 5 days ago
JSON representation
Ready-made Livewire components for use with mateffy/llm-magic.
- Host: GitHub
- URL: https://github.com/capevace/llm-magic-ui
- Owner: Capevace
- License: agpl-3.0
- Created: 2025-02-07T00:09:47.000Z (6 days ago)
- Default Branch: main
- Last Pushed: 2025-02-07T00:36:30.000Z (6 days ago)
- Last Synced: 2025-02-07T00:36:46.226Z (6 days ago)
- Topics: chatbot, generative-ai, laravel, livewire, llm, tool-calling
- Language: PHP
- Homepage: https://github.com/capevace/llm-magic
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `@mateffy/llm-magic-ui`
> [!NOTE]
> This project is still in development and not yet publicly released.Ready-made Livewire components for use with [mateffy/llm-magic](https://github.com/capevace/llm-magic).
```php
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](https://mateffy.me) and is licensed under the [GNU Affero General Public License v3.0 (AGPL-3.0)](https://choosealicense.com/licenses/agpl-3.0/).
For commercial licensing, please drop me an email at [[email protected]](mailto:[email protected]).
### 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.