davor / embeddings
This package provides vector embeddings for inout text, and additional functionalities
dev-master
2025-02-21 06:49 UTC
Requires
- php: ^7.2|^8.0
- guzzlehttp/guzzle: ^6.3|^7.0.0
- intervention/image: ^2.5
- mongodb/laravel-mongodb: ^3.7|^3.9
- predis/predis: ^2.2
This package is not auto-updated.
Last update: 2025-03-07 07:05:07 UTC
README
For provided items, creates vectors using OpenAI embeddings API, and then performs contextual search using FAISS.
Instalation
Install package
composer require davor/embeddings
Publish config
php artisan vendor:publish --tag=config --provider="Hoks\Embeddings\EmbeddingsServiceProvider"
Set up config/embeddings.php
Run command to create python script in storage/app
php artisan create:python-script