From 644ff46100cef4ec11bd3e2064afa0569697d118 Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Thu, 4 Apr 2024 14:33:55 -0700 Subject: [PATCH] docs: mark anthropic tools wrapper as deprecated (#20024) --- docs/docs/integrations/chat/anthropic_functions.ipynb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/docs/integrations/chat/anthropic_functions.ipynb b/docs/docs/integrations/chat/anthropic_functions.ipynb index 883bb22398..bf4c3d9b42 100644 --- a/docs/docs/integrations/chat/anthropic_functions.ipynb +++ b/docs/docs/integrations/chat/anthropic_functions.ipynb @@ -5,7 +5,13 @@ "id": "5125a1e3", "metadata": {}, "source": [ - "# Anthropic Tools\n", + "# [Deprecated] Experimental Anthropic Tools Wrapper\n", + "\n", + "::: {.callout-warning}\n", + "\n", + "The Anthropic API officially supports tool-calling so this workaround is no longer needed. Please use [ChatAnthropic](/docs/integrations/chat/anthropic) with `langchain-anthropic>=0.1.5`.\n", + "\n", + ":::\n", "\n", "This notebook shows how to use an experimental wrapper around Anthropic that gives it tool calling and structured output capabilities. It follows Anthropic's guide [here](https://docs.anthropic.com/claude/docs/functions-external-tools)\n", "\n", @@ -116,7 +122,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.4" + "version": "3.9.1" } }, "nbformat": 4,