vanna-ai/notebooks

snowflake-openai-vanna-chromadb.ipynb: Can't instantiate abstract class MyVanna

davesgonechina opened this issue · 4 comments

Running step 3 in VS Code:

class MyVanna(ChromaDB_VectorStore):
    def __init__(self, config=None):
        ChromaDB_VectorStore.__init__(self, config=config)

vn = MyVanna()

Returns:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Input In [3], in <cell line: 5>()
      2     def __init__(self, config=None):
      3         ChromaDB_VectorStore.__init__(self, config=config)
----> 5 vn = MyVanna()

TypeError: Can't instantiate abstract class MyVanna with abstract methods assistant_message, submit_prompt, system_message, user_message

I am facing the same issue
image

This particular notebook needs to be deleted because it's actually not a valid combination.