The OpenAI Text Data Connector enables you to use ChatGPT to manipulate text. Using this Data Connector you can correct spelling mistakes and simplify text for improved comprehension.
This Data Connector extends the functionality of the OpenAI Data Connector.
Once this and the OpenAI Data Connector have been installed and added to a Form, you can access this Data Connector in the Form's server event scripts using: connectors.verjio.openai
.
openai.correctSpelling
corrects spelling mistakes and typos in your text. It will also replace misused homonyms and missing whitespace.
openai.simplify
returns a simplified and shortened version of the text. The output will be faster to read and comprehend and may be more suitable for non-native readers.
Code example:
var result = connectors.verjio.openai.correctSpelling(
'Apollo 8 wasthe first crude spacecraft to leav elow Earth orbit and the first human spaceflight to reech the Moon'
);
For comprehensive information on how to use and develop applications with this Data Connector please refer to the Support section.
The Installation section has instructions on installing it into your Workspace.
Complete JavaScript API documentation for this Data Connector can be found in the Documentation section.