This Documentation is Being Deprecated
This page is being phased out as part of our documentation reorganization.
Click this card to be redirected to the updated version with the most current information.
If you notice any discrepancies or areas needing improvement in the new documentation, please use the “Report an issue” button at the bottom of the page.
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.
Request Parameter Extractor Node
Entry: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.
Example
If you want to extract a person’s name from a conversation, refer to this code:Request Question Classifier Node
Entry:ParameterExtractor, and the final result is stored in NodeResponse.outputs['class_name'].
Edit this page | Report an issue