Skip to content

aisbreaker-api-js - v0.1.15 / api/models/InputText / InputText

Interface: InputText

api/models/InputText.InputText

A text message sent to the AI service.

Table of contents

Properties

Properties

content

content: string

The text message.

Defined in

aisbreaker-js/packages/aisbreaker-api-js/src/api/models/InputText.ts:14


role

role: InputTextRoleType

Role of the (input) message creator.

Defined in

aisbreaker-js/packages/aisbreaker-api-js/src/api/models/InputText.ts:9


weight

Optional weight: number

1.0 means normal prompt (default), 0.0 means ignore, -1.0 means negative prompt; >1.0 or <-1.0 applifies the prompt

Defined in

aisbreaker-js/packages/aisbreaker-api-js/src/api/models/InputText.ts:19

Released under the MIT License.