Class JsonSchemaOutputByManualInput
java.lang.Object
de.xima.fc.prompt.service.support.JsonSchemaOutputByManualInput
- All Implemented Interfaces:
Serializable
View model POJO for users to define a JSON schema for the prompt response, by entering the JSON schema manually.
Applicable only if
definitionType is
BY_MANUAL_INPUT.- Since:
- 8.5.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the JSON schema text, as entered by the user.voidsetSchemaText(String schemaText) Sets the JSON schema text, as entered by the user.
-
Constructor Details
-
JsonSchemaOutputByManualInput
public JsonSchemaOutputByManualInput()
-
-
Method Details
-
getSchemaText
Gets the JSON schema text, as entered by the user. Must be a valid JSON schema.- Returns:
- The JSON schema, as entered by the user.
-
setSchemaText
Sets the JSON schema text, as entered by the user. Must be a valid JSON schema.- Parameters:
schemaText- The JSON schema, as entered by the user.
-