core_ai/helper

Description:
  • The helper module or AI Subsystem.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

The helper module or AI Subsystem.

Methods

(static) replaceLineBreaks(text) → {String}

Description:
  • Replace double line breaks with
    and with

    for paragraphs. This is to handle the difference in response from the AI to what is expected by the editor.

Source:
Parameters:
Name Type Description
text String

The text to replace.

Returns:
Type
String