Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

SQL QnA not working as expected

Open Vignesh-k-arc opened this issue 1 year ago • 2 comments

In SQL QnA, I tried to use postgres instead of singlestore. In the first js function, it is getting connected to the database and also the schema is printed but the output is not reflected in the prompt template. Same problem in the second js function, the sql query is not getting executed. this is the first workflow i tried workflow 1: agents 03.09 Agents.json image

workflow 2: In the second workflow i tried to add variable nodes. the same issue persisted. image

agents_v1_pg_03.09 Chatflow.json

Please provide help on how to solve this.

Vignesh-k-arc avatar Sep 05 '24 05:09 Vignesh-k-arc

hello! Have you solved it already?

yangzishy avatar Sep 06 '24 06:09 yangzishy

do you have analytic traces? If not, strongly recommend so you are able to find out whats wrong for each step. An example webinar series: https://memsql.wistia.com/medias/i1ra0jared

HenryHengZJ avatar Sep 09 '24 19:09 HenryHengZJ

Yeah there are a number of things that can go wrong. I finally got it working. I'll try to update the example JSON when I have time (firstly, it's out of date with latest flowise).

hchor avatar Nov 02 '24 06:11 hchor