langchain-php icon indicating copy to clipboard operation
langchain-php copied to clipboard

[Question]: Do we need SQLite

Open dilab opened this issue 2 years ago • 6 comments

What happened?

Do we need SQLite in order to use the vector store?

How to reproduce the bug

Do we need SQLite in order to use the vector store?

Package Version

master

PHP Version

8.1

Which operating systems does with happen with?

macOS

Notes

No response

dilab avatar May 03 '23 13:05 dilab

Hi @dilab, at the moment, the only supported option is SimpleStupidVectorStore, which is a basic out-of-the-box VectorStore based on SQLite, mainly for prototyping purposes. I do plan on supporting other vector stores, such as Chroma, Redis, OpenSearch, etc., as well as developing a flexible PHP specific PDO store. Although I cannot guarantee that I will implement your personal preference, I am interested in hearing your thoughts.

kambo-1st avatar May 04 '23 19:05 kambo-1st

I think developing AI using PHP is pretty new in the space. You are on to something with potential. I am interested in assisting.

dilab avatar May 05 '23 02:05 dilab

@kambo-1st I actually mention this repo in my AI with Laravel course (it's generally applicable to AI with PHP in general though). 😊

I'd love to start contributing next week to make the Langchain PHP package really shine, starting with a Pinecone store and a PDF loader for example.

nik-418 avatar May 07 '23 11:05 nik-418

@nik-418 That would be great! I'd appreciate some help. Pinecode and PDF Loader can be good starting points.

kambo-1st avatar May 08 '23 06:05 kambo-1st

I am very interested in this.

ryantxr avatar Aug 17 '23 21:08 ryantxr

@kambo-1st I actually mention this repo in my AI with Laravel course (it's generally applicable to AI with PHP in general though). 😊

I'd love to start contributing next week to make the Langchain PHP package really shine, starting with a Pinecone store and a PDF loader for example.

How is the Pinecone store coming?

gdnault avatar Nov 15 '23 21:11 gdnault