Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Dec 13, 2024
1 parent 174b79f commit b03676d
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions docs/core_docs/docs/tutorials/sql_qa.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,6 @@
"Now, `Chinook.db` is in our directory and we can interface with it using the [SqlDatabase](https://api.js.langchain.com/classes/langchain.sql_db.SqlDatabase.html) class:"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"true\n"
]
}
],
"source": [
"process.env[\"LANGCHAIN_TRACING_V2\"] = \"true\";"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand Down Expand Up @@ -1005,10 +988,10 @@
}
],
"source": [
"let inputs2 = { messages: [{ role: \"user\", content: \"Describe the playlisttrack table\" }] };\n",
"let inputs3 = { messages: [{ role: \"user\", content: \"Describe the playlisttrack table\" }] };\n",
"\n",
"for await (\n",
" const step of await agent.stream(inputs2, {\n",
" const step of await agent.stream(inputs3, {\n",
" streamMode: \"values\",\n",
" })\n",
") {\n",
Expand Down Expand Up @@ -1287,10 +1270,10 @@
}
],
"source": [
"let inputs3 = { messages: [{ role: \"user\", content: \"How many albums does alis in chain have?\" }] };\n",
"let inputs4 = { messages: [{ role: \"user\", content: \"How many albums does alis in chain have?\" }] };\n",
"\n",
"for await (\n",
" const step of await agent2.stream(inputs3, {\n",
" const step of await agent2.stream(inputs4, {\n",
" streamMode: \"values\",\n",
" })\n",
") {\n",
Expand Down

0 comments on commit b03676d

Please sign in to comment.