Annotation StructuredPrompt

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Array<String> value() Prompt template can be defined in one line or multiple lines.
      abstract String delimiter() The delimiter to join the lines of the prompt template.
      • Methods inherited from class java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • value

         abstract Array<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.

        Returns:

        the prompt template lines.

      • delimiter

         abstract String delimiter()

        The delimiter to join the lines of the prompt template.

        Returns:

        the delimiter.