From 0ff9bf7f0b1fc783d25ef118722a95a8157cdd5a Mon Sep 17 00:00:00 2001 From: MrChengmo Date: Mon, 11 Mar 2024 12:06:39 +0800 Subject: [PATCH] return cookbooks/agent_runtime.ipynb --- cookbooks/agent_runtime.ipynb | 50 ++++------------------------------- 1 file changed, 5 insertions(+), 45 deletions(-) diff --git a/cookbooks/agent_runtime.ipynb b/cookbooks/agent_runtime.ipynb index 8aed09855..289006f25 100644 --- a/cookbooks/agent_runtime.ipynb +++ b/cookbooks/agent_runtime.ipynb @@ -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 log for further details." - ] - } - ], + "outputs": [], "source": [ "pip install appbuilder-sdk 'appbuilder-sdk[serve]'" ] @@ -383,7 +348,7 @@ }, { "cell_type": "markdown", - "id": "2392f46d",ERNIE Speed-AppBuilder + "id": "2392f46d", "metadata": {}, "source": [ "### 2. Session 数据管理\n", @@ -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", @@ -543,7 +508,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -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,