Class JsonSchemaOutputByVisualEditor

java.lang.Object
de.xima.fc.prompt.service.support.JsonSchemaOutputByVisualEditor
All Implemented Interfaces:
Serializable

public final class JsonSchemaOutputByVisualEditor extends Object implements 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 Details

    • JsonSchemaOutputByVisualEditor

      public JsonSchemaOutputByVisualEditor()
  • Method Details

    • getJsonSchema

      public String getJsonSchema()
      Gets the JSON schema being edited as a string.
      Returns:
      The JSON schema as a string.
    • setJsonSchema

      public void setJsonSchema(String jsonSchema)
      Sets the JSON schema as being edited a string.
      Parameters:
      jsonSchema - The JSON schema as a string.