Class: abstract
BaseSelector
Extends
Extended by
Constructors
new BaseSelector()
new BaseSelector():
BaseSelector
Returns
Inherited from
Methods
_getPromptModules()
protected
_getPromptModules():Record
<string
,any
>
Returns
Record
<string
, any
>
Inherited from
PromptMixin
. _getPromptModules
Source
packages/core/src/prompts/Mixin.ts:82
_getPrompts()
protected
_getPrompts():PromptsDict
Returns
PromptsDict
Inherited from
Source
packages/core/src/prompts/Mixin.ts:78
_select()
abstract
_select(choices
,query
):Promise
<SelectorResult
>
Parameters
• choices: ToolMetadataOnlyDescription
[]
• query: QueryBundle
Returns
Promise
<SelectorResult
>
Source
packages/core/src/selectors/base.ts:42
_updatePrompts()
protected
_updatePrompts(promptsDict
):void
Parameters
• promptsDict: PromptsDict
Returns
void
Inherited from
Source
packages/core/src/prompts/Mixin.ts:86
getPrompts()
getPrompts():
PromptsDict
Returns all prompts from the mixin and its modules
Returns
PromptsDict