Last updated
Last updated
Reverse Node Request refers to the plugin's ability to access certain nodes within Dify's Chatflow/Workflow applications.
The ParameterExtractor
and QuestionClassifier
nodes in Workflow
encapsulate complex Prompt and code logic that can accomplish many tasks that are difficult to solve with hard coding through LLM. Plugins can request these two nodes.
Entry:
Endpoint:
Where parameters
is the list of parameters to extract, model
follows the LLMModelConfig
specification, query
is the source text for parameter extraction, instruction
contains additional instructions for the LLM, and NodeResponse
structure can be referenced in the documentation.
If you want to extract a person's name from a conversation, refer to this code:
Entry:
Endpoint:
This endpoint's parameters are consistent with ParameterExtractor
, and the final result is stored in NodeResponse.outputs['class_name']
.