Skip to content

Instantly share code, notes, and snippets.

@zk
Created March 23, 2023 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zk/d0c4a6902b954fca7ea19f0e9246f45c to your computer and use it in GitHub Desktop.
Save zk/d0c4a6902b954fca7ea19f0e9246f45c to your computer and use it in GitHub Desktop.

== User == Act as a financial accounting expert, here's some csv data please remember it: "Day","SKU","Qty Sold","Revenue" 2023-02-01,[] → LAKA Matcha™ (Ceremonial-grade) 25 servings,1,$28.80 2023-02-01,[4939378819103] → Shroom Drip™,1,$36.00 2023-02-01,[4939478433823] → Cookie Drip™,13,$348.00 2023-02-01,[LAKACOOKIE-80Z2] → Cookie Drip™ (1 month supply),1,$51.20 2023-02-01,[SAMIDORISTICKS] → NEW! Samidori Matcha Sticks (30 servings per box),12,$288.00 2023-02-01,[SHROOMDRIP-8OZ] → Shroom Drip™,12,$312.00 2023-02-02,[5237706489899] → Laka Kake,1,$24.00 2023-02-03,[5555555555551] → LAKA Matcha™ (Ceremonial-grade) 90 servings,1,$83.20 2023-02-05,[] → 1/2 kilo,1,$287.50 2023-02-05,[5555555555551] → LAKA Matcha™ (Ceremonial-grade) 90 servings,1,$104.00 2023-02-05,[LAKAMATCHA-90R3] → Laka Matcha Triplet (Ceremonial) 270 servings,1,$212.50 2023-02-05,[LAKAMATCHA-STICKS] → NEW! SAMIDORI STICKS™ (30 servings),1,$48.00 2023-02-05,[SAMIDORISTICKS-60] → NEW! Samidori Sticks Bundle (60 servings),1,$65.60 2023-02-06,[4939378819103] → Shroom Drip™,1,$36.00 2023-02-06,[5237706489899] → Laka Kake,1,$25.60 2023-02-06,[5555555555551] → LAKA Matcha™ (Ceremonial-grade) 90 servings,1,$83.20 2023-02-06,[SAMIDORISTICKS-60] → NEW! Samidori Sticks Bundle (60 servings),1,$65.60 2023-02-07,[DRIPADDICT] → Drip™ Addict Gift Bundle,1,$64.00 2023-02-08,[2601654911111] → LAKA Matcha™ Refill Bundle (180 servings),1,$140.80 2023-02-08,[4939378819103] → Shroom Drip™,4,$108.00 2023-02-08,[4939478433823] → Cookie Drip™,3,$72.00 2023-02-08,[7777693691576] → re:light (Kauai Kombucha Vinegar),1,$26.00 2023-02-08,[LAKAMATCHA-STICKS] → NEW! SAMIDORI STICKS™ (30 servings),1,$0.00 2023-02-08,[ORGMATCHA-50] → NEW! The Daily Matcha™ (50 servings),1,$20.00 2023-02-08,[SAMIDORISTICKS-60] → NEW! Samidori Sticks Bundle (60 servings),2,$106.60 2023-02-10,[] → LAKA Matcha™ (Ceremonial-grade) 25 servings,1,$36.00 2023-02-10,[4939378819103] → Shroom Drip™,2,$72.00 2023-02-10,[LAKAMATCHA-90R] → Laka Matcha (Ceremonial) 90 serving refill,1,$98.00 2023-02-10,[LAKAMATCHA-STICKS] → NEW! SAMIDORI STICKS™ (30 servings),1,$48.00 2023-02-11,[4939378819103] → Shroom Drip™,2,$57.60 2023-02-11,[4939478433823] → Cookie Drip™,12,$312.00 2023-02-11,[LAKAMATCHA-25] → LAKA Matcha™ (Ceremonial-grade) 25 servings,13,$312.00 2023-02-11,[LAKAMATCHA-STICKS] → NEW! SAMIDORI STICKS™ (30 servings),1,$0.00 2023-02-11,[ORGMATCHA-50] → NEW! The Daily Matcha™ (50 servings),1,$0.00 2023-02-12,[7777693691576] → re:light (Kauai Kombucha Vinegar),2,$41.60 2023-02-12,[BUBBLEMUG-YELLOW] → POTHEAD BUBBLE MUG,1,$60.00 2023-02-13,[5237706489899] → Laka Kake,1,$38.00 2023-02-14,[4939478433823] → Cookie Drip™,12,$312.00 2023-02-14,[5237706489899] → Laka Kake,1,$32.30 2023-02-14,[LAKAMATCHA-90R] → Laka Matcha (Ceremonial) 90 serving refill,1,$98.00 2023-02-16,[4939378819103] → Shroom Drip™,2,$64.80 2023-02-16,[5237706489899] → Laka Kake,2,$68.40 2023-02-16,[DRIPADDICT] → Drip™ Addict Gift Bundle,1,$57.60 2023-02-16,[LAKAMATCHA-VAR] → The LAKA Matcha Variety Pack (75 servings),1,$64.80 2023-02-17,[] → Cookie Drip™,1,$305.00 2023-02-17,[4939478433823] → Cookie Drip™,24,$624.00 2023-02-17,[LAKAMATCHA-100] → LAKA Matcha™ (Ceremonial-grade) 100 servings,24,"$1,560.00" 2023-02-17,[LAKAMATCHA-25] → LAKA Matcha™ (Ceremonial-grade) 25 servings,24,$624.00 2023-02-17,[LAKAMATCHA-KILO] → Laka Matcha,1,$575.00 2023-02-17,[SHROOMDRIP-8OZ] → Shroom Drip™,24,$624.00 2023-02-17,[SHROOMDRIP-GALLON] → Shroom Drip,1,$305.00 2023-02-18,[5237706489899] → Laka Kake,1,$38.00 2023-02-18,[DRIPADDICT] → Drip™ Addict Gift Bundle,1,$64.00 2023-02-19,[4939478433823] → Cookie Drip™,1,$28.80 2023-02-19,[LAKACOOKIE-80Z2] → Cookie Drip™ (1 month supply),1,$51.20 2023-02-19,[LAKAMATCHA-90R] → LAKA Matcha™ (Ceremonial-grade) 100 servings,1,$78.40 2023-02-19,[ORGMATCHA-50] → NEW! The Daily Matcha™ (50 servings),1,$32.00 2023-02-20,[LAKAMATCHA-STICKS] → NEW! SAMIDORI STICKS™ (30 servings),1,$38.40 2023-02-21,[LAKAMATCHA-25] → LAKA Matcha™ (Ceremonial-grade) 25 servings,2,$62.00 2023-02-23,[7777693691576] → re:light (Kauai Kombucha Vinegar),4,$104.00 2023-02-24,[] → LAKA Matcha™ (Ceremonial-grade) 25 servings,1,$28.80 2023-02-24,[4939378819103] → Shroom Drip™,1,$36.00 2023-02-24,[5237706489899] → Laka Kake,2,$76.00 2023-02-24,[7777693691576] → re:light (Kauai Kombucha Vinegar),1,$26.00 2023-02-24,[BUBBLEMUG-RIPEBANANA] → POTHEAD BUBBLE MUG,1,$75.00 2023-02-24,[LAKAMATCHA-STICKS] → NEW! SAMIDORI STICKS™ (30 servings),3,$144.00 2023-02-24,[ORGMATCHA-50] → NEW! The Daily Matcha™ (50 servings),1,$40.00 2023-02-25,[7777693691576] → re:light (Kauai Kombucha Vinegar),1,$26.00 2023-02-25,[DRIPADDICT] → Drip™ Addict Gift Bundle,2,$108.80 2023-02-25,[LAKACOOKIE-80Z2] → Cookie Drip™ (1 month supply),1,$57.60 2023-02-25,[LAKAMATCHA-STICKS] → NEW! SAMIDORI STICKS™ (30 servings),1,$38.40 2023-02-25,[ORGMATCHA-50] → NEW! The Daily Matcha™ (50 servings),1,$32.00 2023-02-26,[5237706489899] → Laka Kake,1,$38.00 2023-02-26,[7777693691576] → re:light (Kauai Kombucha Vinegar),1,$0.00 2023-02-26,[DRIPADDICT] → Drip™ Addict Gift Bundle,1,$64.00 2023-02-26,[LAKAMATCHA-25] → LAKA Matcha™ (Ceremonial-grade) 25 servings,13,$344.00 2023-02-26,[ORGMATCHA-50] → NEW! The Daily Matcha™ (50 servings),6,$120.00 2023-02-26,[SAMIDORISTICKS] → NEW! Samidori Matcha Sticks (30 servings per box),12,$288.00 2023-02-26,[SAMIDORISTICKS] → Tester - NEW! Samidori Matcha Sticks (30 servings per box),1,$2.00 2023-02-27,[5237706489899] → Laka Kake,1,$30.40 2023-02-27,[BUBBLEMUG-BLACK] → POTHEAD BUBBLE MUG,1,$60.00 2023-02-27,[BUBBLEMUG-RIPEBANANA] → POTHEAD BUBBLE MUG,1,$60.00 2023-02-27,[DRIPADDICT] → Drip™ Addict Gift Bundle,1,$51.20 2023-02-27,[LAKAMATCHA-STICKS] → NEW! SAMIDORI STICKS™ (30 servings),1,$38.40 2023-02-27,[SAMIDORISTICKS-60] → NEW! Samidori Sticks Bundle (60 servings),1,$65.60 2023-02-28,[2601654911111] → LAKA Matcha™ Refill Bundle (180 servings),1,$176.00 2023-02-28,[4939478433823] → Cookie Drip™,1,$28.80 2023-02-28,[5499523691576] → Immunity Matcha Bundle,2,$136.00 2023-02-28,[7777693691576] → re:light (Kauai Kombucha Vinegar),3,$26.00 2023-02-28,[DRIPADDICT] → Drip™ Addict Gift Bundle,1,$64.00 2023-02-28,[LAKAMATCHA-25] → LAKA Matcha™ (Ceremonial-grade) 25 servings,1,$32.00 2023-02-28,[LAKAMATCHA-90R] → Laka Matcha (Ceremonial) 90 serving refill,1,$78.40 2023-02-28,[ORGMATCHA-50] → NEW! The Daily Matcha™ (50 servings),1,$40.00

== Assistant == I have processed the provided CSV data. If you have any questions or need analysis regarding this data, please feel free to ask.

== User == Call that data "DATA1", if I reference "DATA1" in the future this is the data I'm talking about.

== Assistant == Understood. I will refer to the provided CSV data as "DATA1" in future discussions. If you have any questions or need analysis regarding DATA1, please feel free to ask.

== User == Can you summarize DATA1 for me?

== Assistant == Certainly! Based on DATA1, here's a summary of the sales information:

  • The data provided covers the period from February 1, 2023, to February 28, 2023.
  • A variety of products were sold during this period, including different types of matcha, Shroom Drip™, Cookie Drip™, Laka Kake, re:light (Kauai Kombucha Vinegar), and Pothead Bubble Mugs, among others.
  • The quantity sold for each product varies, with some products having multiple transactions within the month.
  • The revenue generated for each sale also varies depending on the product and the quantity sold.

Please let me know if you need specific insights or details from DATA1.

== User == Can you create a concise, single-paragraph description of the data in DATA1?

== Assistant == DATA1 represents sales data for a variety of products from February 1 to February 28, 2023, including matcha, Shroom Drip™, Cookie Drip™, Laka Kake, re:light (Kauai Kombucha Vinegar), and Pothead Bubble Mugs. The data showcases the sale date, SKU, quantity sold, and revenue generated for each transaction, with quantities and revenues varying across different products and sale dates throughout the month.

== User == Great, please call that description "DESC1", and remember that it refers to "DATA1"

== Assistant == I have saved the description as DESC1, which refers to DATA1. If you reference DESC1 in the future, I will understand that you are referring to the concise, single-paragraph description of DATA1.

== User == Given only the description "DESC1" can you tell me if I can calculate the total sales volume for February 2023 from the referenced data?

== Assistant == Yes, based on DESC1, you can calculate the total sales volume for February 2023 from the referenced data (DATA1). The data includes the sale date, SKU, quantity sold, and revenue generated for each transaction, allowing you to sum up the quantities sold for all transactions within the month to determine the total sales volume.

== User == Given only the description "DESC1" can you tell me if I can calculate the total sales volume for January 2023?

== Assistant == No, based on DESC1, you cannot calculate the total sales volume for January 2023 from the referenced data (DATA1). The data only includes transactions for the month of February 2023, so there is no information available for January 2023 in the dataset.

== User == Given only the description "DESC1" can you tell me if I can calculate the COGS for February 2023?

== Assistant == Based on DESC1, you cannot calculate the Cost of Goods Sold (COGS) for February 2023 from the referenced data (DATA1). The dataset includes information about the SKU, quantity sold, and revenue for each product but does not provide any information about the cost of the products. To calculate COGS, you would need additional data on the cost of each product.

== User == Given only the description "DESC1" what additional information would I need to calculate the COGS for February 2023?

== Assistant == To calculate the COGS for February 2023 using the information from DESC1, you would need the following additional information:

  1. Cost per unit for each product: This is the cost incurred to produce or acquire each unit of the product. You would need this information for each SKU in the dataset.

Once you have the cost per unit for each product, you can multiply it by the quantity sold for each SKU in February 2023, and then sum up the values to get the total COGS for February 2023.

== User == What additional information would you need to calculate the cost per unit for each product?

== Assistant == To calculate the cost per unit for each product, you would need the following information:

  1. Direct material costs: The cost of raw materials and components used to create each unit of the product.
  2. Direct labor costs: The cost of labor directly involved in producing each unit of the product, such as wages for assembly line workers or manufacturing personnel.
  3. Manufacturing overhead costs: Indirect costs associated with producing each unit of the product, such as factory rent, utilities, and depreciation of manufacturing equipment. These costs should be allocated to each product based on an appropriate allocation method, such as machine hours, direct labor hours, or another relevant factor.

Once you have gathered this information, you can calculate the cost per unit for each product by adding the direct material costs, direct labor costs, and allocated manufacturing overhead costs, and then dividing the total cost by the number of units produced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment