Rule: OpenAI Telephone (AI Interpolator OpenAI)

Last updated on
27 February 2024

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

Base data:

Summary:
The OpenAI Telephone field is taking a prompt with possible context and finds all the phone numbers and normalizes it into telephone numbers with country code.

When using an OpenAI vision model, you can also use the combination of prompt and image to get the response you want. Note that OpenAI vision is not always great at reading text. It might make sense of using SceneX image description for this instead.

Module needed:
AI Interpolator OpenAI

Field types to populate:
Telephone (core Telephone 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:

If there is not country code in the number and no context of what country is described in the text, please add that to the prompt as context.

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:

  • Find telephone numbers from unstructured data.

Help improve this page

Page status: No known problems

You can: