Download the PHP package adrianmtanase/laravel-vector-store without Composer
On this page you can find all versions of the php package adrianmtanase/laravel-vector-store. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adrianmtanase/laravel-vector-store
More information about adrianmtanase/laravel-vector-store
Files in adrianmtanase/laravel-vector-store
Package laravel-vector-store
Short Description Vector store abstraction layer for the Laravel framework.
License MIT
Homepage https://github.com/adrianmtanase/laravel-vector-store
Informations about the package laravel-vector-store
Vector database store for Laravel
This package provides an implementation of multiple vector databases (e.g. Pinecone.io).
Support us
If this helped you, consider supporting my development over on Patreon or on Github.
Installation
Requires PHP ^8.1
Currently supports
Plans to implement
- MySql - once it's ready
❗ If you're coming from version 0.0.25 ❗
- Coming from version
0.0.25
you'll have to re-publish the config, as the Pinecone environment variable has been replaced withpinecone_host
Usage
Using the VectorStore
facade, you can easily access any provider and execute operations.
The default provider is Pinecone.io
, this can be easily switched using the facade VectorStore::provider(VectorStoreProviderType::PINECONE)
, or directly in the vector-store
config.
Weaviate
As Weaviate runs through GraphQL, the query language is complex. There are several useful methods in WeaviateQueryRequest
that will help you query data more efficiently. For example:
As the system is complex, the package also supports a rawQuery
form, or even getting access to the underlying client.
Weaviate raw query
Underlying Weaviate client
All versions of laravel-vector-store with dependencies
probots-io/pinecone-php Version ^1.0.1
spatie/laravel-package-tools Version ^1.14.0
timkley/weaviate-php Version 0.6.2