mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
Overview
The ChatGPT API can be applied to virtually any task that involves understanding or generating natural language or code.
The plugin uses the OpenAI engine.
It is called "ChatGPT" and isn't installed by default in cloud, self-hosted and desktop version of ONLYOFFICE editors.
How to use
- Install the plugin.
- Use right click in any place in the editor -> ChatGPT to access the plugin settings.
- You can insert your request in "custom request" item.
- Choose settings that you want (we've already set default settings for example).
- Click "Make request" button.
- You also can make other predefined requests, but it is still related to what is highlighted.
Request examples
- Create a html table with 3 biggest countrie and highligh headers and also highlight countries.
- Who wrote "Hamlet"?
- How much is 2 to the 50th power?
- Write an excel formula to summorize Revenue by countries which name contains "e". The revenue in column "B" from "B2" to "B11" and countries in column "A" from "A2" to "A11".
- Write a tagline for an ice cream shop.
Warning
- For request from context menu it has restriction by gpt-4 model: 8k tokens.
- If you don't have a subscription on "gtp-4" model, plugin will use one of "gpt-3.5" models. In this case restriction could be from 4k to 16k (depends from model).
Known issues
- Doesn't work in China.
If you need more information about how to use or write your own plugin, please see this https://api.onlyoffice.com/plugin/basic