Replies: 3 comments 6 replies
-
|
This is a known limitation in Dify — time-type metadata fields do not support variable selection in the knowledge retrieval node's manual filtering mode [1]. While string and number metadata types support dynamic variables via the Workaround: Store your date metadata as a string (e.g.,
This lets you dynamically filter documents where the date metadata is later than (or before) the current time at query time. To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
-
|
I am currently using time, and I need to convert everything into strings. However, if the string is "2025-06-10," I still can't compare the sizes. |
Beta Was this translation helpful? Give feedback.
-
|
Can the knowledge base pipeline include a metadata configuration step, automatically assigning metadata to the current document as the result of a specific code node after document upload? For example, if I input a document into the knowledge base pipeline and provide an expiration time, can it automatically set the metadata for this document, converting the expiration time into a timestamp? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
I am using Dify version 1.11.4. When setting the time format for metadata in the knowledge base document, I want to set the metadata filtering in the knowledge retrieval node to manual, with the metadata data being later than the dynamic current time. However, I can only set a fixed time. Is there any solution?
Beta Was this translation helpful? Give feedback.
All reactions