Find answers from the community

Updated 12 months ago

question - What is the best way to add

question - What is the best way to add additional properties to weaviate store. llama has default schema with 4 properties - text,ref_doc_id,node_info,relationships . What if I want to add additional properties that can be filtered later on ? How do I do that
L
a
15 comments
it definitely stores and filters on the metadata of the nodes (although not 100% sure how that works, but it's definitely being inserted and metadata filtering works)
thanks @Logan M I will take a look . Looks like additional_metadata is the place we can pass additional attributes , then ?
not sure how I pass that though ..let me take a look again and see
Like, additional attributes should go into the node metadata I think
Thanks @Logan - the filter on metadata works , weaviate auto schema converts additional metadata into properties
thanks for the pointer
@Logan M sorry I spoke too soon ..I get this error ValueError: Metadata filters not implemented for Weaviate yet. I am on 0.7.8
is the feature implemented in the later versions ?
It is! But uh, upgrading might be fun πŸ™‚

Maybe try 0.8.62 -- after that, upgrading will likely require some minor code changes
in 0.7.19 i think these are implemented
minor version upgrade ..so should be fine
Sounds good πŸ‘
Add a reply
Sign up and join the conversation on Discord