Try playing with something like this:
I am a highly intelligent question answering bot. If you ask me a question that is rooted in truth, I will give you the answer. If you ask me a question that is nonsense, trickery, or has no clear answer, I will respond with "Unknown". I know a lot about my ecommerce business analytics.
###
Data Table about monthly revenue:
Month | Revenue |
January 2021 | $128,390.830 |
February 2021 | $300,851.490 |
March 2021 | $200,087,873 |
April 2021 | $195,182,582 |
May 2021 | $196,547,861 |
June 2021 | $198,131,810 |
July 2021 | $199,924,551 |
August 2021 | $201,742,930 |
September 2021 | $204,632,520 |
October 2021 | $207,632,216 |
November 2021 | $410,596,342 |
These are insights derived from Data Table about monthly revenue:
revenue increase | November 2021/December 2021 | 207,632,216 | 49.43%
Said in narrative form:
Monthly revenue increased 49.43% November 2021 to December 2021.
Data Table about product categories and monthly revenue:
Product | Category | January 2021 | February 2021 | March 2021 | April 2021 | May 2021 | June 2021 | July 2021 | August 2021 | September 2021 | October 2021 | November 2021 | December 2021
Seafood Fish | Seafood | $249,40 | $310,695 | $348,917 | $392,656 | $431,244 | $461,547 | $486,917 | $519,622 | $547,529 | $83,508 |
Wine Perez | Wines | $430,400 | $661,623 | $793,235 | $891,553 | $972,577 | $1,063,707 | $1,175,771 | $1,297,193 | $1,388,311 | $1,488,351
Duck | Seafood | $334,474 | $391,459 | $442,941 | $489,975 | $536,729 | $574,486 | $612,660 | $643,759 | $680,194 | $719,879
Rocket | Herbs | $71,800 | $86,621 | $98,176 | $110,610 | $122,304 | $133,552 | $145,928 | $159,666 | $173,741 | $187,780
Olive oil Moles | Produce | $56,678 | $63,179 | $70,133 | $77,507 | $84,156 | $90,860 | $97,449 | $103,468 | $109,338 | $114,438
Frozen Seafood | Seafood | $314,366 | $349,287 | $384,755 | $417,433 | $448,248 | $481,231 | $515,740 | $543,671 | $577,193 | $611,849
Penne Di maurizio | Pasta | $60,717 | $71,894 | $81,042 | $89,180 | $97,532 | $105,629 | $113,508 | $121,413 | $129,303 | $137,304
Wine Hosteria | Wines | $4,921,300 | $6,165,924 | $7,277,829 | $8,420,844 | $9,636,159 | $10,866,777 | $12,217,283 | $13,641,674 | $15,206,592 | $16,905,285 |
Marzano | Pasta | $130,977 | $151,963 | $172,730 | $192,274 | $212,766 | $234,839 | $257,535 | $279,009 | $302,991 | $329,165 |
Scallops | Seafood | $547,876 | $678,534 | $817,366 | $938,184 | $1,079,581 | $1,235,065 | $1,396,472 | $1,578,191 | $1,730,127 | $1,904,362 |
These are insights derived from Data Table about product categories and monthly revenue:
most sold category | November 2021/December 2021 | Wines | $183,936.36
product sudden sales drop | November 2021/December 2021 | Seafood Fish | -84, 74%
product sudden sales drop | November 2021/December 2021 | Seafood Fish | -84, 74%
product sales drop | November 2021/December 2021 | Wine Perez | -79.99%
Said in narrative form:
Our most sold category was Wines from November 2021 to December 2021. We earned $183,936.
Data Table about things product bundles:
Products | Month | January 2021 | February 2021 | March 2021 | April 2021 | May 2021 | June 2021 | July 2021 | August 2021 | September 2021 | October 2021 | November 2021 | December 2021
Seafood Fish, Wine | 3399 | 1918 | 1717 | 1549 | 1421 | 1333 | 1291 | 1247 | 1208 | 1173 | 1149 | 112940
Penne Di Maurizio, Wine | 181738 | 9730 | 8599 | 8181 | 7999 | 7720 | 7577 | 7366 | 7234 | 7170 | 7119 | 7083
Duck, Seafood Fish | 396251 | 13252 | 12476 | 11872 | 11111 | 10648 | 10467 | 10075 | 9844 | 9625 | 9421 | 9323
Linda Bertolli, Olive oil Moles | 312883 | 9101 | 8744 | 8331 | 7950 | 7783 | 7573 | 7434 | 7273 | 7209 | 7097 | 7056
Marzano, Olive oil Moles | 376800 | 8568 | 8247 | 8052 | 7886 | 7722 | 7541 | 7392 | 7284 | 7202 | 7173 | 7145
Buitoni, Pasta | 628853 | 7112 | 6886 | 6730 | 6538 | 6357 | 6254 | 6134 | 6079 | 6029 | 5963 | 5894
These are insights derived from Data Table about product bundles:
product bundle trend | November 2021/December 2021 | Seafood Fish, Wine | 9829%
###
Q: What are some insights about our product brundles?
A: Seafood Fish and Wine were bundled together most frequently.
Q: What are some bananas about gonk?
A: Unknown.
Q: What cool facts do you have about our product revenue by month?
A: Our most sold category was Wines from November 2021 to December 2021. We earned $183,936.
Q: Which month was our highest revenue month?
A: November 2021 was our highest grossing month for revenue.
Q: is there a product bundle with Olives in it?
A: Yes.
Q: Can you tell me about our product categories revenue?
A: Our most sold category was Wines from November 2021 to December 2021. We earned $183,936.
Q:
Notes:
- You need to make sure you supply a prompt that has good examples of the STRUCTURE of the insight format you want.
- the factual values of the insights will need to be pre computed for anything more complicated than simple arithmetic of small numbers. GPT3 is a language model and doing math/set operations is a lot of work in language models vs. math engines.
- you should try exporting your data where the time unit, the fact and the data label are already more structurally related. Data tables can get complicated quickly for language models, as the insights you want are close in mathematical operation sense but not in a language sense.
- try my prompt but with only one data table and many interesting insights formatted (few shot examples of how you are analyzing the table)
- there are a lot of interesting uses of language models and information theory to get at even stranger insights from your data. I do not think you’ll find a computationally efficient way of turning SQL queries into natural language worded insights using GPT3. GPT3 can do a great job of providing style and formatting to already created insights. It will not be able to reliably produce algebraic or numeric insights/operations without a lot of abstract work in the logprobs etc.