Generate Edge
The Generate Edge aims to answer the query from the retrieved documents. This edge is useful when you need to generate your answers after the retrieving.

Generate Edge in Workflow
Once your own knowledge base has been retrieved, you can use the Generate
Edge to answer questions based on the retrieved content.
Inputs:
A query block: The text or structured query from user or workflow.
A document block: The indexed structured content (chunks with embedding vectors) or a text block.
Outputs:
The text or the structured text.
Configuration:
- Prompt Template: You can choose different prompt templates to suit your specific needs. For example, if you need to search for keywords in a document, you can choose the
Keyword Search
template. You can view the prompt under the dropdown menu. - Output type: You can choose the text or the structured text as output type.
- Settings: choose models or Base URL(optional)