Rule: OpenAI String/Text (Long) (With Summary) (AI Interpolator OpenAI)

Last updated on
20 February 2024

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

Base data:

Summary:
The following rules are documented here, since they work more or less the same:

  • OpenAI String
  • OpenAI Text
  • OpenAI String Long
  • OpenAI Text Long
  • OpenAI Text with Summary

This field is taking a prompt and filling it with textual material. In the case of formatted field, it can also generate HTML for you.

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:

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

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:

The prompt is very sensitive to understand when you want to put multiple values into one text field or if you want to put one big text mass with multiple paragraphs into one single text field.

If you want to generate multiple text values into a multi-field prompt like "Generate Y amount of values of X paragraphs of Y sentences of..."

If you want to generate one large single text value prompt like "Generate one big value of X paragraphs of Y sentences of ...".

If you just write "Generate X paragraphs of Y sentences of..." it's not sure if the paragraph splitting means multiple values or one value.

If you want to generate HTML on the applicable fields, type out which tags it should use. In case you have styles/classes you could even add those. Something like "You may answer with HTML tags, like headers, strong, italic and unformatted lists. When using H2 always add the class 'barstool'"

Be expressive and give examples for better results.

In the beta version, you sometimes get a JSON field back, I'm trying to fix this, please just empty and resave if that happens.

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:

  • Summarize.
  • Analyze your text for writing style, bad language etc.
  • Write whole articles.
  • Extract descriptions from images.

Help improve this page

Page status: No known problems

You can: