Class ResponseFormat
- java.lang.Object
-
- com.microsoft.semantickernel.orchestration.responseformat.ResponseFormat
-
- Direct Known Subclasses:
JsonObjectResponseFormat,JsonSchemaResponseFormat,TextResponseFormat
public abstract class ResponseFormat extends Object
Base class for response formats.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponseFormat.TypeThe type of the response format.
-
Constructor Summary
Constructors Constructor Description ResponseFormat(ResponseFormat.Type type)Creates a new instance of theResponseFormatclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseFormat.TypegetType()Gets the type of the response format.
-
-
-
Constructor Detail
-
ResponseFormat
public ResponseFormat(ResponseFormat.Type type)
Creates a new instance of theResponseFormatclass.- Parameters:
type- The type of the response format.
-
-
Method Detail
-
getType
public ResponseFormat.Type getType()
Gets the type of the response format.- Returns:
- The type.
-
-