
Description
This Node searches through data within the Knowledge AI solution, extracts a relevant answer via a generative AI model, and creates an output.Prerequisites
- Configure a model that supports Knowledge Search in the Knowledge AI Settings section in Manage > Settings.
Parameters
Mode
There are three modes that offer different levels of data extraction and presentation:- Search & Extract & Output
- Search & Extract
- Search Only
Performs a search, extracts an answer, and outputs the result as text or adaptive card.In the Search & Extract & Output mode, the following steps are involved:
- The system performs a knowledge search and retrieves relevant information.
- The retrieved data is sent to a Language Model (LLM) for further processing.
- The LLM extracts key points or answers from the search results, filtering out unnecessary details.
- The extracted information is stored in the Input or Context objects.
- The system automatically outputs the result from the LLM as either plain text or an adaptive card.
LLM Prompt Node, Answer Extraction, and Knowledge Search cases.Knowledge Store
Select a store from the list to allow the Node to retrieve the data.Search Settings
Search Settings
Extract Settings
Extract Settings
Output Settings
Output Settings
Error Handling
Error Handling
Custom Options
Custom Options
These options let you use parameters that aren’t included in the Search Extract Output Node or overwrite set configurations.
Forcing Model VersionsYou can force the Search Extract Output Node to use a specific model version by including it in the Custom Options.
This means that the Search Extract Output Node will use the specified version of the language model instead of the default or any other available version. This allows for more control over the behavior of the Search Extract Output Node, ensuring it uses the desired model version for generating prompts or responses.You can use models from any LLM provider supported by Cognigy, including those that aren’t yet directly integrated.
However, you can only replace a model with another from the same provider.Let’s consider an example with Anthropic:
You can force the Search Extract Output Node to use the model version
claude-opus-4-1-20250805, although the LLM resource defaults to the claude-opus-4-5-20251101 model:- Create an Anthropic LLM resource for Claude, for example,
claude-opus-4-5-20251101. - Create a Flow and add a Search Extract Output Node to it.
- In the Search Extract Output Node, select the model
claude-opus-4-5-20251101from the Large Language Model list. - In the Custom Model Options field, add
{ "model": "claude-opus-4-1-20250805" }to force the use of theclaude-opus-4-1-20250805model. - Click Save Node.
claude-opus-4-1-20250805 model.Below, you’ll find documentation for supported models: