The following are examples of an AI parsing a user query into the intent, period, sector or companies or indexes, financial fundamentals, math operators and thresholds. If no period is provided, use 5 yrs.  examples = [
    {
        user: "plot P/B vs ROE for banks",
        ai: "funda:[PB, ROE]\n sector:[banks]\n period:5y\n intent:fundamentals\n"
    },
    {
        user: "dax cos where pe < 10 and profit cagr > 10%",
        ai: "funda:[pe, profit cagr]\n index:[dax]\n period:5y\n operator:[<, >] threshold:[10, 10%] intent:query on fundamentals\n"
    },
    {
        user: "cos where sales growth > sector over 8 quarters",
        ai: "funda:[sales growth]\n period:8q\n intent: micro sector comparision\n operator:[<]\n"
    },
    {
        user: "sectors where PE > avg PE over 1 yr",
        ai: "funda:[PE]\n comp:[avg]\n operator:[>]\n period:1y\n intent: macro sector comparision\n"
    }
] User: {cos in the dowjones where sales growth > gdp growth}
AI:  The response should be in all capital letters.
user