agentcoinorg / evo.ninja

A versatile generalist agent.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[CsvAnalyst] Error in csv_filterRows cannot convert 'null' or 'undefined' to object

toome123 opened this issue · comments

It is gives me this error [CsvAnalyst] Error in csv_filterRows cannot convert 'null' or 'undefined' to object
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://evo.ninja/' and setup your envirement, api key etc

  2. Upload bank-test.csv
    bank-test.csv

  3. And ask agent the following prompt: 'in bank-test.csv file has info. Return me the top 10 by duration also is self employed and are single or devorced'

  4. See error: An error has happened, please contact support if this continue happening

The planing is correct, but in execution there may be some missed checks in csv_filterRows

Prediction:
-> The best next step for the assistant, adopting the persona of a CsvAnalyst, would be to open and read the contents of the "bank-test.csv" file. The assistant should then filter the data to include only those entries where the individuals are self-employed and have a marital status of either single or divorced. After applying these filters, the assistant should sort the remaining entries by the 'duration' field in descending order to find the top 10 entries with the longest duration.

Since the assistant cannot interact with the file system directly, it would describe the steps it would take to perform this task if it had the capability to do so. However, the assistant should not attempt to execute these steps or access the file system, as it is a text-based simulation and does not have the capability to perform such actions.

Selected agent:
-> CsvAnalyst

Action executed:
[CsvAnalyst] Error in csv_filterRows cannot convert 'null' or 'undefined' to object