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

langchain[patch]: Fix: Change sqlite to SQL in query checker prompt #6307

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

Tonyqu123
Copy link
Contributor

In the sqlAgent, the query-checker step currently references sqlite specifically in the prompt, which is incorrect since the sqlAgent can interact with multiple types of databases. To make this prompt more accurate and applicable to various SQL databases, I have replaced sqlite with SQL.

Fixes # (issue)

In the `sqlAgent`, the `query-checker` step currently references `sqlite` specifically in the prompt, which is incorrect since the `sqlAgent` can interact with multiple types of databases. To make this prompt more accurate and applicable to various SQL databases, I have replaced `sqlite` with `SQL`.
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 1, 2024
Copy link

vercel bot commented Aug 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2024 5:38am
langchainjs-docs ✅ Ready (Inspect) Visit Preview Aug 1, 2024 5:38am

@jacoblee93
Copy link
Collaborator

Seems fine, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants