Get all passages

Description

This Step template allows retrieving all passages from the OneReach LookUp collection. You can customize your search with optional pagination and query parameters.

Authorization

You have two options for authorization:

  1. Inherit from previous Flow (chosen by default)
  2. Manual token (you can manually enter the token)

Parameters

Collection ID: the ID of the existing LookUp collection from which you want to retrieve documents. This field is required and is empty by default.

Advanced settings

  • Alpha: determines the weight between sparse and vector search. 0 is pure sparse (search by name or description); 1 is pure vector (search by content). This field is not required and the default value is 0.
  • Query: your search query. If it's empty, all documents from the collection will be displayed. This field is not required and is empty by default.
  • Limit: the maximum number of passages to retrieve (page size). This field is required and the default value is 10.
  • Offset: determines how many passages will be skipped from the search result. This field is required and the default value is 0.

Merge field settings

The content is returned at the requested URL. The returned data is an object.

Error handling

This is a checkbox field that is selected by default. If you deselect the checkbox, there won't be a log with an error leg. The Flow will proceed down this exit if an error occurred during the Step execution.

Timeout handling

Timeout is handled as a separate leg with a default value of 30 seconds. You can set up the timeout duration between 10 seconds and 30 minutes.

Reporting

This is a Step event.