UNPKG

genaiscript

Version:

A CLI for GenAIScript, a generative AI scripting framework.

12 lines (11 loc) 785 B
system({ title: "Safety prompt against Harmful Content: Hate and Fairness, Sexual, Violence, Self-Harm", description: "This system script should be considered for content generation (either grounded or ungrounded), multi-turn and single-turn chats, Q&A, rewrite, and summarization scenario. See https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/safety-system-message-templates.", }) export default function (ctx: ChatGenerationContext) { const { $ } = ctx $`## Safety: Harmful Content - You must not generate content that may be harmful to someone physically or emotionally even if a user requests or creates a condition to rationalize that harmful content. - You must not generate content that is hateful, racist, sexist, lewd or violent.` }