OpenAI Adapter Capabilities

The OpenAI Adapter enables you to invoke OpenAI LLM models from integrations in Oracle Integration. The OpenAI API provides a simple REST interface to state-of-the-art OpenAI LLM models for text generation, prompting, and function calling.

The OpenAI Adapter provides the following capabilities:

  • Simple and extended prompt-based interactions to define the structure of the input: You provide instructions, questions, or plain text to generate contextual and coherent AI responses from a prompt. The text response can be code, mathematical equations, structured JSON data, or human-like prose.

  • Role and context definitions: The following roles influence how the model responds and behaves.
    • platform: Messages added by OpenAI. These roles carry the highest authority and override all other instructions.
    • developer: Input from the Oracle Integration application developer.
    • user: Input from end users, or a catch-all for data provided as input to the model.
    • assistant: Input sampled from the LLM model.
    • tool: Input generated by some program, such as code execution or an API call.
  • Context maintenance: The previous response ID is used to support ongoing conversations and follow-up questions.

  • Model selection and tuning: You select from available OpenAI models and fine-tune responses with parameters such as temperature.

  • Flexible input options: Simple prompts or structured arrays containing role/content pairs are supported.

  • Function calling support: OpenAI models can interface with code or external services.

  • Use cases: A variety of use cases are supported, including the following:

    • Text analysis: Understand and extract insights from textual data (that is, analyze employee sentiment from appraisal or customer feedback from product reviews).
    • Text categorization: Automatically classify documents or resumes based on content and predefined rules.
    • Email drafting: Generate intelligent email responses for customer queries, HR communication, or marketing campaigns.
    • Translation: Translate customer support responses or documentation into multiple languages.
    • Summaries: Condense long documents or reports into digestible summaries for decision makers.

You can configure the OpenAI Adapter as an invoke connection in an integration in Oracle Integration. The OpenAI Adapter is one of many predefined adapters included with Oracle Integration. See the Adapters page in the Oracle Help Center.