Toloka documentation

SearchQueryHelperV1

toloka.client.project.template_builder.helpers.SearchQueryHelperV1 | Source code

SearchQueryHelperV1(
    self,
    query: Optional[Any] = None,
    engine: Optional[Union[BaseComponent, Engine]] = None,
    *,
    version: Optional[str] = '1.0.0'
)

Component for creating a string with a search query reference.

The list of available search engines is specified in the engine enum.

Parameters Description

Parameters Type Description
query Optional[Any]

Search query.

engine Optional[Union[BaseComponent, Engine]]

Search engine.