Query Classification Step

This step can classify a users query and use this classification to select a search step.

You will need to know the 'label' that a classification step returns and then use this label as the search step name.

Example:

If you use the 'Is A Question' classifier, that returns 'true' or 'false' to indicate whether a query looks like a question. You would create two search steps, one true and one false, and have them use the appropriate search algorithms (maybe the QA semantic model for true).

  1. Enable a Query Classification Step - Select the toggle to enabled to turn this on.

  2. AI Model Service - Select the Model Service to be used from the dropdown.

  3. AI Model Provider - Select the provider to be used from the dropdown.

    • Providers will be classifiers, and out of the box there will be the Huggingface Classifier.

  4. Model - Select the model to be used for this Search Flow.