• Not sure what you’re trying to solve, but there are some other tricks you can employ to get matches.

    You could substring match like “size” in “size_of_foo”

    Or use Levenshtein distance to find typoed names. Though set the acceptable distance very low for this

    Could feed the names into an LLM and ask it to classify them. I did this at a job to identify likely column name mappings

    But at the end of the day if this is for an import feature, you need to have a user confirm the import because there’s a lot that could go wrong, like did you get the right encoding? Are numbers encoded the way you expect?

    • It’s a tool that summarizes data from a CSV file and gives the summary. here is an output ```

      • Price * Total Price Extracted: 5 Sum: 160.5$ Average: 32.1$ Top 10 Price:-
      1. Charlie Davis: 50.0$, Amount: 50.0
      2. Bob Brown: 40.0$, Amount: 160.0
      3. Jane Smith: 30.0$, Amount: 150.0
      4. John Doe: 25.5$, Amount: 76.5
      5. Alice Johnson: 15.0$, Amount: 30.0
      • Cost * Total Cost/Amount: 466.5$

      • Quantity * Total Quantity Extracted: 5 Top 10 Quantity:-

      1. Jane Smith: 5
      2. Bob Brown: 4
      3. John Doe: 3
      4. Alice Johnson: 2
      5. Charlie Davis: 1
      • Rate * Total Rate Extracted: 5 Top 10 Rate:-
      1. John Doe: 5, Value: 600.0
      2. Jane Smith: 4, Value: 600.0
      3. Bob Brown: 3, Value: 540.0
      • Score * Total Score Extracted: 5 Top 10 Score:-
      1. Alice Johnson: 92
      2. Jane Smith: 90
      3. Charlie Davis: 88
      4. John Doe: 85
      5. Bob Brown: 75
      • Weight * Total Weight Extracted: 5 Sum: 95.0 Average: 19.0 Top 10 Weight:-
      1. Charlie Davis: 95.0
      2. Bob Brown: 80.0
      3. John Doe: 72.5
      4. Jane Smith: 60.0
      5. Alice Johnson: 55.0
      • Size * Total Size Extracted: 5 Sum: 16 Average: 3.2 Top 10 Size:-
      1. Jane Smith: 18
      2. Charlie Davis: 16
      3. John Doe: 15
      4. Bob Brown: 14
      5. Alice Johnson: 12