Product Selector

Fusion 5.12
    Fusion 5.12

    Configure Seldon vector search

    You can use Seldon models to vectorize text for Neural Hybrid Search.

    This feature is only available in Managed Fusion 5.9.5.

    Prerequisites

    To vectorize text with Seldon, you’ll first need to develop and deploy a machine learning model.

    Configure index pipeline

    1. Sign into Managed Fusion, go to Indexing > Index Pipelines, then select an existing pipeline or create a new one.

    2. Click Add a new pipeline stage, then select Seldon Vectorize Field.

    3. Fill in the required fields:

      1. Enter a Model ID. This is the name of the model you developed and deployed.

      2. Enter the Model Input Field. For example, text.

      3. Enter the Model Output Vector Field. For example, vector.

      4. Enter the Source Field. For example, body_t.

      5. Enter the Destination Field. For example, body_512_v.

    4. Click Save.

    5. Make sure the Seldon Vectorize Field stage is ordered before the Solr Indexer stage.

    Index data using the new pipeline. Confirm that your vector field is indexed by checking to see that the field is present in documents.

    Configure query pipeline

    1. Go to Querying > Query Pipelines, then select an existing pipeline.

    2. Click Add a new pipeline stage, then select Seldon Vectorize Query.

    3. Fill in the required fields, making sure to search against the field into which you indexed the vectors:

      1. Enter a Model ID. This is the name of the model you developed and deployed.

      2. Enter the Query Input.

      3. Enter the Model Input Field. For example, text.

      4. Enter the Model Output Vector Field. For example, vector.

      5. Enter the Vector Context Key. For example, vector.

    4. Click Save.

    5. Make sure the Seldon Vectorize Query stage is ordered before the Solr Query stage. See Reorder Query Pipeline Stages.

    Perform vector searches

    After setting up the stages, you can perform vector searches via the knn query parser as you would with Solr. Specify the search vector and include it in the query. For example, change the q parameter to a knn query parser string.

    The Seldon Vectorize Query stage will encode user queries using the specified model and modify the q parameter to use the knn query parser, turning the query into a vector search.