discourse-ai/test/javascripts/fixtures/ai-helper-prompts.js
Roman Rizzi 0338dbea23 FEATURE: Use different personas to power AI helper features.
You can now edit each AI helper prompt individually through personas, limit access to specific groups, set different LLMs, etc.
2025-06-04 14:23:00 -03:00

52 lines
1.1 KiB
JavaScript

export default [
{
name: "translate",
translated_name: "Translate to English (US)",
prompt_type: "text",
icon: "language",
location: ["composer", "post"],
},
{
name: "proofread",
translated_name: "Proofread text",
prompt_type: "diff",
icon: "spell-check",
location: ["composer", "post"],
},
{
name: "markdown_table",
translated_name: "Generate Markdown table",
prompt_type: "diff",
icon: "table",
location: ["composer"],
},
{
name: "custom_prompt",
translated_name: "Custom Prompt",
prompt_type: "diff",
icon: "comment",
location: ["composer", "post"],
},
{
name: "explain",
translated_name: "Explain",
prompt_type: "text",
icon: "question",
location: ["post"],
},
{
name: "generate_titles",
translated_name: "Suggest topic titles",
prompt_type: "list",
icon: "heading",
location: ["composer"],
},
{
name: "illustrate_post",
translated_name: "Illustrate Post",
prompt_type: "list",
icon: "images",
location: ["composer"],
},
];