runtime error
u are a helpful assistant.<|im_end|> ' }}{% endif %}{{'<|im_start|>' + message['role'] + ' ' + message['content'] + '<|im_end|>' + ' '}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant ' }}{% endif %} Using chat eos_token: <|im_end|> Using chat bos_token: <|endoftext|> /home/user/app/app.py:120: DeprecationWarning: Call to deprecated class method from_defaults. (ServiceContext is deprecated, please use `llama_index.settings.Settings` instead.) -- Deprecated since version 0.10.0. service_context = ServiceContext.from_defaults( Traceback (most recent call last): File "/home/user/app/app.py", line 126, in <module> index = VectorStoreIndex.from_documents(documents, service_context=service_context) File "/usr/local/lib/python3.10/site-packages/llama_index/core/indices/base.py", line 136, in from_documents docstore.set_document_hash(doc.get_doc_id(), doc.hash) AttributeError: 'str' object has no attribute 'get_doc_id' Exception ignored in: <function Llama.__del__ at 0x7f32ef0296c0> Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/llama_cpp/llama.py", line 1972, in __del__ File "/usr/local/lib/python3.10/site-packages/llama_cpp/llama.py", line 1969, in close File "/usr/local/lib/python3.10/contextlib.py", line 584, in close File "/usr/local/lib/python3.10/contextlib.py", line 576, in __exit__ File "/usr/local/lib/python3.10/contextlib.py", line 561, in __exit__ File "/usr/local/lib/python3.10/contextlib.py", line 340, in __exit__ File "/usr/local/lib/python3.10/site-packages/llama_cpp/_internals.py", line 65, in close File "/usr/local/lib/python3.10/contextlib.py", line 584, in close File "/usr/local/lib/python3.10/contextlib.py", line 576, in __exit__ File "/usr/local/lib/python3.10/contextlib.py", line 561, in __exit__ File "/usr/local/lib/python3.10/contextlib.py", line 449, in _exit_wrapper File "/usr/local/lib/python3.10/site-packages/llama_cpp/_internals.py", line 59, in free_model TypeError: 'NoneType' object is not callable
Container logs:
Fetching error logs...