5am-code/ada-laravel

This package allows you to enhance your Laravel applications by seamlessly integrating word embeddings.

32
/ 100
Emerging

Provides semantic search and RAG (retrieval-augmented generation) capabilities by storing embeddings in PostgreSQL's pgvector extension and using nearest-neighbor similarity to retrieve relevant context before querying OpenAI's API. Built as a Laravel trait-based system, it integrates directly with Eloquent models through the `HasEmbeddings` trait, supporting customizable prompts and pluggable embedding engines via the `Index` interface.

104 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 9 / 25
Maturity 9 / 25
Community 12 / 25

How are scores calculated?

Stars

104

Forks

10

Language

PHP

License

MIT

Last pushed

Jun 18, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/5am-code/ada-laravel"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.