Hugging Face's logo
yanli01
/
Runtime error

runtime error

/__init__.py", line 4, in <module> from llama_index.indices.keyword_table.base import GPTKeywordTableIndex File "/home/user/.local/lib/python3.10/site-packages/llama_index/indices/keyword_table/base.py", line 17, in <module> from llama_index.indices.base import BaseGPTIndex, QueryMap File "/home/user/.local/lib/python3.10/site-packages/llama_index/indices/base.py", line 11, in <module> from llama_index.indices.query.base import BaseGPTIndexQuery File "/home/user/.local/lib/python3.10/site-packages/llama_index/indices/query/base.py", line 21, in <module> from llama_index.indices.postprocessor.node import ( File "/home/user/.local/lib/python3.10/site-packages/llama_index/indices/postprocessor/__init__.py", line 5, in <module> from llama_index.indices.postprocessor.node import ( File "/home/user/.local/lib/python3.10/site-packages/llama_index/indices/postprocessor/node.py", line 11, in <module> from llama_index.indices.service_context import ServiceContext File "/home/user/.local/lib/python3.10/site-packages/llama_index/indices/service_context.py", line 6, in <module> from llama_index.indices.prompt_helper import PromptHelper File "/home/user/.local/lib/python3.10/site-packages/llama_index/indices/prompt_helper.py", line 12, in <module> from llama_index.langchain_helpers.chain_wrapper import LLMPredictor File "/home/user/.local/lib/python3.10/site-packages/llama_index/langchain_helpers/chain_wrapper.py", line 6, in <module> from llama_index.llm_predictor.base import ( # noqa: F401 File "/home/user/.local/lib/python3.10/site-packages/llama_index/llm_predictor/__init__.py", line 4, in <module> from llama_index.llm_predictor.base import LLMPredictor File "/home/user/.local/lib/python3.10/site-packages/llama_index/llm_predictor/base.py", line 12, in <module> from langchain.schema import BaseLanguageModel ImportError: cannot import name 'BaseLanguageModel' from 'langchain.schema' (/home/user/.local/lib/python3.10/site-packages/langchain/schema/__init__.py)

Container logs:

Fetching error logs...