Interface: ITextBrainCapability
services.ITextBrainCapability
Extends IBrainCapability for text-based interactions.
Hierarchy
↳
ITextBrainCapability
Table of contents
Methods
Methods
sendTextPrompt
▸ sendTextPrompt(prompts
, options?
): Promise
\<BrainResponse
>
Sends a text prompt to the brain.
Parameters
Name | Type | Description |
---|---|---|
prompts | BrainPrompt [] | Array of BrainPrompt objects. |
options? | PromptOptions | Optional PromptOptions. |
Returns
Promise
\<BrainResponse
>
A promise resolving to a BrainResponse.