runtime error
ser/.local/lib/python3.10/site-packages/docarray/array/any_array.py", line 22, in <module> from docarray.base_doc import BaseDoc File "/home/user/.local/lib/python3.10/site-packages/docarray/base_doc/__init__.py", line 1, in <module> from docarray.base_doc.any_doc import AnyDoc File "/home/user/.local/lib/python3.10/site-packages/docarray/base_doc/any_doc.py", line 3, in <module> from .doc import BaseDoc File "/home/user/.local/lib/python3.10/site-packages/docarray/base_doc/doc.py", line 22, in <module> from pydantic.main import ROOT_KEY ImportError: cannot import name 'ROOT_KEY' from 'pydantic.main' (/home/user/.local/lib/python3.10/site-packages/pydantic/main.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> whisper_chatbot = WhisperChatbot( File "/home/user/app/voice_chat.py", line 11, in __init__ super().__init__(**kwargs) File "/home/user/app/chatbot.py", line 23, in __init__ self._load_knowledge_base(self.knowledge_base_path) File "/home/user/app/chatbot.py", line 74, in _load_knowledge_base self.vector_store = DocArrayInMemorySearch.from_documents( File "/home/user/.local/lib/python3.10/site-packages/langchain_core/vectorstores.py", line 510, in from_documents return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/langchain_community/vectorstores/docarray/in_memory.py", line 68, in from_texts store = cls.from_params(embedding, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/langchain_community/vectorstores/docarray/in_memory.py", line 39, in from_params _check_docarray_import() File "/home/user/.local/lib/python3.10/site-packages/langchain_community/vectorstores/docarray/base.py", line 29, in _check_docarray_import raise ImportError( ImportError: Could not import docarray python package. Please install it with `pip install "langchain[docarray]"`.
Container logs:
Fetching error logs...