Run a Search

Time to test your pipeline!

For each search result, there is a relevance score telling you how confident the model is about this answer. To learn more about these scores, see Relevance Scores.

Prerequisites

Run a Search from the UI

  1. Log in to deepset Cloud.
  2. Click Search.
  3. Select the pipeline and filters that you want to use.
    Note: Filters are available only if the files have metadata. You can add metadata to your files when you're uploading them. These metadata then act as filters during the search.
  4. Ask a question and click Search.

Run a Search through REST API

  1. Go to the Search documentation page.
  2. Enter the necessary parameters:
    • Type the name of the pipeline to use for the search.
    • Type the name of the workspace containing the pipeline you want to use in your target app.
    • Optionally, add filters. (You can use metadata from your documents as filters to narrow down the search. For more information, see Add Search Filters.)
    • Type the queries.
    • In the Bearer field, paste the API key you previously generated.
  3. Choose the programing language that you want to use and copy the code.

See also Use Your Pipeline in Your Target App and Productionizing Your Pipeline.

What's Next

You can open or download each document containing the answer. To do that, hover over the three dots icon next to the document name.

You can also give feedback for each answer. Use the thumbs-up and thumbs-down icons. This way, you can let the pipeline creator know how the pipeline's doing.

As the pipeline creator, you can then analyze the feedback on the Pipeline Details page. Click the pipeline name to open it.