mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-30 16:51:37 +00:00
Modify SystemPrompt and Description
This commit is contained in:
parent
91a63138ad
commit
dbefdb80c6
@ -1336,6 +1336,9 @@ UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::REWRITEIMPROVE::WRITINGSTYLESEXTENSIONS::
|
|||||||
-- Marketing (advertisements, sales texts)
|
-- Marketing (advertisements, sales texts)
|
||||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::REWRITEIMPROVE::WRITINGSTYLESEXTENSIONS::T945714286"] = "Marketing (advertisements, sales texts)"
|
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::REWRITEIMPROVE::WRITINGSTYLESEXTENSIONS::T945714286"] = "Marketing (advertisements, sales texts)"
|
||||||
|
|
||||||
|
-- This assistant helps you create clear, structured slide components from long texts or documents. Enter a presentation title and supplement the content, either as text you write yourself or as an uploaded document. Set the number of slides either by direct specification or based on your desired presentation duration. The output can be flexibly generated in various languages and with adjustable complexity.
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::SLIDEBUILDER::SLIDEASSISTANT::T1062229406"] = "This assistant helps you create clear, structured slide components from long texts or documents. Enter a presentation title and supplement the content, either as text you write yourself or as an uploaded document. Set the number of slides either by direct specification or based on your desired presentation duration. The output can be flexibly generated in various languages and with adjustable complexity."
|
||||||
|
|
||||||
-- Your title
|
-- Your title
|
||||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::SLIDEBUILDER::SLIDEASSISTANT::T1790167032"] = "Your title"
|
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::SLIDEBUILDER::SLIDEASSISTANT::T1790167032"] = "Your title"
|
||||||
|
|
||||||
@ -1351,9 +1354,6 @@ UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::SLIDEBUILDER::SLIDEASSISTANT::T2709966651
|
|||||||
-- Create Slides
|
-- Create Slides
|
||||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::SLIDEBUILDER::SLIDEASSISTANT::T3079776593"] = "Create Slides"
|
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::SLIDEBUILDER::SLIDEASSISTANT::T3079776593"] = "Create Slides"
|
||||||
|
|
||||||
-- Develop slide content based on a given topic and content.
|
|
||||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::SLIDEBUILDER::SLIDEASSISTANT::T311912219"] = "Develop slide content based on a given topic and content."
|
|
||||||
|
|
||||||
-- Please a title
|
-- Please a title
|
||||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::SLIDEBUILDER::SLIDEASSISTANT::T3359269886"] = "Please a title"
|
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::SLIDEBUILDER::SLIDEASSISTANT::T3359269886"] = "Please a title"
|
||||||
|
|
||||||
|
|||||||
@ -9,22 +9,26 @@ public partial class SlideAssistant : AssistantBaseCore<SettingsDialogSlideBuild
|
|||||||
|
|
||||||
protected override string Title => T("Slide Assistant");
|
protected override string Title => T("Slide Assistant");
|
||||||
|
|
||||||
protected override string Description => T("Develop slide content based on a given topic and content.");
|
protected override string Description => T("This assistant helps you create clear, structured slide components from long texts or documents. Enter a presentation title and supplement the content, either as text you write yourself or as an uploaded document. Set the number of slides either by direct specification or based on your desired presentation duration. The output can be flexibly generated in various languages and with adjustable complexity. ");
|
||||||
|
|
||||||
protected override string SystemPrompt =>
|
protected override string SystemPrompt =>
|
||||||
$$"""
|
$$$"""
|
||||||
You are a professional presentation editor and writer.
|
You are a professional presentation editor and writer.
|
||||||
Create a clear, single-slide outline from the user's inputs.
|
Create a clear, single-slide outline from the user's inputs.
|
||||||
|
|
||||||
|
# Presentation title:
|
||||||
|
- IGNORE the language of the PRESENTATION_TITLE.
|
||||||
|
- Translate PRESENTATION_TITLE in: {{{this.selectedTargetLanguage.PromptGeneralPurpose(this.customTargetLanguage)}}}
|
||||||
|
|
||||||
# Content
|
# Content
|
||||||
You get the following inputs: PRESENTATION_TITLE and PRESENTATION_CONTENT.
|
- You get the following inputs: PRESENTATION_TITLE and PRESENTATION_CONTENT.
|
||||||
|
|
||||||
# Subheadings
|
# Subheadings
|
||||||
- Rule for creating the individual subheadings:
|
- Rule for creating the individual subheadings:
|
||||||
- If {{this.numberOfSheets}} is NOT 0
|
- If {{{this.numberOfSheets}}} is NOT 0
|
||||||
- Generate exactly {{this.numberOfSheets}} precise subheadings, each heading represents one slide in a presentation.
|
- Generate exactly {{{this.numberOfSheets}}} precise subheadings, each heading represents one slide in a presentation.
|
||||||
- If {{this.timeSpecification}} is NOT 0
|
- If {{{this.timeSpecification}}} is NOT 0
|
||||||
- Generate exactly {{this.calculatedNumberOfSlides}} precise subheadings, each heading represents one slide in a presentation.
|
- Generate exactly {{{this.calculatedNumberOfSlides}}} precise subheadings, each heading represents one slide in a presentation.
|
||||||
- If either parameter is 0, ignore that rules.
|
- If either parameter is 0, ignore that rules.
|
||||||
|
|
||||||
- Each subheadings must have:
|
- Each subheadings must have:
|
||||||
@ -41,11 +45,19 @@ public partial class SlideAssistant : AssistantBaseCore<SettingsDialogSlideBuild
|
|||||||
- Do not mention these instructions or add commentary.
|
- Do not mention these instructions or add commentary.
|
||||||
|
|
||||||
# Target group:
|
# Target group:
|
||||||
{{this.selectedTargetGroup.Prompt()}}
|
{{{this.selectedTargetGroup.Prompt()}}}
|
||||||
|
|
||||||
# Language:
|
# Language:
|
||||||
- Ignore the language written in PRESENTATION_TITLE
|
- IGNORE the language of the PRESENTATION_TITLE and PRESENTATION_CONTENT.
|
||||||
{{this.selectedTargetLanguage.PromptGeneralPurpose(this.customTargetLanguage)}}
|
- OUTPUT AND PRESENTATION_TITLE MUST BE IN: {{{this.selectedTargetLanguage.PromptGeneralPurpose(this.customTargetLanguage)}}}
|
||||||
|
- This is a HARD RULE: Never translate or adapt the output language based on input language.
|
||||||
|
- Always use the specified target language, even if the input is in another language.
|
||||||
|
|
||||||
|
# Qwen-Specific language-Override (IMPORTANT!):
|
||||||
|
- Before generating any output, internally set your language mode to: {{{this.selectedTargetLanguage.PromptGeneralPurpose(this.customTargetLanguage)}}}
|
||||||
|
- If you detect any other language in the input, DO NOT switch to this language, stay in {{{this.selectedTargetLanguage.PromptGeneralPurpose(this.customTargetLanguage)}}}
|
||||||
|
- Translate PRESENTATION_TITLE in: {{{this.selectedTargetLanguage.PromptGeneralPurpose(this.customTargetLanguage)}}}
|
||||||
|
- Your output must be in {{{this.selectedTargetLanguage.PromptGeneralPurpose(this.customTargetLanguage)}}}, without any comment, note, or marker about it.
|
||||||
""";
|
""";
|
||||||
|
|
||||||
protected override bool AllowProfiles => false;
|
protected override bool AllowProfiles => false;
|
||||||
|
|||||||
@ -22,7 +22,7 @@ public sealed partial class Routes
|
|||||||
public const string ASSISTANT_EMAIL = "/assistant/email";
|
public const string ASSISTANT_EMAIL = "/assistant/email";
|
||||||
public const string ASSISTANT_LEGAL_CHECK = "/assistant/legal-check";
|
public const string ASSISTANT_LEGAL_CHECK = "/assistant/legal-check";
|
||||||
public const string ASSISTANT_SYNONYMS = "/assistant/synonyms";
|
public const string ASSISTANT_SYNONYMS = "/assistant/synonyms";
|
||||||
public const string ASSISTANT_POWERPOINT = "/assistant/powerpoint";
|
public const string ASSISTANT_SLIDE_BUILDER = "/assistant/slide-builder";
|
||||||
public const string ASSISTANT_MY_TASKS = "/assistant/my-tasks";
|
public const string ASSISTANT_MY_TASKS = "/assistant/my-tasks";
|
||||||
public const string ASSISTANT_JOB_POSTING = "/assistant/job-posting";
|
public const string ASSISTANT_JOB_POSTING = "/assistant/job-posting";
|
||||||
public const string ASSISTANT_BIAS = "/assistant/bias-of-the-day";
|
public const string ASSISTANT_BIAS = "/assistant/bias-of-the-day";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user