Annotation Type StructuredPrompt


@Target(TYPE) @Retention(RUNTIME) public @interface StructuredPrompt
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Prompt template can be defined in one line or multiple lines.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String[] value
      Prompt template can be defined in one line or multiple lines. If the template is defined in multiple lines, the lines will be joined with a delimiter defined below.
    • delimiter

      String delimiter
      Default:
      "\n"