Dealing with multiple participants using the Responses API (message.name)

Hi fellow GPT enjoyers,

currently, I’m using the Chat Completions API in a group chat with multiple participants. The message.name field is particularly helpful for that. Citing the documentation:

An optional name for the participant. Provides the model information to differentiate between participants of the same role.

Cool stuff! But the new inputs in the Responses API do not have such a field. Trying to include it anyway leads to an invalid request:

{
  "error": {
    "message": "Unknown parameter: 'input[0].name'.",
    "type": "invalid_request_error",
    "param": "input[0].name",
    "code": "unknown_parameter"
  }
}

How is the model supposed to differentiate between participants now?

Is the Responses API just not designed for use cases with multiple participants? If so, that would be a real bummer, as I really like the simplified handling of input and output modalities.

Anyone with the same problem and maybe a solution? :slight_smile:

1 Like