Skip to main content

Interface: IBrainPromptContext<TPromptSettings>

Some additional data we can send to the brain along with the prompt

Type parameters

NameDescription
TPromptSettingsThe type of the brain settings

Indexable

[key: string]: any

Table of contents

Properties

Properties

conversationId

Optional conversationId: string

A conversation id to group prompts together

Defined in

models/brainService.ts:103


id

id: string

The unique id of the prompt

Defined in

models/brainService.ts:98


senderId

senderId: string

The id of the user who is sending the prompt

Defined in

models/brainService.ts:106


settings

Optional settings: TPromptSettings

The brain settings to use for this prompt

Defined in

models/brainService.ts:109