Supabase Tool Bug or Set up Error?

The Supabase Tool is acting wrong in my opinion.

My agent sends 2 outputs:

-job_title

-localitate_sau_ruta. (city or route in EN)

With these inputs the node would look into this table:

It looks to return any row with a job that has either on job_title, rute (routes) or locatie (location/city) given by the agent. If the agents gives both inputs then it should search for both filters, but if one is empty it can search by only one variable.

But this node returns only partially?

It should have returned 3 jobs (3 jobs have Arad in their location or route, see the table).

Picture of node set up:

How would I set it up so that it returns only one job if the agent provides values for both of the variables?

Thank you!

Hey @Cristian_Martanov !

Simply use the “LIMIT” input field you already have set to 10.

I see you have parameters for both columns in the table, but using “localitate_sau_ruta” in both of them… I would simply do for each column a parameter like you have with job_title, rute etc…

And instruct the agent what and how to output the response…

Or I am getting it wrong in my opinion…as you in yours?

Lol.

Where is the “localitate_sau_ruta” defined …

Cheers!

1 Like

Will report back. Thanks!