Open HanJu-Chen opened 1 month ago
Do you have more of the stack trace?
self.ddl_collection
is initialized here:
Are you possibly not calling the constructor? What does your MyVanna
object setup look like?
Do you have more of the stack trace?
self.ddl_collection
is initialized here:Are you possibly not calling the constructor? What does your
MyVanna
object setup look like?
That's correcectly, I made a mistake on MyVanna setup. It's not a problem. Thanks for the heads-up.
A strange questions, when I run the code on vn.train(dll). This error was returned.
It happended on chromadb_vector.py def add_ddl(self, ddl: str, **kwargs) -> str: id = deterministic_uuid(ddl) + "-ddl" self.ddl_collection.add( documents=ddl, embeddings=self.generate_embedding(ddl), ids=id, ) return id
Does this problem have anything to do with the value of my ddl?