From 972888b9d64e1fea1d9a56b13268235ea55b9d66 Mon Sep 17 00:00:00 2001 From: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> Date: Wed, 6 Nov 2024 23:57:14 +0530 Subject: [PATCH] fix(docs): correct outdated references to tool kinds (#49) --- README.md | 2 +- docs/tools/README.md | 2 +- sdks/langchain/src/toolbox_langchain_sdk/client.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4225ca2b7e..7c5ff3953d 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ is, which source it affects, what parameters it takes, etc. ```yaml tools: get_flight_by_id: - kind: cloud-sql-postgres-generic + kind: postgres-sql source: my-pg-instance description: > Use this tool to list all airports matching search criteria. Takes diff --git a/docs/tools/README.md b/docs/tools/README.md index 61454da6fa..ae725d7f64 100644 --- a/docs/tools/README.md +++ b/docs/tools/README.md @@ -7,7 +7,7 @@ file. Typically, a tool will require a source to act on: ```yaml tools: search_flights_by_number: - kind: cloud-sql-postgres-generic + kind: postgres-sql source: my-pg-instance statement: | SELECT * FROM flights diff --git a/sdks/langchain/src/toolbox_langchain_sdk/client.py b/sdks/langchain/src/toolbox_langchain_sdk/client.py index c3cd57cf35..00bd3e1aca 100644 --- a/sdks/langchain/src/toolbox_langchain_sdk/client.py +++ b/sdks/langchain/src/toolbox_langchain_sdk/client.py @@ -81,7 +81,7 @@ class ToolboxClient: Loads the tool, with the given tool name, from the Toolbox service. Args: - toolset_name: The name of the toolset to load. + tool_name: The name of the tool to load. Default: None. If not provided, then all the tools are loaded. Returns: