Skip to content

[OpenAI] Migration to the Responses API? #1945

@bilelomrani1

Description

@bilelomrani1

I was wondering whether there are any plans to migrate instructor from the Chat Completions API to the new Responses API. OpenAI now recommends using the Responses API for new projects and highlights several potential benefits. Some of these may or may not be relevant to instructor, but here are three that caught my attention:

1. Lower costs

OpenAI claims:

Lower costs: Results in lower costs due to improved cache utilization (40% to 80% improvement when compared to Chat Completions in internal tests).

It’s difficult to know whether instructor would actually benefit from this without more details about how the Responses API differs internally. Still, this seems worth considering.

2. Stateful context

OpenAI also notes:

Stateful context: Use store: true to maintain state from turn to turn, preserving reasoning and tool context from turn to turn.

This could potentially be useful for instructor’s re-asking loop.

3. Future-proofing

Finally:

Future-proof: Future-proofed for upcoming models.

Depending on how this is interpreted, it might imply that newer models could eventually drop support for the older Chat Completions API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions