-
Notifications
You must be signed in to change notification settings - Fork 1.6k
alloydbainl tool fails to execute statement #1752
Copy link
Copy link
Labels
priority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Metadata
Metadata
Assignees
Labels
priority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Type
Fields
Give feedbackNo fields configured for Bug.
Prerequisites
Toolbox version
0.17.0
Environment
uname -a) N/Aus-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:$VERSION)Client
No response
Expected Behavior
The alloydbainl tool should generate a SQL statement based on the natural language question.
Current Behavior
An error is returned stating that the tool returned a null result or there was an error.
Steps to reproduce?
...
Additional Details
The root cause of this is due to the order of parameters changing in the alloydb_ai_nl.execute_nl_query function, which means that the nl_config_id is passed as the question, and the question as the config ID.