Using LLMs/AIs with Easy Data Transform

The current generation of Large Language Models have some impressive capabilities. But they don’t seem like good tools for data wrangling:

  • A natural language/chat interface is a rather ambiguous, clumsy and slow way to describe how you want data transformed.
  • They generally can’t handle thousands (let alone millions) of rows of data.
  • They might hallucinate a solution.
  • You can never be quite sure what they have done.

But we have found that Large Language Models can be useful for finding the right transform. They have clearly crawled all of our documentation and the forum. So they can give pretty impressive answers to questions like ‘What Easy Data Transform transform should I use to calculate the running total of a column of numbers?’:

Just beware that the answers are not 100% reliable!

Never switch off your own brain :wink:

By the way, I use since a while AI when I need in filter or replace transformation REGEX criteria, I have no real knowledge on REGEX, but AI gives me feasible expressions based on the description I did in my words.

2 Likes

We also use AI to create regex expressions from time to time. ;0)

2 Likes

There is also a new way to tell LLMs (or perhaps more correct the training) of LLMs with a text-file on your website.

Here is an example from Postmark (a service to send e-mails).

https://postmarkapp.com/llms.txt

1 Like

AI to create regexes? A perfectly valid use of AI.

In general, though…

echo I love AI! | sed ‘s/\(lo\)../\1athe/’

:nerd_face:

Good remark Mr Andy. That is why I prefer to use (in a first phase) EDT in order to generate clean and well structured data then, in a second phase, AI prompt for python + streamlit.

1 Like