The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: IBM watsonx.ai Use `invoke` instead of `__call__` (#16371)
Mateusz Szewczyk076dbb1a8f62
diff --git a/docs/docs/integrations/llms/watsonxllm.ipynb b/docs/docs/integrations/llms/watsonxllm.ipynbindex be5d0841cd..f0b142cf96 100644--- a/docs/docs/integrations/llms/watsonxllm.ipynb+++ b/docs/docs/integrations/llms/watsonxllm.ipynb@@ -176,7 +176,7 @@},{"cell_type": "code",- "execution_count": 4,+ "execution_count": 3,"id": "c7d80c05","metadata": {},"outputs": [],@@ -197,17 +197,18 @@},{"cell_type": "code",- "execution_count": 5,+ "execution_count": 4,"id": "dc076c56","metadata": {},"outputs": [{"data": {"text/plain": [- "'How many breeds of dog are there?'"+ "{'topic': 'dog',\n",+ " 'text': 'What is the name of the dog that is the most popular in the world?'}"]},- "execution_count": 5,+ "execution_count": 4,"metadata": {},"output_type": "execute_result"}@@ -216,7 +217,7 @@"from langchain.chains import LLMChain\n","\n","llm_chain = LLMChain(prompt=prompt, llm=watsonx_llm)\n",- "llm_chain.run(\"dog\")"+ "llm_chain.invoke(\"dog\")"]},{@@ -248,7 +249,7 @@"source": ["# Calling a single prompt\n","\n",- "watsonx_llm(\"Who is man's best friend?\")"+ "watsonx_llm.invoke(\"Who is man's best friend?\")"]},{@@ -327,7 +328,7 @@"name": "python","nbconvert_exporter": "python","pygments_lexer": "ipython3",- "version": "3.9.18"+ "version": "3.10.13"}},"nbformat": 4,