Class JsonResponseSchema
- java.lang.Object
-
- com.microsoft.semantickernel.orchestration.responseformat.ResponseSchema
-
- com.microsoft.semantickernel.orchestration.responseformat.JsonResponseSchema
-
public class JsonResponseSchema extends ResponseSchema
The schema for a response in JSON format.
-
-
Constructor Summary
Constructors Constructor Description JsonResponseSchema(String name, String schema, boolean strict)Used by Jackson deserialization to create a new instance of theJsonResponseSchemaclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the name of the schema.StringgetSchema()Gets the schema.booleanisStrict()Gets whether the schema is strict.
-
-
-
Constructor Detail
-
JsonResponseSchema
public JsonResponseSchema(String name, String schema, boolean strict)
Used by Jackson deserialization to create a new instance of theJsonResponseSchemaclass.- Parameters:
name- The name of the schema.schema- The schema.strict- Whether the schema is strict.
-
-