Skip to content

Add support for OpenAI's Responses API #9422

@sjrl

Description

@sjrl

We should look to support the new Responses API from OpenAI. Here is an article from OpenAI explaining the difference https://platform.openai.com/docs/guides/responses-vs-chat-completions

It sounds like this will become their preferred API for interacting with their models and will come with new features like the ability to store Chat Messages and expose some of their builtin tools like web search.

One approach could be to create a separate Chat Generator (e.g. OpenAIResponsesGenerator?) that would run on this new API. We don't want to overwrite/change the existing component since it also looks like the Chat Completions endpoint is also here to stay.

Metadata

Metadata

Assignees

Labels

P1High priority, add to the next sprint

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions