Download the PHP package laravelailabs/file-assistant without Composer
On this page you can find all versions of the php package laravelailabs/file-assistant. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravelailabs/file-assistant
More information about laravelailabs/file-assistant
Files in laravelailabs/file-assistant
Package file-assistant
Short Description Chat with files using AI
License MIT
Homepage https://github.com/laravelailabs/file-assistant
Informations about the package file-assistant
Laravel AI File Assistant
Analyzes files based on AI and offers the possibility to query them.
Support us
If this helped you, consider supporting my development over on Patreon or on Github.
Demo
Repository: LaravelAILabs/file-assistant-demo
URL: https://file-assistant.laravelailabs.com
Installation
You can install the package via composer:
You can publish the config file with:
Setup
Currently using Pinecone.io as the vector database and OpenAI as the LLM. Planning to make it so any LLM can be used, as well as any Vector Database implemented in Laravel Vector Store.
Add the following secrets to your .env
:
You can find your OpenAI API Key here.
Usage
1. Start a new conversation
2. Resume a conversation
3. Grab messages and display
The package creates 3 tables: conversations
, messages
, files
, conversation_files
. Feel free to modify their names using the file-assistant config environment variables. Use the models to interact with the database and display the messages of a conversation.
Works with
- Word
- TXT
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Adrian Tanase
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of file-assistant with dependencies
adrianmtanase/laravel-vector-store Version ^0.0.24
illuminate/contracts Version ^10.0
illuminate/filesystem Version *
openai-php/client Version ^0.8.2
phpoffice/phpword Version ^1.2
smalot/pdfparser Version ^2.8
spatie/laravel-package-tools Version ^1.14.0