Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL QnA not working as expected #3149

Open
Vignesh-k-arc opened this issue Sep 5, 2024 · 3 comments
Open

SQL QnA not working as expected #3149

Vignesh-k-arc opened this issue Sep 5, 2024 · 3 comments
Labels
question Further information is requested

Comments

@Vignesh-k-arc
Copy link

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.

@yangzishy
Copy link

hello! Have you solved it already?

@HenryHengZJ
Copy link
Contributor

HenryHengZJ commented Sep 9, 2024

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 HenryHengZJ added the question Further information is requested label Sep 9, 2024
@hchor
Copy link

hchor commented Nov 2, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants