Find answers from the community

Updated last year

How can I rank my retrieved documents

How can I rank my retrieved documents (from weaviate) by date (date is stored as a property in weaviate with each doc)
L
b
3 comments
How do I specify the name of the weaviate property to the fixedrecencypostprocessor? Does it only work if the field is called “date”? Also I’m not passing in documents, I’m using an existing weaviatev vector store
That's fine, the node post processor works on nodes once they are retrieved

There is a date_key kwarg in the init that you can set to match whichever metadat field your date is stored in
Add a reply
Sign up and join the conversation on Discord