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

Community: add args_schema to sql_database tools for langGraph integration #18595

Merged

Conversation

juanfe88
Copy link
Contributor

@juanfe88 juanfe88 commented Mar 5, 2024

  • Description: This modification adds pydantic input definition for sql_database tools. This helps for function calling capability in LangGraph. Since actions nodes will usually check for the args_schema attribute on tools, This update should make these tools compatible with it (only implemented on the InfoSQLDatabaseTool)
  • Issue: N/A
  • Dependencies: N/A
  • Twitter handle: juanfe8881

Copy link

vercel bot commented Mar 5, 2024

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Mar 11, 2024 8:48pm

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. Ɑ: Runnables Related to Runnables 🤖:improvement Medium size change to existing code to handle new use-cases labels Mar 5, 2024
@juanfe88
Copy link
Contributor Author

juanfe88 commented Mar 5, 2024

@efriis

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Mar 5, 2024
@juanfe88
Copy link
Contributor Author

Hello @hwchase17. I was just updating the branch to keep it up to date with the latest merges and I triggered the CI don't know if it would be possible to approve the CI again or maybe merge the changes since all tests passed last time around.
Thanks a lot 😄

@baskaryan baskaryan enabled auto-merge (squash) March 15, 2024 18:58
@baskaryan baskaryan merged commit f5b9aed into langchain-ai:master Mar 15, 2024
59 checks passed
rahul-trip pushed a commit to daxa-ai/langchain that referenced this pull request Mar 27, 2024
… integration (langchain-ai#18595)

- **Description:** This modification adds pydantic input definition for
sql_database tools. This helps for function calling capability in
LangGraph. Since actions nodes will usually check for the args_schema
attribute on tools, This update should make these tools compatible with
it (only implemented on the InfoSQLDatabaseTool)
  - **Issue:** N/A
  - **Dependencies:** N/A
  - **Twitter handle:** juanfe8881
bechbd pushed a commit to bechbd/langchain that referenced this pull request Mar 29, 2024
… integration (langchain-ai#18595)

- **Description:** This modification adds pydantic input definition for
sql_database tools. This helps for function calling capability in
LangGraph. Since actions nodes will usually check for the args_schema
attribute on tools, This update should make these tools compatible with
it (only implemented on the InfoSQLDatabaseTool)
  - **Issue:** N/A
  - **Dependencies:** N/A
  - **Twitter handle:** juanfe8881
gkorland pushed a commit to FalkorDB/langchain that referenced this pull request Mar 30, 2024
… integration (langchain-ai#18595)

- **Description:** This modification adds pydantic input definition for
sql_database tools. This helps for function calling capability in
LangGraph. Since actions nodes will usually check for the args_schema
attribute on tools, This update should make these tools compatible with
it (only implemented on the InfoSQLDatabaseTool)
  - **Issue:** N/A
  - **Dependencies:** N/A
  - **Twitter handle:** juanfe8881
hinthornw pushed a commit that referenced this pull request Apr 26, 2024
… integration (#18595)

- **Description:** This modification adds pydantic input definition for
sql_database tools. This helps for function calling capability in
LangGraph. Since actions nodes will usually check for the args_schema
attribute on tools, This update should make these tools compatible with
it (only implemented on the InfoSQLDatabaseTool)
  - **Issue:** N/A
  - **Dependencies:** N/A
  - **Twitter handle:** juanfe8881
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:improvement Medium size change to existing code to handle new use-cases lgtm PR looks good. Use to confirm that a PR is ready for merging. Ɑ: Runnables Related to Runnables size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants