From the course: LLMs for Enterprise: Technical Protocols, Considerations, and Data Privacy

Unlock the full course today

Join today to access over 25,000 courses taught by industry experts.

Solution: Rewriting your prompts for data analysis

Solution: Rewriting your prompts for data analysis

(gentle upbeat music) - How do you find that challenge? Let's go through both parts to the solution. This was my prompt to generate some data. Generate a hundred line CSV with data for the columns, product channel, username, customer satisfaction rating, location, date. It should contain some recurring usernames and trends. Customer satisfaction rating should be between 1 and 10. Now, to visualize it, I'll ask ChatGPT visualize this as a NPS score over time per channel. We can see the graph has emerged. We can then iterate if we want to change anything. But this looks pretty good to me. Now I'm going to ask to download the code in Python for myself or a teammate to run on the actual data. I can also ask for steps on how to recreate it in Excel, and that's how we could iterate and build visualizations with an LLM without uploading our confidential data.

Contents