Class AiHelpText

java.lang.Object
com.kingsrook.qqq.backend.core.actions.ai.tools.AiHelpText

public class AiHelpText extends Object
Plain-text renderings of QQQ help content (HTML, markdown or text), for the model: tags removed, whitespace collapsed, length limited.
  • Field Details

  • Constructor Details

    • AiHelpText

      public AiHelpText()
  • Method Details

    • plain

      public static String plain(Collection<QHelpContent> helpContents)
      Plain text of a list of help contents (null if there is none).
    • plain

      public static String plain(Map<String,List<QHelpContent>> helpContentMap)
      Plain text of a map of help slots to contents (slots in sorted order).
    • clean

      public static String clean(String text)
      Remove tags, collapse whitespace, limit length (null for blank).