-
Notifications
You must be signed in to change notification settings - Fork 10
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
How to run generated sql code ? #3
Comments
Hi Samhith, Thank you for your interest in our work. Our code is designed to automatically generate a code-based solution plan and modify the answers accordingly based on specific questions. To address your issue, we recommend the following checks:
All the demos shown on the project page are from the running logs of this code. If the settings are correct, you should get the same logs in YOUR_LOG_PATH. I hope these suggestions help resolve your issue. Best regards, |
Hi SamhithKakarla, Those lines are commands from the previous version. You can try the following: You can try to substitute these commands with the original commands in the tabtools.py. And the target is to test if each of the tools can be executed correctly. If your issue has not been resolved, can you also offer the error information when you execute the main code? Thank you! Best, |
When running the code with gpt4 i get 1 of 2 errors : or sometimes it will output the following:
|
Hello SamhithKakarla, Currently, it is:
Change it to:
|
This comment was marked as outdated.
This comment was marked as outdated.
Finally got it working. Moving tools into the ehragent folder as mentioned above and un-installing tools fixed the issue!! I also had to remember to update the dataset path in tabtools.py. Thanks for the help !! |
Hello,
I downloaded and ran your code from the repo. The ouput i get locally doesnt match the intended output from your demo: https://wshi83.github.io/EHR-Agent-page/ . Here we see that the EHR agent is not only able to generate the code but also successfully execute the code to get an answer. When i run your code locally i only get the SQL output but not the actual answer. The code is never executed.
I was wondering how i can run the generated code? could i be missing some configurations ?
Furthermore, In the demo the EHR agent also able successfully re-write the code in the case of errors how would i ensure this also happens locally ?
Thanks
The text was updated successfully, but these errors were encountered: