Skip to content

Commit

Permalink
commented Langsmith cell in notebook 11
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomarin committed Apr 20, 2024
1 parent 55d5764 commit 8664c37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions 11-Smart_Agent.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,10 @@
"outputs": [],
"source": [
"## Uncomment if you want to trace and monitor the runs with LangSmith\n",
"\n",
"os.environ[\"LANGCHAIN_TRACING_V2\"] = \"True\"\n",
"os.environ[\"LANGCHAIN_ENDPOINT\"] = \"https://api.smith.langchain.com\"\n",
"os.environ[\"LANGCHAIN_API_KEY\"] = \"ls__9c72d797a788447e92369bb631b791e9\"\n",
"os.environ[\"LANGCHAIN_PROJECT\"] = \"Notebook.11-MTC-Session\""
"# os.environ[\"LANGCHAIN_TRACING_V2\"] = \"True\"\n",
"# os.environ[\"LANGCHAIN_ENDPOINT\"] = \"https://api.smith.langchain.com\"\n",
"# os.environ[\"LANGCHAIN_API_KEY\"] = \"<ENTER_YOUR_LANGSMITH_API>\"\n",
"# os.environ[\"LANGCHAIN_PROJECT\"] = \"Notebook.11\""
]
},
{
Expand Down Expand Up @@ -783,7 +782,7 @@
" for answer in result:\n",
" printmd(\"**\"+answer[\"type\"] + \"**\" + \": \" + answer[\"output\"])\n",
" printmd(\"----\")\n",
" \n",
" \n",
"# .map() allows us to apply a function to a list of inputs.\n",
"call_tool_list = RunnableLambda(call_tool).map()\n",
"agent = llm_with_tools | JsonOutputToolsParser() | call_tool_list"
Expand Down
2 changes: 1 addition & 1 deletion 14-LangServe-API.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"id": "3dd1de00-d697-4b2f-a656-60177046d24d",
"metadata": {},
"source": [
"# Buidling the FastAPI Backend using Langserve"
"# Building the FastAPI Backend using Langserve"
]
},
{
Expand Down

0 comments on commit 8664c37

Please sign in to comment.