mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-25 13:35:35 -04:00
Parameter Extraction #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LLMuser on GitHub (Aug 13, 2024).
Hi all,
there is a manual for parameter extraction:
https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/node/parameter-extractor.md
But I don´t get the workflow. Can someone explain or even can @AllenWriter share the workflow?
Cheers!
@dosubot[bot] commented on GitHub (Aug 13, 2024):
Hi @LLMuser, I'm here to help you with any questions or issues you have while waiting for a human maintainer. If you need assistance, feel free to ask!
The workflow for parameter extraction involves several key steps:
1. Definition
Use a Large Language Model (LLM) to infer and extract structured parameters from natural language for subsequent tool invocation or HTTP requests. The parameter extractor converts natural language into tool-recognizable parameters.
2. Scenarios
Extracting key parameters required by tools from natural language:
2405.10739Converting text to structured data:
Extracting structured data and using the HTTP Request:
3. How to Configure
Configuration Steps:
Advanced Settings:
Inference Mode:
Memory:
Output Variables:
__is_success Number: Extraction success status (1 for success, 0 for failure).__reason String: Extraction error reason.Example Workflow: Long Article Iteration Generator
sections, and the parameter type isArray[Object].Detailed Configuration Steps:
This example demonstrates how parameter extraction can be used to convert text into structured data, which is then processed iteratively to generate content for each chapter of a long story [1][2][3].
To continue talking to Dosu, mention @dosu.
@AllenWriter commented on GitHub (Aug 29, 2024):
Yes, how can I help you? To explain it in a more intuitive way, the parameter extraction node is used to convert natural language into structured content, such as JSON format content, to facilitate content processing in the next nodes.