Skip to main content
Question

OpenAIConnector


fmelizard
Contributor
Forum|alt.badge.img+17
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!
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings