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

Harrison/sql rows #915

Merged
merged 2 commits into from
Feb 7, 2023
Merged

Harrison/sql rows #915

merged 2 commits into from
Feb 7, 2023

Conversation

hwchase17
Copy link
Contributor

No description provided.

jzluo and others added 2 commits February 6, 2023 18:18
#782 added the ability to include a sample row of a table to the prompt
to provide more context for the model. As demonstrated in [this
paper](https://arxiv.org/abs/2204.00498), performance increases with the
number of rows provided, up to 3 in their tests. This PR builds on #782
to allow for selecting the number of rows to include.

Also, a few of the outputs in the sqlite example notebook were incorrect
for the chinook db - there are 8 entries in the employee table, not 9.
@hwchase17 hwchase17 merged commit f95cedc into master Feb 7, 2023
@hwchase17 hwchase17 deleted the harrison/sql-rows branch February 7, 2023 02:56
@blob42 blob42 mentioned this pull request Feb 21, 2023
zachschillaci27 pushed a commit to zachschillaci27/langchain that referenced this pull request Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants