[Docs] Add ruff linting to .ipynb files (#645)

This commit is contained in:
William FH
2024-06-11 18:02:49 -07:00
committed by GitHub
parent 854bf2c295
commit 4eab1739da
67 changed files with 741 additions and 850 deletions
+2 -2
View File
@@ -420,8 +420,8 @@
"metadata": {},
"outputs": [],
"source": [
"from langchain_core.prompts import ChatPromptTemplate\n",
"from langchain_anthropic import ChatAnthropic\n",
"from langchain_core.prompts import ChatPromptTemplate\n",
"\n",
"# Or you can use ChatGroq, ChatOpenAI, ChatGoogleGemini, ChatCohere, etc.\n",
"# See https://python.langchain.com/v0.1/docs/integrations/chat/ for more info on tool calling\n",
@@ -953,7 +953,7 @@
"\n",
"try:\n",
" display(Image(bound_llm.get_graph().draw_mermaid_png()))\n",
"except:\n",
"except Exception:\n",
" pass"
]
},