The Sentence Search
block is an efficient tool designed to process input text line-by-line and identify the lines that are most relevant to a specified search query. This feature allows users to quickly retrieve important information from large text bodies without the need for manual reading.
I/O | Feature | Type | Simple Explanation |
---|---|---|---|
input | text | string | The larger body of text where the block will perform its search for the given query. |
input | query | string | The phrase or keyword you wish to find within the provided text. |
input | num_results | number | Specifies the maximum number of search results to return; defaults to 5 if not defined. |
output | search_result | string | Returns lines from the input text that closely match your specified query. |
Here are some scenarios where this block can be particularly useful:
In summary, whenever there’s a need for quick and effective extraction of relevant information based on defined criteria, look no further than the Sentence Search
block!