The OpenAI Generate Data Connector enables you to use ChatGPT to generate ideas and descriptive text about a prompt.
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.generateTitle
returns a suggested title from a description or summary.
openai.generateDescription
generates a concise, readable description from a detailed prompt or longer description.
openai.generateSlogan
returns a slogan or strapline for a product, service or group.
openai.generateIdea
returns a detailed description of one or more ideas to fulfil a brief.
openai.generate
instructs ChatGTP to generate text about a prompt. For example, you may want to generate a poem about the sound of snow crunching underfoot.
Code example:
var result = connectors.verjio.openai.generate(
'username',
`A ${fields.gender.value} user named ${fields.firstName.value}`
);
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.