Integrating OpenAI ChatGPT with TX Text Control to Rephrase Content

General News

Summary

ChatGPT, and generative AI in general, can be used to set the tone of a sentence or rephrase content by expanding or shortening it, and offers many interesting applications in the field of document processing. The following sample project shows how to integrate ChatGPT functionality into a document editor to rephrase the sentence at the current input position. In the example, the additional ribbon group is created as an HTML document located in the wwwroot folder that is dynamically loaded into the DOM: The chatgpt_group.html contains the HTML, CSS and JavaScript to send a HttpPost request to the controller method of the ChatGPTController controller. The function basically gets the text of the paragraph at the current input position and sends a ChatGPTRequest object to the method. The return value is used to replace the paragraph text after a successful request.

Classifications

industries
No industries detected
applications
Web and Content Management

AskAI Classifications

Labels
Document Processing Software Development Tools Software Components

Linked Companies

Text Control GmbH
$1M to $5M
OpenAI
$25M to $50M