Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions docs/examples/agent/Chatbot_SEC.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,7 @@
}
],
"source": [
"from llama_index.core.workflow import Context\n",
"\n",
"# Setup the context for this specific interaction\n",
"ctx = Context(agent)\n",
"\n",
"response = await agent.run(\"hi, i am bob\", ctx=ctx)\n",
"print(str(response))"
"from workflows import Context\n\n# Setup the context for this specific interaction\nctx = Context(agent)\n\nresponse = await agent.run(\"hi, i am bob\", ctx=ctx)\nprint(str(response))"
]
},
{
Expand Down Expand Up @@ -571,4 +565,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Loading
Loading