Find answers from the community

s
F
Y
a
P
Updated last month

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