Class StructuredChatCompletion

  • All Implemented Interfaces:

    
    public final class StructuredChatCompletion<T extends Object>
    
                        

    A wrapper for ChatCompletion that provides type-safe access to the choices when using the Structured Outputs feature to deserialize a JSON response to an instance of an arbitrary class. See the SDK documentation for more details on Structured Outputs.