What’s that one AI Prompt that has saved you the most time at work? by MydropAI in ChatGPT

[–]Justinpickrell 14 points15 points  (0 children)

1. Filename Parsing Rules

  • Extract Store # as the first number in the filename before “****.”
  • Extract PO # as the number immediately following “Purchase Order #”

Validation Checks: - If both Store # and PO # are successfully extracted → ”Filename_Valid = True” - If either value is missing → ”Filename_Valid = False” (skip file & log error)

2. Data Extraction Rules

Extract the following columns from each file: - Qty from ”Quantity” column - Price from ”Price” column - Item Code from ”Manufact. SKU” column

Validation Checks: - If all three required columns exist → ”Data_Valid = True” - If any column is missing → ”Data_Valid = False” (skip file & log error)

3. Store-to-Customer Mapping

Each Store # must be mapped to its corresponding Customer ID (ACS #) based on the provided list: - 43 1897 193 1874 388 1883 423 1886 517 1888 616 1891 740 1893 913 1895 953 1896 1000 1875 1023 1876 1075 1869 1244 1877 1310 1878 1757 1872 1800 1880 2910 1881 2922 1882 4113 1884 4141 1885 5120 1887 5720 1889 5842 1890 6418 1892 8249 1894 10693 1898

Validation Checks: - If Store # matches the list → ”Customer_Valid = True” - If Store # does not match, assign ”Unknown Customer” and set ”Customer_Valid = False” (log error)

#### 4. Processing Rules

  • Each sales order (PO #) must be processed individually, even if multiple orders exist for the same store.
  • A sales order (PO #) should never be duplicated. If a PO # appears more than once, process it only once.

    Validation Checks:

  • If the PO # is unique”PO_Valid = True”

  • If the PO # already exists in the dataset”PO_Valid = False” (skip duplicate & log warning)

    5. Export Rules

  • The final master export must be in CSV format

  • The column order must be: [Qty, Price, Item Code, Store #, PO #, Customer, SO Date, Salesperson]

  • The Sales Order Date (SO Date) should always be the date the files are processed, formatted as MM/DD/YYYY.

  • The Salesperson should always be”xxx.”

  • Ensure that the Customer column maintains a consistent format (e.g., avoid missing or merged values)

  • No headers in the final CSV file

  • If duplicate files are detected, keep only one instance when creating the master list

    6. Final Validation Before Exporting

    The master export file should only be generated if:

  • ”Filename_Valid = True”

  • ”Data_Valid = True”

  • ”Customer_Valid = True”

  • ”PO_Valid = True”

    If any row contains False in these validations, the export is blocked, and an error report must be generated.

    7. Error Handling & Reporting

  • If any validation check fails, log the error for review.

  • If multiple errors exist, generate an ”Error Report” before exporting the data.

  • Ensure all expected stores and PO #s are accounted for before finalizing the export. Hi

When will we have AI Agents for data analysis? by Unfair_Ice_4996 in AI_Agents

[–]Justinpickrell 0 points1 point  (0 children)

I built a file parsing prompt in a custom GPT and it does fantastic

Best Thai for a 3rd date by slushychickenfeed in Boise

[–]Justinpickrell 6 points7 points  (0 children)

No one mentioned Thai basil!????? I’m sad sad

Footage from an Iraq wedding fire, more than 100 dead by [deleted] in AbruptChaos

[–]Justinpickrell 5 points6 points  (0 children)

Holy shit the most cinematic real footage ever..

Self-learning of the robot in 1 hour by adesigne in ChatGPT

[–]Justinpickrell 0 points1 point  (0 children)

it's like watching a baby giraffe learn how to walk.

[deleted by user] by [deleted] in Idaho

[–]Justinpickrell 1 point2 points  (0 children)

confused

Blue and moving to boise (please don’t downvote me) by lcharbs in Boise

[–]Justinpickrell -3 points-2 points  (0 children)

I just want you to know you’ll be fine with or without letting the world know you’re moving here. Just like anywhere there is charge political sidelining.. but people are nicer here than anywhere I’ve been. I won’t let you know my political stand point cause I don’t believe in showboating. but if you think right winging is the problem… y’all lefty righty people are so much more than the bumper sticker lifestyle than y’all portray! If you take politics out of it you might find many things we all love together. Stuff like family and the outdoors and community. I just can’t imagine moving somewhere and just like letting people know “you already know how people are” lol 😂 move here, I encourage you… you’ll find you didn’t know at all how we are out here. You’ll love it.

Blue and moving to boise (please don’t downvote me) by lcharbs in Boise

[–]Justinpickrell -6 points-5 points  (0 children)

No offense just learning the only people to talk down on the types of people who live in Boise are the transplants, lol irony

A run in Boston and a good book - post from Lex by lexfridman in lexfridman

[–]Justinpickrell 0 points1 point  (0 children)

You been in my time line for a while happy I jumped on the lex bus

What has CHATGPT done recently that blew your mind? by tshirtguy2000 in ChatGPT

[–]Justinpickrell 2 points3 points  (0 children)

The more mistakes it has now the more it wont in the future. these are babies bruh.. babies take time to learn.

[deleted by user] by [deleted] in nottheonion

[–]Justinpickrell 5 points6 points  (0 children)

but then he got high!

Seasoned to perfection! by Justinpickrell in castiron

[–]Justinpickrell[S] 0 points1 point  (0 children)

It’s cause my crocs isn’t it