BaseSelector
Defined in: .build/typescript/packages/llamaindex/src/selectors/base.ts:26
Extends
Section titled “Extends”PromptMixin
Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BaseSelector():
BaseSelector
Returns
Section titled “Returns”BaseSelector
Inherited from
Section titled “Inherited from”PromptMixin.constructor
Methods
Section titled “Methods”select()
Section titled “select()”select(
choices
,query
):Promise
<SelectorResult
>
Defined in: .build/typescript/packages/llamaindex/src/selectors/base.ts:27
Parameters
Section titled “Parameters”choices
Section titled “choices”MetadataType
[]
QueryType
Returns
Section titled “Returns”Promise
<SelectorResult
>
_select()
Section titled “_select()”
abstract
_select(choices
,query
):Promise
<SelectorResult
>
Defined in: .build/typescript/packages/llamaindex/src/selectors/base.ts:32
Parameters
Section titled “Parameters”choices
Section titled “choices”QueryType
Returns
Section titled “Returns”Promise
<SelectorResult
>