ResponsesModelFactory Class

Definition

Factory for creating model instances with specific values for testing and mocking. Provides a curated subset of factory methods with cleaner parameter names, delegating to the internal AgentServerResponsesModelFactory.

public static class ResponsesModelFactory
type ResponsesModelFactory = class
Public Class ResponsesModelFactory
Inheritance
ResponsesModelFactory

Remarks

Most model types now have public constructors (via @@usage) and can be constructed directly. This factory is primarily useful for types where all-defaults construction is convenient for tests.

Applies to