Share via


ResponseFormat Class

  • java.lang.Object
    • com.microsoft.semantickernel.orchestration.responseformat.ResponseFormat

public abstract class ResponseFormat

Base class for response formats.

Constructor Summary

Constructor Description
ResponseFormat(ResponseFormat.Type type)

Creates a new instance of the ResponseFormat class.

Method Summary

Modifier and Type Method and Description
Type getType()

Gets the type of the response format.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ResponseFormat

public ResponseFormat(ResponseFormat.Type type)

Creates a new instance of the ResponseFormat class.

Parameters:

type - The type of the response format.

Method Details

getType

public ResponseFormat.Type getType()

Gets the type of the response format.

Returns:

The type.

Applies to