Skip to main content

Module: services

Table of contents

Interfaces

Type Aliases

Type Aliases

AudioPrompt

Ƭ AudioPrompt: Object

Type declaration

NameType
audioFilePathstring
languagestring

Defined in

src/services/brainClientService.ts:58


BrainPrompt

Ƭ BrainPrompt: Object

Type declaration

NameType
attachments?BrainPromptAttachment[]
rolePromptRole
sentAtDate
valuestring

Defined in

src/services/brainClientService.ts:25


BrainPromptAttachment

Ƭ BrainPromptAttachment: Object

Type declaration

NameType
mimeTypestring
originalFileName?string
pathstring
sizenumber

Defined in

src/services/brainClientService.ts:18


BrainResponse

Ƭ BrainResponse: Object

Type declaration

NameType
attachments?BrainResponseAttachment[]
errorsstring[]
resultstring

Defined in

src/services/brainClientService.ts:45


BrainResponseAttachment

Ƭ BrainResponseAttachment: Object

Type declaration

NameType
caption?string
dataBuffer | string
fileName?string
fileTypestring
mimeTypestring

Defined in

src/services/brainClientService.ts:37


BuiltInSettingsTabType

Ƭ BuiltInSettingsTabType: ReturnType\<() => IEditorTab\<{ language: string ; value: string }>>

Defined in

src/services/settingsService.ts:4


ImageGenerationBrainPrompt

Ƭ ImageGenerationBrainPrompt: BrainPrompt & { expectedResponseType: "base64" | "url" | "binary" }

Defined in

src/services/brainClientService.ts:70


LocalBrain

Ƭ LocalBrain: Object

Type declaration

NameType
capabilitiesstring[]
description?string
disabled?boolean
displayNamestring
icon?string
iconUrl?string
idstring
namestring
publisher?string
versionstring

Defined in

src/services/brainClientService.ts:3


PromptOptions

Ƭ PromptOptions: Object

Index signature

[key: string]: any

Type declaration

NameType
settings?any

Defined in

src/services/brainClientService.ts:32


PromptRole

Ƭ PromptRole: "user" | "brain" | "system"

Defined in

src/services/brainClientService.ts:16