Skip to content

Commit

Permalink
generateReadme: Refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 27, 2023
1 parent a00c42a commit 3fe2928
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 201 deletions.
48 changes: 24 additions & 24 deletions .github/push_templates_to_algolia.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"id": "aa0e3e6f-1260-4452-8abf-7c084e26c8a4",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T15:59:56.506547Z",
"iopub.status.busy": "2023-09-27T15:59:56.506022Z",
"iopub.status.idle": "2023-09-27T15:59:56.562318Z",
"shell.execute_reply": "2023-09-27T15:59:56.561624Z"
"iopub.execute_input": "2023-09-27T16:17:57.322553Z",
"iopub.status.busy": "2023-09-27T16:17:57.322243Z",
"iopub.status.idle": "2023-09-27T16:17:57.383308Z",
"shell.execute_reply": "2023-09-27T16:17:57.382547Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -95,10 +95,10 @@
"id": "cfa97168-63eb-4e8c-89c3-0a5d26f47740",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T15:59:56.566046Z",
"iopub.status.busy": "2023-09-27T15:59:56.565813Z",
"iopub.status.idle": "2023-09-27T15:59:56.570590Z",
"shell.execute_reply": "2023-09-27T15:59:56.569968Z"
"iopub.execute_input": "2023-09-27T16:17:57.387519Z",
"iopub.status.busy": "2023-09-27T16:17:57.387106Z",
"iopub.status.idle": "2023-09-27T16:17:57.391322Z",
"shell.execute_reply": "2023-09-27T16:17:57.390625Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -141,10 +141,10 @@
"id": "7a9c86c2-931d-4113-abbc-31b3f517b6c4",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T15:59:56.573845Z",
"iopub.status.busy": "2023-09-27T15:59:56.573311Z",
"iopub.status.idle": "2023-09-27T15:59:56.589651Z",
"shell.execute_reply": "2023-09-27T15:59:56.589017Z"
"iopub.execute_input": "2023-09-27T16:17:57.394722Z",
"iopub.status.busy": "2023-09-27T16:17:57.394291Z",
"iopub.status.idle": "2023-09-27T16:17:57.409632Z",
"shell.execute_reply": "2023-09-27T16:17:57.408799Z"
},
"tags": []
},
Expand Down Expand Up @@ -178,10 +178,10 @@
"id": "c50e96b2-4403-413c-a99a-9243be0c0a04",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T15:59:56.592698Z",
"iopub.status.busy": "2023-09-27T15:59:56.592144Z",
"iopub.status.idle": "2023-09-27T15:59:57.421130Z",
"shell.execute_reply": "2023-09-27T15:59:57.420228Z"
"iopub.execute_input": "2023-09-27T16:17:57.413890Z",
"iopub.status.busy": "2023-09-27T16:17:57.413490Z",
"iopub.status.idle": "2023-09-27T16:17:58.236093Z",
"shell.execute_reply": "2023-09-27T16:17:58.235038Z"
},
"tags": []
},
Expand Down Expand Up @@ -230,10 +230,10 @@
"id": "da661ba3-fd15-4abc-bd4f-d13ae77b82b0",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T15:59:57.424707Z",
"iopub.status.busy": "2023-09-27T15:59:57.424244Z",
"iopub.status.idle": "2023-09-27T15:59:58.428920Z",
"shell.execute_reply": "2023-09-27T15:59:58.428135Z"
"iopub.execute_input": "2023-09-27T16:17:58.240293Z",
"iopub.status.busy": "2023-09-27T16:17:58.239626Z",
"iopub.status.idle": "2023-09-27T16:17:59.283387Z",
"shell.execute_reply": "2023-09-27T16:17:59.282561Z"
},
"tags": []
},
Expand All @@ -260,10 +260,10 @@
"id": "f1482a8f-4ce5-4e04-93c8-ddd883375d67",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T15:59:58.432661Z",
"iopub.status.busy": "2023-09-27T15:59:58.432064Z",
"iopub.status.idle": "2023-09-27T15:59:58.450792Z",
"shell.execute_reply": "2023-09-27T15:59:58.450134Z"
"iopub.execute_input": "2023-09-27T16:17:59.287766Z",
"iopub.status.busy": "2023-09-27T16:17:59.287011Z",
"iopub.status.idle": "2023-09-27T16:17:59.308812Z",
"shell.execute_reply": "2023-09-27T16:17:59.308068Z"
},
"tags": []
},
Expand Down
140 changes: 4 additions & 136 deletions OpenAI/OpenAI_Act_as_a_School_Teacher.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,6 @@
"execution_count": 1,
"id": "cc038b10-2679-42bc-909e-09a298339df4",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T16:12:24.891628Z",
"iopub.status.busy": "2023-09-27T16:12:24.891369Z",
"iopub.status.idle": "2023-09-27T16:12:29.682274Z",
"shell.execute_reply": "2023-09-27T16:12:29.681643Z",
"shell.execute_reply.started": "2023-09-27T16:12:24.891560Z"
},
"papermill": {},
"tags": []
},
Expand Down Expand Up @@ -149,13 +142,6 @@
"execution_count": 2,
"id": "6cf9bd9b-ce83-45a5-ab0f-15c978458b42",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T16:12:29.683893Z",
"iopub.status.busy": "2023-09-27T16:12:29.683605Z",
"iopub.status.idle": "2023-09-27T16:12:29.690166Z",
"shell.execute_reply": "2023-09-27T16:12:29.689515Z",
"shell.execute_reply.started": "2023-09-27T16:12:29.683858Z"
},
"papermill": {},
"tags": []
},
Expand Down Expand Up @@ -199,26 +185,10 @@
"execution_count": 3,
"id": "ac0af791-9f6d-4da8-82d0-1defed0bc59f",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T16:12:29.691369Z",
"iopub.status.busy": "2023-09-27T16:12:29.691142Z",
"iopub.status.idle": "2023-09-27T16:12:30.236461Z",
"shell.execute_reply": "2023-09-27T16:12:30.234717Z",
"shell.execute_reply.started": "2023-09-27T16:12:29.691341Z"
},
"papermill": {},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"✅ System prompt tokens count OK: 34 (limit: 20% -> 3277)\n",
"💾 Plugin successfully saved. You can use it in your Naas Chat with: act_as_a_school_teacher_plugin.json\n"
]
}
],
"outputs": [],
"source": [
"plugin_file_path = naas_chat_plugin.create_plugin(\n",
" name=name,\n",
Expand Down Expand Up @@ -257,13 +227,6 @@
"execution_count": 12,
"id": "6f856fb7-6c52-439c-ac73-b30f56bc9efa",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T16:15:27.356278Z",
"iopub.status.busy": "2023-09-27T16:15:27.355515Z",
"iopub.status.idle": "2023-09-27T16:15:27.378873Z",
"shell.execute_reply": "2023-09-27T16:15:27.378189Z",
"shell.execute_reply.started": "2023-09-27T16:15:27.355788Z"
},
"papermill": {},
"tags": [
"plugin"
Expand Down Expand Up @@ -301,84 +264,10 @@
"execution_count": 5,
"id": "9225ec63-7558-4469-b419-5564961eba9c",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T16:12:30.274413Z",
"iopub.status.busy": "2023-09-27T16:12:30.274075Z",
"iopub.status.idle": "2023-09-27T16:12:30.908846Z",
"shell.execute_reply": "2023-09-27T16:12:30.906828Z",
"shell.execute_reply.started": "2023-09-27T16:12:30.274380Z"
},
"papermill": {},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"👌 Well done! Your Assets has been sent to production.\n",
"\n"
]
},
{
"data": {
"application/javascript": [
"\n",
" if (!window.copyToClipboard) {\n",
" window.copyToClipboard = (text) => {\n",
" const dummy = document.createElement(\"textarea\");\n",
" document.body.appendChild(dummy);\n",
" dummy.value = text;\n",
" dummy.select();\n",
" document.execCommand(\"copy\");\n",
" document.body.removeChild(dummy);\n",
" }\n",
" }\n",
" "
],
"text/plain": [
"<IPython.core.display.Javascript object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "98bb7f2587f94681a7441f4d0854d70a",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Button(button_style='primary', description='Copy URL', style=ButtonStyle())"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "f79feec36721462d9a32f8d1464f2f47",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Output()"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"PS: to remove the \"Assets\" feature, just replace .add by .delete\n"
]
}
],
"outputs": [],
"source": [
"plugin_url = naas.asset.add(plugin_file_path, params={\"inline\": True})"
]
Expand All @@ -400,31 +289,10 @@
"execution_count": 6,
"id": "78175e42-00ca-4aa7-86f2-b889d0f10401",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T16:12:30.922088Z",
"iopub.status.busy": "2023-09-27T16:12:30.920363Z",
"iopub.status.idle": "2023-09-27T16:12:30.938575Z",
"shell.execute_reply": "2023-09-27T16:12:30.937754Z",
"shell.execute_reply.started": "2023-09-27T16:12:30.922056Z"
},
"papermill": {},
"tags": []
},
"outputs": [
{
"data": {
"text/markdown": [
"[Create New Chat](https://naas.ai/chat/use?plugin_url=https://public.naas.ai/ZmxvcmVudC00MG5hYXMtMkVhaQ==/asset/24e543d96eb28091a8156ec9b131b32b7564595008bcaa13a17bb3ed424f)"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"Markdown(f\"[Create New Chat](https://naas.ai/chat/use?plugin_url={plugin_url})\")"
]
Expand Down Expand Up @@ -468,4 +336,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Loading

0 comments on commit 3fe2928

Please sign in to comment.