Is document metadata used in recall and reflect queries? #422
-
eg: If I am ingesting documents with metadata like below, Can I get all the memories that have area_path organisation ? Is there a plan to support an API like listMemories that can give me all the memories based on a filter criteria ?
eg: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi
|
Beta Was this translation helpful? Give feedback.
Hi
Metadata are not used for filtering, they are only returned along with the memory during recall to give your client application structured context - https://hindsight.vectorize.io/developer/api/retain#metadata
In order to do "metadata filtering", you must use Tags which provides document filtering and isolation.
No, document metadata are purely static data used for convenience and context enrichment during the recall. Links are generated by LLMs which, at the moment, doesn't have visibility on them (which now I'm realizing could be helpful and might be a good improvement)