Download the PHP package vormkracht10/laravel-embeddings without Composer
On this page you can find all versions of the php package vormkracht10/laravel-embeddings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vormkracht10/laravel-embeddings
More information about vormkracht10/laravel-embeddings
Files in vormkracht10/laravel-embeddings
Package laravel-embeddings
Short Description Create embeddings for your Eloquent models to use with OpenAI
License MIT
Homepage https://github.com/vormkracht10/laravel-embeddings
Informations about the package laravel-embeddings
Create embeddings for your Eloquent models to use with OpenAI
OpenAI's text embeddings measure the relatedness of text strings. Using this package you can save embeddings automatically for your Eloquent model in a PostgreSQL vector database. To use the embeddings in your AI requests to the OpenAI API endpoints.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Fill in the following env variables
Usage
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Vormkracht10
- All Contributors
License
The MIT License (MIT). Please see License File for more information.