Skip to main content

Interface: ITextBrainCapability

services.ITextBrainCapability

Extends IBrainCapability for text-based interactions.

Hierarchy

Table of contents

Methods

Methods

sendTextPrompt

sendTextPrompt(prompts, options?): Promise\<BrainResponse>

Sends a text prompt to the brain.

Parameters

NameTypeDescription
promptsBrainPrompt[]Array of BrainPrompt objects.
options?PromptOptionsOptional PromptOptions.

Returns

Promise\<BrainResponse>

A promise resolving to a BrainResponse.

Defined in

src/services/brainClientService.ts:135