Invoke Configuration Page

Select the OpenAI model to use and define the structure of the input request (either a simple prompt or an extended prompt).

Element Description

OpenAI LLM Models

Select the model to use in this integration.

See OpenAI Platform Models.

Request Type

Select the request type to define the structure of the input request:
  • Simple Prompt: Enables you to provide a straightforward instruction or question to the OpenAI model. For example:

    "input": "In Which country is San Francisco located"

    The single prompt focuses on clarity and conciseness, avoiding complex phrasing or unnecessary details that can potentially confuse the model.

  • Extended Prompt: Enables you to provide a specific implementation that uses multiple roles and the OpenAI API's function calling feature. The following example shows the use of multiple roles:
    "input":  [{
    "role": "developer",
    "content": "Give information only about Boston"
    }, {
      "role": "user",
      "content": "What is the zipcode of Beacon Hill, Boston?"

    This framework allows the model to interact with services and perform actions based on your prompt.

See Implement Common Patterns Using the OpenAI Adapter.