Skip to content

OpenAI.Response namespace Model Factory Missing #453

Open
@BitwiseMercenary

Description

@BitwiseMercenary

Confirm this is a feature request for the .NET library and not the underlying OpenAI API

  • This is a feature request for the .NET library

Describe the feature or improvement you are requesting

The root readme indicates that:

All namespaces have their corresponding model factory to support mocking with the exception of the OpenAI.Assistants and OpenAI.VectorStores namespaces, for which model factories are coming soon.

However, this does not seem to be true for the OpenAI.Response. No model factory seems to be available. Is there an alternative available to create mock responses for something like this:

ClientResult<OpenAIResponse> clientResponse = await _openAiResponseClient.CreateResponseAsync(messages);

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCategory: Something isn't working and appears to be a defect in the client library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions