Job Runner

Generate Text From Text Using OpenAI

Summary

Send the messages to OpenAI, then retrieve texts from OpenAI.

Usage

To perform this Do, you need to issue an API key with your OpenAI account.

You can send messages to the language model provided on OpenAI, then retrieve the texts generated by that model.

The generated text will be set as the result value of the action. The result value of the action can be referenced using expressions like “= $1”.

This Do cannot send images to OpenAI. To generate text with images using OpenAI, use “Generate Text From Text and Images Using OpenAI”.

Parameters

Set OpenAI API Key, Model, Message, and Target Field (Optional).

OpenAI API Key

Specify the API key that OpenAI has issued in advance.

Please note that this is not about the API token on the Kintone app.

Model

Specify the language model to which the message will be sent.

Message

Specify the message to be sent to OpenAI.

Target Field (Optional)

Specify when setting the generated text in the field. If you plan to reuse the text in another Action without exporting it, you can leave this parameter empty.

This parameter accepts the following field types:

  • Text area

This parameter does not accept fields that are inside tables.

Precautions

Please judge the accuracy of the content generated by OpenAI and use it at your own risk.

Restrictions

  • If the size of “Message” exceeds approximately 50MB, an error will occur.
  • Text generation by OpenAI will result in an error if it exceeds about 1 minute.