Use this application to demo the pgvector engine for Laravel Scout.
The application includes database seeders containing 500 reviews from the Amazon Fine Food Reviews dataset along with their corresponding embeddings. The demo show's how these embeddings can be used to find related reviews or sort the reivew index by their similarity to various concepts.
composer install && npm install && npm run build
php artisan migrate --seed
php artisan serve
Visit the application in your browser at http://localhost:8000/reviews.
OPENAI_API_KEY=your-api-key