Skip to content

Support for new Open AI Responses API #4221

@timothyBrake

Description

@timothyBrake

Expected Behavior

OpenAI has introduced the new Responses API, and developers are encouraged to migrate from the legacy Completions API to this updated interface. Spring AI should support this new API so applications can leverage its enhanced functionality and stay aligned with OpenAI’s roadmap.

Current Behavior
Spring AI currently only supports the older ChatCompletion API, with no built-in support for the newer Responses API.

Context
The AI ecosystem evolves rapidly, and without support for the Responses API, Spring AI lags behind OpenAI’s recommended approach. Adding support would ensure developers can take advantage of the latest features, improvements, and future-proof their integrations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions