Skip to main content
FME Hub user chrisatsafe just uploaded a new transformer to the FME Hub.

OpenAIConnector Transformer Documentation

The OpenAIConnector is a custom FME transformer that enables integration with OpenAI's /v1/responses endpoint. This transformer allows you to send prompts to OpenAI's large language models and receive responses directly within an FME workspace. This model accepts text, image (Vision), file search, and web search based inputs.

Purpose

This transformer supports AI-driven tasks such as content generation, classification, summarization, or transformation of structured/unstructured data, by leveraging OpenAI's text generation capabilities in a repeatable, automatable data workflow. The

Example Use Case

Imagine you have a dataset with a column of customer support inquiries, and you'd like to auto-generate a response or classify the sentiment. You can:

Use AttributeCreator to build a dynamic prompt string.

Pass that prompt to OpenAIConnector.

Capture the model's response as a new attribute for downstream use.

Output Attributes

Attribute Name

Description

_response_body

The raw text response from the OpenAI model.

Response

A formatted text response from the OpenAI model

Notes

This transformer uses the OpenAI completions API (/v1/responses). It is not compatible with the chat endpoint (/v1/chat/completions) unless explicitly adapted. For Chat Completions, consider using the OpenAIChatGPTConnector instead.

Related Resources

OpenAI API Docs – Responses

OpenAI Tokenizer Tool



Would you like to know more? Click here to find out more details!
Be the first to reply!