ruLog in to Senler

Text Documents

How to create a text document

  1. In the left menu, open Settings and go to the knowledge base.
  2. Click Add.
  3. Select Text document.
  4. Enter the title and content.
  5. Click Create.

This creates a regular text document. To use the full editor, open the new document. You can also open its menu and select Edit.

Form fields

The text document creation or editing page contains:

  • title;
  • context keys for elements, described separately under Context Keys;
  • content;
  • create or save button and cancel;
  • deletion when editing, with a separate confirmation.

Title and content are required. The title should be clear for searching: for example, “Return Rules”, “FAQ on Tariffs”, “Instructions for the Add Channel Button”.

Form fields. Highlighted elements: 1. text document creation or editing page; 2. title; 3. context keys for elements; 4. content; 5. create or save button

Content

Content can be written as structured Markdown: headings, lists, tables, example questions and answers. More useful support documents include:

  • purpose;
  • where the function is located;
  • what each field means;
  • frequent mistakes;
  • what to check before escalation.

If Markdown contains an extra fields block at the beginning of the file, these fields help search and link the answer to the document source: for example article ID, section route, source importance, or an external link. Do not store secrets there: these fields are for search, routing, and explaining the source, not for private data.

Markdown links and images can use regular syntax: ![Screenshot](assets/screen.png) or [policy](docs/rules.pdf). If the target file is uploaded to the knowledge base, the cabinet can show it in preview or connect it with the document for the answer.

Editor modes

The Visual Editor is suitable for regular formatting: work with text, headings, lists, quotes, links, and code blocks without editing Markdown punctuation manually.

Markdown mode shows the source text and is suitable for tables, images, and other markup that must be preserved exactly. Switching modes does not create a document copy: both editors change the same content, which is saved as Markdown.

If the document contains markup that the visual editor cannot change without data loss, the cabinet opens Markdown immediately. If you try to switch to the visual mode, it shows a warning and a read-only preview; continue editing in Markdown. The content is not deleted or simplified automatically.

Editing selected text with AI

In both the visual editor and Markdown mode, you can select a fragment and choose Ask AI. The edit is scoped to the selected text, which makes the action useful for shortening, rewording, or clarifying a specific paragraph.

The result does not replace or save the document automatically. The cabinet first previews the proposed complete text: check how the selected fragment changed and whether anything else was affected, then accept or reject the edit. Open the related assistant chat when you need a less constrained discussion.

If the document cannot be saved

If the content is empty or fails another form check, the reason appears in a message below the editor. Correct the indicated error before saving.

If a newer version of the same file appears on the server while you are editing, the cabinet shows a newer-version warning and blocks saving. Copy your text, reload the page, compare the new version with your changes, and apply them again. This prevents overwriting changes made by another user or process.