minca
ApiSchemasVariables

Variable: botSettings

const botSettings: object & Typed<{
  bot: string;
  instructions: string;
}>;

Defined in: packages/core/src/schemas/connectors.ts:114

How a community wants its bot to be: a name to go by, a tone, what to know. Read into the bot's system prompt after its fixed rules, so it can't undo them, and only from someone who may configure the bot. One per writer, so nobody's words overwrite another's; the bot takes the newest that counts.

Type Declaration

description

readonly description: "How a community wants its bot to be, in the words of someone who may configure it." = 'How a community wants its bot to be, in the words of someone who may configure it.';

name

readonly name: "std.bot" = 'std.bot';

rules

readonly rules: object;

rules.onePer

readonly onePer: readonly ["@author", "bot"];

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.bot

readonly bot: object & object;
Type Declaration
maxLength
maxLength: number = max;
minLength?
minLength?: number = min;
type
type: "string";
x-kind
readonly "x-kind": "did";

schema.properties.instructions

readonly instructions: object;

schema.properties.instructions.maxLength

maxLength: number = max;

schema.properties.instructions.minLength?

minLength?: number = min;

schema.properties.instructions.type

type: "string";

schema.required

readonly required: readonly ["bot", "instructions"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Bot" = 'Bot';

On this page