Replies: 1 comment 1 reply
-
To retrieve the Here is the relevant code snippet: def _fetch_files(self, node_data: LLMNodeData, variable_pool: VariablePool) -> list[FileVar]:
"""
Fetch files
:param node_data: node data
:param variable_pool: variable pool
:return:
"""
if not node_data.vision.enabled:
return []
files = variable_pool.get_variable_value(['sys', SystemVariable.FILES.value])
if not files:
return []
return files To use this method, ensure that the Additionally, in the Dify platform, the |
Beta Was this translation helpful? Give feedback.
-
How to get sys.files through nodes?
Beta Was this translation helpful? Give feedback.
All reactions