Laravel Related Content is a package that uses vector embeddings and PostgreSQL's pgvector extension to automatically discover semantically related content across different model types. Instead of real-time similarity searches, it pre-computes relationships at save time and stores them as database records, enabling fast (~5ms)

3m read time From laravel-news.com
Post cover image
Table of contents
# Main Features# Getting Started# Adding Related Content to Models# Retrieving Related Content# Cross-Model Relationships# Rebuilding Embeddings# Events

Sort: