Skip to content

Commit

Permalink
return cookbooks/agent_runtime.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChengmo committed Mar 11, 2024
1 parent b779eb9 commit 0ff9bf7
Showing 1 changed file with 5 additions and 45 deletions.
50 changes: 5 additions & 45 deletions cookbooks/agent_runtime.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,42 +34,7 @@
"languageId": "shellscript"
}
},
"outputs": [
{
"ename": "",
"evalue": "",
"output_type": "error",
"traceback": [
"\u001b[1;31mFailed to start the Kernel. \n",
"\u001b[1;31mJupyter server crashed. Unable to connect. \n",
"\u001b[1;31mError code from Jupyter: 1\n",
"\u001b[1;31musage: jupyter.py [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]\n",
"\u001b[1;31m [--paths] [--json] [--debug]\n",
"\u001b[1;31m [subcommand]\n",
"\u001b[1;31m\n",
"\u001b[1;31mJupyter: Interactive Computing\n",
"\u001b[1;31m\n",
"\u001b[1;31mpositional arguments:\n",
"\u001b[1;31m subcommand the subcommand to launch\n",
"\u001b[1;31m\n",
"\u001b[1;31moptional arguments:\n",
"\u001b[1;31m -h, --help show this help message and exit\n",
"\u001b[1;31m --version show the versions of core jupyter packages and exit\n",
"\u001b[1;31m --config-dir show Jupyter config dir\n",
"\u001b[1;31m --data-dir show Jupyter data dir\n",
"\u001b[1;31m --runtime-dir show Jupyter runtime dir\n",
"\u001b[1;31m --paths show all Jupyter paths. Add --json for machine-readable\n",
"\u001b[1;31m format.\n",
"\u001b[1;31m --json output paths as machine-readable json\n",
"\u001b[1;31m --debug output debug information about paths\n",
"\u001b[1;31m\n",
"\u001b[1;31mAvailable subcommands:\n",
"\u001b[1;31m\n",
"\u001b[1;31mJupyter command `jupyter-notebook` not found. \n",
"\u001b[1;31mView Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details."
]
}
],
"outputs": [],
"source": [
"pip install appbuilder-sdk 'appbuilder-sdk[serve]'"
]
Expand Down Expand Up @@ -383,7 +348,7 @@
},
{
"cell_type": "markdown",
"id": "2392f46d",ERNIE Speed-AppBuilder
"id": "2392f46d",
"metadata": {},
"source": [
"### 2. Session 数据管理\n",
Expand Down Expand Up @@ -418,7 +383,7 @@
"class PlaygroundWithHistory(Component):\n",
" def __init__(self):\n",
" super().__init__()\n",
" self.query_rewrite = QueryRewrite(model=\"ERNIE Speed-AppBuilder\")\n",
" self.query_rewrite = QueryRewrite(model=\"EB-turbo-AppBuilder专用版\")\n",
" self.playground = Playground(\n",
" prompt_template=\"{query}\",\n",
" model=\"ERNIE-Bot\"\n",
Expand Down Expand Up @@ -543,7 +508,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -557,12 +522,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
},
"vscode": {
"interpreter": {
"hash": "31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6"
}
"version": "3.8.9"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 0ff9bf7

Please sign in to comment.