HelgeSverre / mindwave

[WIP] 🧠 Toolkit for building AI features into your Laravel app.
https://mindwave.no
MIT License
67 stars 8 forks source link

[FR] Redis Vectorstore Driver #5

Open HelgeSverre opened 1 year ago

HelgeSverre commented 1 year ago

I believe Redis can be used as a vectorstore.

https://redis.io/docs/stack/search/indexing_json/

HelgeSverre commented 11 months ago

High priority if it works as i expect

HelgeSverre commented 11 months ago

https://redis.io/docs/interact/search-and-query/search/vectors/#structured-data-searches-with-redis

HelgeSverre commented 11 months ago

https://github.com/ethanhann/redisearch-php

HelgeSverre commented 11 months ago

https://www.ethanhann.com/redisearch-php/laravel-support/

Maybe we can simply not do "vector stores" and just support whatever laravel scout supports, then add an interface the eloquent model needs to have to get the textual content from the database or something.

That would greatly simplify the package and the work that has to be done to get something working for real-world use-cases.