Find answers from the community

Updated 2 months ago

Hi. I'm implementing my own VectorStore

Hi. I'm implementing my own VectorStore. I’m currently implementing the BasePydanticVectorStore and I’m wondering why this class has to be a Pydantic model rather than a simple Python class? Context: I’d like to pass a non-serializable object as attribute to the class when instantiating it
L
2 comments
You can still pass in non-serializable objects just fine
Every vector store has some non-serialzable aspects, like clients
Add a reply
Sign up and join the conversation on Discord