Replies: 1 comment
-
My purpose of this post is to clarify: Are there any official and configurable ways to customize the SQL generation pipeline / prompts / tooling? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For the use cases of my data, Wren out of the box often falls short when the user queries on a specific column value.
Example: Show me my sales data for Amazon in the last month. Wren tries to write query with CustomerName = "Amazon" and if CustomerName is stored as "Amazon.com, Inc" then it is unable to find the customer and filter results for that customer.
There are several columns that this applies to, and there are too many values of customer to place into instructions or in the mdl file, or to add sql-question pairs for each customer.
Are there any pre-existing solutions to this issue?
I believe a tool that searches the distinct column values with string similarity to find the precise values, before executing the query could work.
Is there any flexibility in configuring such a tool or prompt without completely forking and editing Wren code?
Beta Was this translation helpful? Give feedback.
All reactions