Runner
runner functions and classes
The Runner class holds plugin functions for each step and executes the embedding search.
Runner
Runner (data_plugin:Callable[[List[emb_opt.schemas.Query]],List[emb_opt.s chemas.DataSourceResponse]], filter_plugin:Optional[Callable[[Lis t[emb_opt.schemas.Item]],List[emb_opt.schemas.FilterResponse]]], score_plugin:Callable[[List[emb_opt.schemas.Item]],List[emb_opt.s chemas.ScoreResponse]], prune_plugin:Optional[Callable[[List[emb_ opt.schemas.Query]],List[emb_opt.schemas.PruneResponse]]], update _plugin:Callable[[List[emb_opt.schemas.Query]],List[emb_opt.schem as.UpdateResponse]])
Initialize self. See help(type(self)) for accurate signature.
| Type | Details | |
|---|---|---|
| data_plugin | typing.Callable[[typing.List[emb_opt.schemas.Query]], typing.List[emb_opt.schemas.DataSourceResponse]] | data source function |
| filter_plugin | typing.Optional[typing.Callable[[typing.List[emb_opt.schemas.Item]], typing.List[emb_opt.schemas.FilterResponse]]] | optional filter function |
| score_plugin | typing.Callable[[typing.List[emb_opt.schemas.Item]], typing.List[emb_opt.schemas.ScoreResponse]] | score function |
| prune_plugin | typing.Optional[typing.Callable[[typing.List[emb_opt.schemas.Query]], typing.List[emb_opt.schemas.PruneResponse]]] | optional prune function |
| update_plugin | typing.Callable[[typing.List[emb_opt.schemas.Query]], typing.List[emb_opt.schemas.UpdateResponse]] | update function |