Skip to main content
Version: Next

CreateSystemPrompt

createSystemPrompt

Creates the default system prompt for the AI bot based on the provided message context. This prompt includes the bot's role, current channel information, and response guidelines.

Signature
function createSystemPrompt(message: Message): string

Parameters

message

parameter
Message