feat(text_to_sql): add include_entire_schema and only_these_objects o… #503
+127
−52
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…ptions to text-to-sql
include_entire_schema
- bypasses search and includes the entire schema in the promptonly_these_objects
- bypasses search and only includes the specific tables/views in the promptonly_these_objects
does not allow you to specify functions. I doubt we'll need that, and I doubt we'll keep this functionality. If we need to, we can add it later.Also, we now extract the estimated cost and estimated rows from the query plan and return them