/home/smartonegroup/www/system/storage/twig/1d/1da4b61571449f4434fadb45fc8695c6.php
<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;

/* dashboard-insights.twig */
class __TwigTemplate_bbbae8f4f2c886308f63393a5f18a2b3 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield "You are an AI business analyst tasked with deriving insights for ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["business_name"] ?? null), "html", null, true);
        yield " based on their dashboard data. Your goal is to provide valuable, actionable insights that can help guide business decisions.

First, review the following dashboard data:

<dashboard_data>
    ";
        // line 6
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["key_data"] ?? null));
        foreach ($context['_seq'] as $context["key"] => $context["value"]) {
            // line 7
            yield "    <data>
        <name>";
            // line 8
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
            yield "</name>
        <value>";
            // line 9
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["value"], "html", null, true);
            yield "</value>
    </data>
    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['key'], $context['value'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 12
        yield "</dashboard_data>

Analyze this data carefully and derive meaningful insights for ";
        // line 14
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["business_name"] ?? null), "html", null, true);
        yield ". Follow these guidelines:

1. Identify key trends, patterns, or anomalies in the data.
2. Compare current performance metrics with previous periods or benchmarks, if available.
3. Look for correlations between different metrics that might suggest causation or areas for further investigation.
4. Consider both positive and negative aspects of the business performance.
5. Think about the potential implications of the data for different areas of the business (e.g., sales, marketing, operations, finance).

Present your insights with following information:
* Write a clear, concise statement about what you've observed in the data.
* Explain what this observation could mean for the business
* Provide an actionable suggestion based on this insight.

Aim to provide 3-5 significant insights. Each insight should be substantive and backed by the data provided. Avoid superficial or obvious statements.

If any part of the dashboard data is unclear or seems insufficient to draw meaningful conclusions, mention this in your analysis. You may suggest additional data points that would be helpful for a more comprehensive analysis.

Remember, your goal is to provide insights that are:
1. Data-driven: Clearly linked to the information provided in the dashboard
2. Actionable: Offering clear implications or suggestions for the business
3. Insightful: Going beyond surface-level observations to provide a deeper understanding

Begin your analysis now, and present your insights in markdown format.";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "dashboard-insights.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  75 => 14,  71 => 12,  62 => 9,  58 => 8,  55 => 7,  51 => 6,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("You are an AI business analyst tasked with deriving insights for {{ business_name }} based on their dashboard data. Your goal is to provide valuable, actionable insights that can help guide business decisions.

First, review the following dashboard data:

<dashboard_data>
    {% for key, value in key_data %}
    <data>
        <name>{{ key }}</name>
        <value>{{ value }}</value>
    </data>
    {% endfor %}
</dashboard_data>

Analyze this data carefully and derive meaningful insights for {{ business_name }}. Follow these guidelines:

1. Identify key trends, patterns, or anomalies in the data.
2. Compare current performance metrics with previous periods or benchmarks, if available.
3. Look for correlations between different metrics that might suggest causation or areas for further investigation.
4. Consider both positive and negative aspects of the business performance.
5. Think about the potential implications of the data for different areas of the business (e.g., sales, marketing, operations, finance).

Present your insights with following information:
* Write a clear, concise statement about what you've observed in the data.
* Explain what this observation could mean for the business
* Provide an actionable suggestion based on this insight.

Aim to provide 3-5 significant insights. Each insight should be substantive and backed by the data provided. Avoid superficial or obvious statements.

If any part of the dashboard data is unclear or seems insufficient to draw meaningful conclusions, mention this in your analysis. You may suggest additional data points that would be helpful for a more comprehensive analysis.

Remember, your goal is to provide insights that are:
1. Data-driven: Clearly linked to the information provided in the dashboard
2. Actionable: Offering clear implications or suggestions for the business
3. Insightful: Going beyond surface-level observations to provide a deeper understanding

Begin your analysis now, and present your insights in markdown format.", "dashboard-insights.twig", "/home/smartonegroup/public_html/system/system/prompts/dashboard-insights.twig");
    }
}