JsonSchemaResponseFormat Class
- java.
lang. Object - com.
microsoft. semantickernel. orchestration. responseformat. ResponseFormat - com.
microsoft. semantickernel. orchestration. responseformat. JsonSchemaResponseFormat
- com.
- com.
public class JsonSchemaResponseFormat
extends ResponseFormat
A response represented in a JSON schema format.
Constructor Summary
| Constructor | Description |
|---|---|
| JsonSchemaResponseFormat(JsonResponseSchema jsonSchema) |
Used by Jackson deserialization to create a new instance of the JsonSchemaResponseFormat class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Builder |
builder()
Creates a new instance of the JsonSchemaResponseFormat class. |
|
Json |
getJsonSchema()
Gets the JSON schema. |
Methods inherited from ResponseFormat
Methods inherited from java.lang.Object
Constructor Details
JsonSchemaResponseFormat
public JsonSchemaResponseFormat(JsonResponseSchema jsonSchema)
Used by Jackson deserialization to create a new instance of the JsonSchemaResponseFormat class.
Parameters:
Method Details
builder
public static JsonSchemaResponseFormat.Builder builder()
Creates a new instance of the JsonSchemaResponseFormat class.
Returns:
getJsonSchema
public JsonResponseSchema getJsonSchema()
Gets the JSON schema.
Returns: