The OpenAI Data Connector uses OpenAI's Artificial Intelligence assistants, such as ChatGPT, to provide the ability to make text-based edits, queries and completions.
Once installed and added to a Form, you can access this Data Connector in the Form's server event scripts using: connectors.verjio.openai
.
openai.edit
modifies some text in some way. For example, you might ask it to make some text more empathetic.
openai.query
returns an answer to a question.
openai.completion
allows you to have a chat with ChatGPT. It takes the previous messages to and from ChatGPT and then can expand on that conversation. For example, you might ask it to make the previous response have a more light-hearted tone.
Code Example:
var result = connectors.verjio.openai.query("Who has landed on 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.