The post asks how to get chat history from a bot. Community members suggest using the .chat_history attribute. Another community member raises an issue with changes in the vector store, encountering an error that was not present in version 0.6.7. The error is related to the metadata dictionary not containing the node content. Community members discuss the issue, with one suggesting that the error should have been caught in a try/except block. Another community member notes that the issue was due to the index being built using version 0.6.7, and that the error is not present with newer indexes.
Traceback (most recent call last): File "/Users/ashish/opt/anaconda3/envs/LLMTools/lib/python3.9/site-packages/llama_index/vector_stores/weaviate_utils.py", line 122, in to_node node = metadata_dict_to_node(entry) File "/Users/ashish/opt/anaconda3/envs/LLMTools/lib/python3.9/site-packages/llama_index/vector_stores/utils.py", line 61, in metadata_dict_to_node raise ValueError("Node content not found in metadata dict.") ValueError: Node content not found in metadata dict.
@Logan M , sorry my fault . The reason is the index was built using 0.6.7 so it was falling back to the old structure..:) With newer index I dont see that error