Rule: OpenAI Boolean (AI Interpolator OpenAI)

Last updated on
19 February 2024

This page has not yet been reviewed by AI Interpolator maintainer(s) and added to the menu.

Base data:

Summary:
The OpenAI Boolean field is taking a prompt with possible context and answering a question about it with a yes or no and filling out/checking a boolean field.

When using an OpenAI vision model, you can also use the combination of prompt and image to get the response you want.

Module needed:
AI Interpolator OpenAI

Field types to populate:
Boolean (core module).

Base Fields types to use as context:

  • Text (plain)
  • Text (plain, long)
  • Text (formatted)
  • Text (formatted, long)
  • Text (formatted, long, with summary)

Extra Requirements:
You need a paid OpenAI account with API access.

Prompting tips:

Make sure that you use the placeholders {{ true }} and {{ false }} when writing the query, so it will store the boolean values correctly.

Extra Settings:

None

Extra Advanced Settings:

OpenAI Model

The model to use from OpenAI. Read more here about capabilities and more here about pricing.

OpenAI Vision Image

This only shows up if you choose a model that is capable of vision. When that is chosen you can choose an image field here to use as context for your query.

OpenAI Role

If there should be pre-context or understanding on who the GPT should be, please fill out the role here. Should be short if used.

OpenAI Moderation

This runs each query through OpenAI's moderation api. It makes sure that you do not send a query to OpenAI that breaks their content policy, which could leave to account cancellation. There is almost never any reason not to uncheck this, it is free. The only reason would be if you know what you are going to send does not break the content policy and you want to speed up multiple queries.

Possible example use cases:

  • Automatically check if an editorial text is NSFW or contains bad language.
  • Answer any yes or no question and connect that to an advanced ECA logic.

Help improve this page

Page status: No known problems

You can: