Find answers from the community

s
F
Y
a
P
Updated last month

Chat history

question - how can i get chat history from bot ?
L
a
6 comments
use the .chat_history attribute
Another question - has anything changeged in vector store . I see an error that was not there in 0.6.7
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.
What version do you have? There should be proper legacy support for indexes πŸ€”
that error should have been caught in a try/except
@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
Add a reply
Sign up and join the conversation on Discord