theodo-group / LLPhant

LLPhant - A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain
MIT License
663 stars 62 forks source link

[Feature] - Add ChromaDB support for Vector Storage #88

Open ErroneousBosch opened 4 months ago

ErroneousBosch commented 4 months ago

ChromaDB is seeing growing use for vector storage, especially for self-hosted. It would be nice to see an integrated option to use it. It unfortunately only has Python and JS clients: https://docs.trychroma.com/reference/Client

There is a package for PHP for using it already, which could in theory be used already: https://github.com/CodeWithKyrian/chromadb-php

MaximeThoonsen commented 2 months ago

hey @ErroneousBosch, Good idea ! Do you want to submit a PR?

f-lombardo commented 4 weeks ago

Hey @MaximeThoonsen , I'd like to try to create an integration with ChromaDB. Do you think that adding a dependency to odewithkyrian/chromadb-php would be OK?

MaximeThoonsen commented 4 weeks ago

hey @f-lombardo , For now I add this kind of specific dependencies in the "suggest" section. So we can keep it light and avoid a dependencies hell. Sounds good to you?

f-lombardo commented 3 weeks ago

It seems a good option, let's try