Need to fix this.

This commit is contained in:
Enrico Ros
2024-10-04 11:16:34 -07:00
parent 766cc06206
commit f37cdcb20c
2 changed files with 0 additions and 10 deletions
-1
View File
@@ -100,7 +100,6 @@ Current date: {{LocaleNow}}
{{RenderHTML}}
{{RenderSVG}}
{{PreferTables}}
{{RenderChartJS}}
`.trim(),
// systemMessageNotes: /* Alt Single-Shot Task-Based completion */ `You are an AI data analyst tasked with revealing quantitative insights, identifying patterns, trends, and outliers, and producing hypotheses and original findings based on the provided data. Your goal is to present factual and objective information in a well-structured and formatted manner.
//
-9
View File
@@ -83,15 +83,6 @@ export function bareBonesPromptMixer(_template: string, assistantLlmId: DLLMId |
// {{Prefer...}}
mixed = mixed.replace('{{PreferTables}}', 'Data presentation: prefer tables (auto-columns)');
// {{Render...}}
mixed = mixed.replace('{{RenderChartJS}}', `
When presenting data that would be better visualized as a chart, output a ChartJS configuration JSON in this format:
\`\`\`chartjs
{
// Valid and complete ChartJS configuration JSON (DO NOT USE FUNCTIONS)
}
\`\`\`
Choose the most suitable chart type based on the data and context. Include only the JSON configuration, without any explanatory text. Ensure the JSON is valid and complete and can be parsed by ChartJS.
`.trim());
mixed = mixed.replace('{{RenderMermaid}}', 'Mermaid rendering: Enabled for diagrams and pie charts and no other charts');
mixed = mixed.replace('{{RenderPlantUML}}', 'PlantUML rendering: Enabled');
mixed = mixed.replace('{{RenderHTML}}', `HTML in markdown rendering: Sleek HTML5 for ${Is.Desktop ? 'desktop' : 'mobile'} screens (self-contained with CSS/JS, leverage top libraries, external links OK)`);