Assistants#

The Assistants screen lets you choose a chat helper or configure its model, instructions, and available tools. The left menu provides access to selected assistants. "All assistants" opens the card screen for search and management.

Assistants for Chat#

The assistant list in the left menu opens a chat with the helper you need.

Chat screen: assistant list and selected helper.

Chat screen: assistant list and selected helper.

The selected Assistant is displayed on the right side of the screen and is used to process User messages and perform available actions.

Assistant Context Menu#

An assistant's context menu opens its settings, pins it, or deletes it. Click the button Assistant menu beside its name to open the menu.

Assistant context menu: edit, pin, and delete.

Assistant context menu: edit, pin, and delete.

The menu offers the following actions:

  • "Edit" — go to change the Assistant's settings.
  • "Pin to menu" — add the Assistant to the pinned list for quick access.
  • "Delete" — remove the selected Assistant.

Assistants in the Navigation Menu#

The Assistants screen creates helpers and finds their cards by name or sorting order.

Assistants screen: cards, search, sorting, and creation button.

Assistants screen: cards, search, sorting, and creation button.

On the Assistants screen, the User can open the "Create Assistant" window and set the parameters for the new Assistant: name, description, system message, model, moderator, MCP servers, API token, files, folders, and other settings.

Assistants are displayed as cards. Each card shows the Assistant's name, the Model used, a brief description or purpose, and the number of related resources: files, folders, MCP servers, and Object Folders.

At the top of the screen, there are:

  • "Search by assistant name" field;
  • "Sort" dropdown list;
  • "Create Assistant" button.

Quick actions are available on the Assistant card: pinning the Assistant Pin to menu and going to edit Edit. Pinned Assistants are displayed according to the selected sort order.

Assistant card: name, model, and management buttons.

Assistant card: name, model, and management buttons.

The "Search by assistant name" field allows you to quickly find the desired Assistant in the list. It is necessary to enter part of the name or the full name of the Assistant to filter the cards on the screen. If there are no matches, the list will not display suitable cards.

"Search by assistant name" field.

"Search by assistant name" field.

The "Sort" dropdown list sets the order of displaying Assistants. Sorting helps to find relevant or recently edited cards faster.

"Sort" dropdown: card sorting options.

"Sort" dropdown: card sorting options.

Sort Option Description
Recently Modified Items that have been modified are displayed at the top of the list.
By Name Items are sorted by name in alphabetical order.
Recently Created Recently created items are displayed at the top of the list.

"Create Assistant" button#

The "Create Assistant" button adds a helper and configures its behavior in Chat.

Assistant settings: "Create Assistant" button.

Assistant settings: "Create Assistant" button.

Clicking it opens the "Create Assistant" dialog. Required fields are marked with an asterisk.

"Create Assistant" dialog: complete settings.

"Create Assistant" dialog: complete settings.

Required fields:

  • "Name" field — the assistant name shown on its card and when choosing a helper for Chat. Possible names include "Your helper" and "Support".

  • "Model" dropdown — a dropdown list for selecting the language Model used by the Assistant.

The "Model" dropdown is required with "Model responds" selected. Selecting "Waiting for a response via API" hides this dropdown.

Example Models:

  1. env-model;
  2. ChatGPT;
  3. Qwen3.6-35B-A3B-AWQ;
  4. openrouter;
  5. olmOCR-2-7B-1025-FP8.

Assistant settings: "Model" dropdown.

Assistant settings: "Model" dropdown.

The model list is an example. Available models depend on account settings and user permissions. A new account may have an empty list.

Additional settings:

  • "Description" field — in this field, you can specify what tasks the Assistant can perform and/or provide brief information about its functionality. This will help Users understand how to best interact with the Assistant.

  • "Assistant Icon" block — this field allows you to select an icon for the Assistant.

  • "Assistant Color" block — this field allows you to select the color of the Assistant's icon.

  • "System Message" field — in this field, you can specify a system message that will be sent to the Assistant for processing requests. This message may contain instructions on how the Assistant should behave, what style to respond in, or what information to use.

Example system message: "You are a polite, professional, and detail-oriented intelligent assistant who responds to the user in detail in Russian to the posed question."

An informational message is displayed next to the "System Message" field when hovering over the information icon Information.

Assistant settings: "System Message" field.

Assistant settings: "System Message" field.

Tooltip text: "Instructions that the assistant always follows: role, tone, and response rules."

Assistant settings: "System Message" field.

Assistant settings: "System Message" field.

  • "Use reranker to improve search" checkbox — allows you to enable or disable the use of a reranker model for additional ranking of search results. When enabled, the system re-evaluates the found fragments and raises the most relevant results higher, improving the quality of responses when searching through documents or knowledge bases.

An informational message is displayed next to the "Use reranker to improve search" option when hovering over the information icon Information icon.

Assistant settings: "Use reranker to improve search" checkbox.

Assistant settings: "Use reranker to improve search" checkbox.

Tooltip text: "Re-sorts search results so that the most relevant document fragments are included in the response."

  • "Temperature" slider — adjusts response variety from 0 to 1. The default is 0.1. The numeric field beside the slider displays the selected value. A higher value increases variety but does not by itself guarantee response quality or accuracy.

"Temperature" slider: value 0.1.

"Temperature" slider: value 0.1.

  • "Source of the user's question response" block — the "Source of the user's question response" setting block allows you to choose who will formulate the response in the chat.

Two options are available:

Option Description
Model responds The response to the User is formulated by the selected language model.
Awaiting response via API The system is waiting for a response from an external system via API.

An informational message is displayed next to the block title when hovering over the information icon Information icon.

Assistant settings: "Source of the user's question response" block.

Assistant settings: "Source of the user's question response" block.

Tooltip text: "Who responds in the chat: the selected model or an external system via API."

  • "Moderator" block — the Assistant form shows the active Moderation rule set. “Assigned to this assistant” marks a selected set. “Applies to all assistants” marks a general set. “No moderation” appears when no active set applies.

To change the assignment, click "Configure moderation scope". The Moderation screen opens, where a rule set can be assigned to all or selected Assistants.

  • "MCP servers" dropdown — allows you to select one or more MCP servers that will be available to the Assistant for performing external actions and obtaining data through connected tools. The field expands into a list with checkboxes. The user can mark the necessary servers, for example, https://mcp.tavily.com/mcp or https://reader.ru.tuna.am/mcp.

Assistant settings: "MCP servers" dropdown.

Assistant settings: "MCP servers" dropdown.

An informational message is displayed next to the "MCP servers" field when hovering over the information icon Information icon.

Tooltip text: "The list on the assistant card is the MCP catalog. In agent mode, selected tools are sent to the model. If delivery fails, the reason appears in chat. Leave empty if no tools are needed."

The tools shown on the Assistant card are the selected MCP server’s catalog. If all tools are disabled on a server card, the Agent skips that server and continues to start. For the remaining selected servers, the Agent fetches the tool list again and filters out disabled tools. If one of those servers is unavailable or its list is empty after filtering, the run stops. A Chat message names the MCP server and explains why. Before retrying, restore the connection or enable the required tools on the MCP servers screen.

  • "Agent API token" dropdown — allows you to select an API token for internal Sherpa AI Server API calls in Agent mode. This token is not required for external MCP server tools. The field expands into a list of available tokens. The value "No API token" means that the Agent will operate without an attached API token.

Assistant settings: "Agent API token" dropdown.

Assistant settings: "Agent API token" dropdown.

An informational message is displayed next to the "Agent API token" field when hovering over the information icon Information icon.

Tooltip text: "API key for internal agent mode calls. It is not required for external MCP tools."

Assistant settings: "Agent API token" dropdown.

Assistant settings: "Agent API token" dropdown.

"INTERPRETER LIBRARIES" block#

This block shows the number of selected libraries and changes the packages available when running code.

Assistant settings: "INTERPRETER LIBRARIES" block.

Assistant settings: "INTERPRETER LIBRARIES" block.

"Change interpreter libraries" button#

The "Change interpreter libraries" button opens a window for selecting interpreter libraries, where the User can change the set of libraries available to the Assistant/Agent when executing code.

"Interpreter libraries" dialog: search, complete visible rows, and selection buttons. Russian interface.

"Interpreter libraries" dialog: search, complete visible rows, and selection buttons. Russian interface.

The optional search field filters libraries by name. The screenshot shows the entire set selected: 32 of 32 libraries. The checkbox beside a row selects that library. "Cancel" closes the dialog without applying changes.

No.Interface ElementDescription
1.Search FieldAllows you to find the desired library by name.
2."Select All" ButtonAllows you to select all available interpreter libraries.
3."Deselect All" ButtonAllows you to deselect all interpreter libraries.
4.

Selected Libraries Counter

Selected library counter

Shows the number of selected libraries out of the total available.
5.Library ListDisplays the available interpreter libraries. Each row contains a checkbox, the library name, version, and a brief description.
5.1.Library Checkbox Library CheckboxAllows you to include or exclude a specific library from the set available to the interpreter.
5.2.Library Name and VersionDisplays the library name and the installed version, for example attrs (26.1.0), charset-normalizer (3.4.6), contourpy (1.3.3), cycler (0.12.1).
5.3.Library DescriptionBriefly explains the purpose of the library.
6.Scroll BarAllows you to view the full list of libraries if it does not fit in the window area.
7."Cancel" ButtonCloses the window without saving any changes made.
8."Save" ButtonStores the selected set of interpreter libraries and closes the window.

"Dialog Files" block#

This block attaches files to the assistant for searching and analyzing their contents in Chat.

Assistant settings: "Dialog Files" block.

Assistant settings: "Dialog Files" block.

"Add File" button#

The "Add File" button opens a file selection dialog and allows you to attach a document or other file to the dialog.

Complete file picker: search and file checkboxes. Russian interface.

Complete file picker: search and file checkboxes. Russian interface.

In the dialog, use document search to locate the files. Select each file to attach and click "Add to chat". "Cancel" returns to the Assistant settings.

"Dialog Folders" block#

This block connects document folders so the assistant can use their contents for search.

Assistant settings: "Dialog Folders" block.

Assistant settings: "Dialog Folders" block.

"Add Folder" button#

The "Add Folder" button opens the folder picker so the Assistant can use documents from the selected folder in the conversation.

Complete folder picker: search and folder checkboxes. Russian interface.

Complete folder picker: search and folder checkboxes. Russian interface.

Use the search field to find a folder and select its checkbox. The "Hi" folder in the screenshot contains fcpr-md-indexing-test-file.md. Click "Add to chat" to confirm the selection. In this mode, checkboxes appear beside folders. "Cancel" closes the dialog without adding anything.

"Object Folders" dropdown#

This list selects the object folder that organizes access to the assistant. Search documents are connected separately in "Dialog Files" and "Dialog Folders".

Assistant settings: "Object Folders" dropdown

Assistant settings: "Object Folders" dropdown

Import solution samples from XLSX#

A successful XLSX import replaces the selected Assistant's existing samples with the questions and answers in the file.

The following steps are required to upload samples:

  1. Prepare an XLSX file with question and answer columns. Every row must contain both a question and an answer. An XLSX file exported from the samples table can be used instead of a new file.
  2. Click "Import from XLSX" and choose the file. After a successful upload, check the questions and answers in the "Solutions samples" table.

Solution samples after XLSX import

Solution samples after XLSX import. Russian interface.

Indexing is a separate action. Imported samples have the NotIndexed status and are not yet used in sample search.

An empty, damaged, or incomplete file fails validation and preserves existing samples. Correct it and retry. To use CSV, click "Import from CSV" and select the file. A successful import replaces the existing questions and answers.

Example: speaker names in a transcript#

This example labels turns after audio diarization. The assistant assigns a name only after two independent direct addresses followed by the next speaker's reply, or after a clear self-introduction in that speaker's own turn. Insufficient or conflicting evidence leaves the label unchanged.

User permissions are configured on the Roles screen. Creating and using the Assistant requires permission to read and create Assistants, read the selected Model and access the Chat.

Diarization splits an audio recording into turns by different speakers.

The Assistant can be created and used as follows:

  1. Open Assistants, click "Create Assistant", and enter "Speaker names" and "Labels speakers in a meeting transcript".

    Assistant name and description

    Assistant name and description

  2. Select a Model for Chat, paste the instructions below into "System Message", and click "OK".

    System prompt field

    System prompt field

  3. Open a Chat with "Speaker names" and select "Agent". Paste the full transcript with timestamps and speaker labels, or use the transcript file already available in that Chat. Ask: "Label the speakers in the complete meeting transcript and keep the wording and timestamps."

    Paste this sample after the request:

    [0:00:05] speaker_1: Let us discuss the delivery.
    [0:00:12] speaker_2: My name is Ivan. I prepared the delivery schedule.
    [0:00:20] speaker_1: We will agree on the dates this week.
    [0:00:29] speaker_2: I will update the schedule by Friday.
    

    Request with the full transcript

    Request with the full transcript

  4. Compare the result with the source. Check every occurrence of a confirmed label, such as Ivan (speaker_2). Unidentified speakers keep their original labels. Check the wording, timestamps, and order. If the result is a file, use its link to open or download it.

    Result with the confirmed name and original label

    Result with the confirmed name and original label

System prompt:

You resolve names in diarized meeting transcripts. Treat the transcript as the only evidence. Labels may look like `speaker_1` or `SPEAKER_00`.

Before answering, read the complete transcript. If the Chat contains a file with the complete transcript, use `aiserver_thread_file_read_text` to read it. Read in small pages with `limit_lines=20` and start at `offset_line=1`. If the tool response contains `offset_line`, `lines_returned`, and `truncated`, advance to `offset_line + lines_returned` while `truncated` is true. If the agent receives only a truncated output preview without these fields, retry the same offset with a smaller `limit_lines` (halve it down to 1) instead of guessing the next offset. If one line is still too large, stop and ask for a shorter complete transcript. After the first successful page, use `total_lines` to estimate remaining page reads and reserve at least two agent steps for evidence review and the final answer. If the remaining agent iteration budget cannot cover every page, stop and ask for a shorter complete meeting excerpt or for the administrator to increase `MCP_AGENT_MAX_ITERATIONS`; never return a partially relabeled file. Review evidence across all successfully read pages before assigning any name; use `aiserver_thread_file_grep` to revisit relevant passages when necessary. Otherwise use the complete transcript pasted in the message or provided as `audio_chunk`. If the entire file cannot be read within the agent's context, tell the user the limit and ask for a shorter complete transcript; do not relabel a partial transcript. Do not infer identities from outside knowledge, topic, role, voice, or likely attendance.

For each name mention, classify it privately as DIRECT_ADDRESS, INTRODUCTION, THIRD_PERSON_REFERENCE, SELF_REFERENCE, or AMBIGUOUS. A direct address or introduction creates a candidate for the label in the immediately following substantive diarized turn. A short acknowledgement or overlap may be skipped only when it is clear that it does not answer the address. If the next speaker is ambiguous, discard the event. Third-person mentions and ambiguous mentions create no candidate.

Assign a name to a label only when two independent direct-address-to-next-turn events in different parts of this transcript support the same name and label. A clear first-person introduction such as "My name is Ivan" or "This is Ivan speaking" in that label's own diarized turn is sufficient by itself. Do not count repeated words in one exchange as independent events. Do not use an introduction attributed to a different label. If evidence conflicts, or if one name could refer to several labels without enough label-specific evidence, leave the label anonymous.

Map each confirmed name to its original speaker label. Apply the mapping to every occurrence of that label on every page, including turns where the name is not mentioned. Verify that the number of replacements equals the number of turns with that original label. Return the complete transcript in its original order, either in the answer or as a text file. Change only the speaker label of a sufficiently identified turn to `<name> (<original label>)`, for example `Ivan (speaker_2)` or `Ivan (SPEAKER_01)`. Keep every original label in parentheses even when two speakers share the same name. For unproven labels, keep the original label exactly. Preserve all utterance wording, punctuation, timestamps, line breaks, and turn boundaries exactly. Do not add a preface, summary, confidence score, or evidence list to the transcript. If the source cannot be read in full, say what is missing instead of producing a partial or guessed relabeling.

If the complete text is unavailable, it must be uploaded to the same Chat before retrying. If the transcript lacks sufficient evidence for a name, the assistant must not guess an identity. The result must be compared with the original transcription before further use: a Model can violate the instruction.

The system message reads the file in pages of 20 lines and reserves steps for checking evidence and answering. The iteration limit must allow the entire file to be read. If it is insufficient, provide a shorter complete meeting excerpt or ask the administrator to increase MCP_AGENT_MAX_ITERATIONS. Partial relabeling must not be used.

First file read from line 1

First file read from line 1

Next file read from line 21

Next file read from line 21