Articles with the tag:
Close
Changelog
Close
Articles with the tag:
Close
Try in the cloud
Try in the cloud

ChatGPT

The ChatGPT plugin allows you to use the OpenAI chatbot to perform tasks that involve understanding or generating natural language or code.

Starting with ONLYOFFICE Docs 8.2, no plugins come with the editors by default. The plugins shall be installed via Plugin Manager.

Installation

To install the ChatGPT plugin,

  1. Go to the Plugins tab.
  2. Open the Plugin Manager.
  3. Find
    ChatGPT on the marketplace and click the Install button below.

    ChatGPT Installation

  4. Right-click anywhere in the document and find
    ChatGPT in the context menu.
  5. Click Settings to proceed with the plugin configuration.

    ChatGPT Context Menu

Configuration

  1. Create your API key on the OpenAI API key page.
  2. Copy the generated API key into the corresponding field of the Settings window.

ChatGPT API Key

How to use

ONLYOFFICE assumes no responsibility for any ChatGPT completions that may contain errors or omissions as well as for any harassing and inappropriate content. The information contained in the plugin completions is generated by ChatGPT and is provided on the "as is" basis without additional filtering from ONLYOFFICE.

Once installed ChatGPT will be added to the context menu, and all of the ChatGPT features will be accessed with a right mouse click. Select a piece of text or a word to access the context menu and to choose one of the ChatGPT features: Text Analysis, Word Analysis, Translation, Image Generation, Thesaurus, Chat, and Custom Request.

Chat

Integration of ChatGPT into the context menu allows you to invoke the Chat from anywhere in the document. Use chatbot to interact and carry on a conversation, ask questions, and receive responses to your requests.

Navigate to the Chat option from the ChatGPT context menu, and start a conversation in the text box at the bottom of the ChatGPT window.

ChatGPT Chat

Custom Request

The Custom Request feature allows you to tokenize natural language or code. The tool converts the input text into a list of tokens, processes the request, converts the generated tokens back to the text, and returns the string in the document.

  1. To make a custom request, go to the ChatGPT context menu, and click Custom request.
  2. In the Open AI text box, enter the text you would like to tokenize. The tool shows the total number of tokens in the text.

    ChatGPT Custom

  3. Click the Show advanced settings to configure the request settings:

    ChatGPT Custom Model

    • Model - the model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code. To learn more about these models, please refer to the official ChatGPT website.
    • Maximum length - the maximum number of tokens to generate in the completion.
    • Temperature - this parameter controls randomness, e.g., lowering it results in less random completions. As the temperature approaches zero, the node will become deterministic and repetitive.
    • Top P - an alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
    • Stop sequences - up to four sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.
  4. Click the Submit button to process the text, or click the Clear button to delete the request and enter a new one.
Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action