From f49aa479736039f882d2697e722bf6a5c4eb56e4 Mon Sep 17 00:00:00 2001 From: Alexey Matveev Date: Fri, 31 Mar 2023 15:01:50 +0300 Subject: [PATCH 01/26] [chatgpt] Add new model. --- sdkjs-plugins/content/openai/3rd-Party.txt | 1 + sdkjs-plugins/content/openai/README.md | 2 +- sdkjs-plugins/content/openai/index.html | 2 +- .../content/openai/resources/css/styles.css | 4 +- sdkjs-plugins/content/openai/scripts/code.js | 39 +++++++++++++------ 5 files changed, 33 insertions(+), 15 deletions(-) diff --git a/sdkjs-plugins/content/openai/3rd-Party.txt b/sdkjs-plugins/content/openai/3rd-Party.txt index 698ce5c7..c4e7d652 100644 --- a/sdkjs-plugins/content/openai/3rd-Party.txt +++ b/sdkjs-plugins/content/openai/3rd-Party.txt @@ -12,6 +12,7 @@ License File: jQuery.license License: MIT License File: Select2.license + 3. GPT-3-Encoder is a Javascript BPE Encoder Decoder for GPT-2 / GPT-3. (https://github.com/latitudegames/GPT-3-Encoder/) License: MIT diff --git a/sdkjs-plugins/content/openai/README.md b/sdkjs-plugins/content/openai/README.md index cfe6e9e0..c556f2c5 100644 --- a/sdkjs-plugins/content/openai/README.md +++ b/sdkjs-plugins/content/openai/README.md @@ -4,7 +4,7 @@ The ChatGPT API can be applied to virtually any task that involves understanding The plugin uses the [OpenAI](https://openai.com/) engine. -It is called "ChatGPT " in the interface and isn't installed by default in cloud, [self-hosted](https://github.com/ONLYOFFICE/DocumentServer) and [desktop version](https://github.com/ONLYOFFICE/DesktopEditors) of ONLYOFFICE editors. +It is called "ChatGPT" in the interface and isn't installed by default in cloud, [self-hosted](https://github.com/ONLYOFFICE/DocumentServer) and [desktop version](https://github.com/ONLYOFFICE/DesktopEditors) of ONLYOFFICE editors. ## How to use diff --git a/sdkjs-plugins/content/openai/index.html b/sdkjs-plugins/content/openai/index.html index 38b4bdfb..5dbbea2c 100644 --- a/sdkjs-plugins/content/openai/index.html +++ b/sdkjs-plugins/content/openai/index.html @@ -50,7 +50,7 @@