Query and Prompt Classification
Last updated
Last updated
Search Flows allow you to classify queries and prompts from users. You can then use this to select the right search algorithm or AI model to use.
Aiimi Insight Eninge provides a few classification models out of the box, such as 'Is A Question'. However, you can add custom models.
Classification models return a value or a label that contains the 'classification'. For example, 'Is A Question' will return 'true' or 'false' and uses this to select the right algorithm or model.
Classification is optional and defaults to the first defined search step if not used.
Note, the 'false' and 'true' step names and how these map to the values that the classification step returns.