Class JsonSchemaOutputByVisualEditor
java.lang.Object
de.xima.fc.prompt.service.support.JsonSchemaOutputByVisualEditor
- All Implemented Interfaces:
Serializable
View model POJO for users to define a JSON schema for the prompt response, by using a visual JSON schema editor.
Applicable only if
definitionType is
BY_VISUAL_EDITOR.- Since:
- 8.5.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the JSON schema being edited as a string.voidsetJsonSchema(String jsonSchema) Sets the JSON schema as being edited a string.
-
Constructor Details
-
JsonSchemaOutputByVisualEditor
public JsonSchemaOutputByVisualEditor()
-
-
Method Details
-
getJsonSchema
Gets the JSON schema being edited as a string.- Returns:
- The JSON schema as a string.
-
setJsonSchema
Sets the JSON schema as being edited a string.- Parameters:
jsonSchema- The JSON schema as a string.
-