Skip to content
SIHub Guides
Select language
Guides/Assistants
SIHub · Guides

Create and use assistants

An assistant contains the name, prompt, greeting, language, central AI access, knowledge and tool assignments, and other conversation settings. Saving a field does not automatically mean that a live runtime uses that field.

Prompt and variables

Describe the role, tasks, permitted information sources and how to handle uncertainty. In live prompts, variables written as {{ firma }} are replaced. The values are defined in the variables-object:

{
  "prompt": "Du bist die Assistenz von {{ firma }}. Antworte kurz.",
  "variables": {"firma": "Studio Linden"},
  "language": "de-DE",
  "knowledge_ids": [],
  "tool_ids": []
}

Unset placeholders remain visible. No template code is executed. The provider and model are set centrally by the operator. Customers cannot override this selection. API/provider keys do not belong in the prompt or the assistant data.

The prompt can be up to 24,000 characters long and, within this limit, is passed in full to the live adapter. The playground accepts messages of up to 6,000 characters and stores at most 100 messages per conversation. The selected model also has its own context and output limits.

Draft and versions

New assistants are created as draft. Angemeldete private Chats und Arbeitsaufträge können den aktuellen Entwurf mit passendem Abo und verfügbarem KI-Zugang verwenden. Ein Arbeitsauftrag speichert die Konfiguration beim Start als Snapshot. Eine Veröffentlichung benötigt einen nicht leeren Prompt und legt eine neue Version mit Snapshot an. Öffentliche Widgets und Live-Telefonie verwenden die jüngste veröffentlichte Version. Der Playground verwendet den aktuellen Entwurf.

Before publishing, the editor shows the selected data sources, actions, specialist agents and model provider. If knowledge, tools, browser access, memory or delegation are enabled, explicit confirmation is required. The API call POST /api/agents/{id}/publish must include {"confirm_data_access":true} for this. The confirmation is checked before the version entry is created; the audit entry for the publication makes the approval traceable.

Only grant access to data and system permissions that may be used by and passed on to the selected provider. Approved read actions can run without individual review; write actions require approval. Check inputs and results, keep backups of important original data and revoke permissions that are no longer needed. A change already made in the external system cannot be undone automatically by canceling in SIHub. The Terms of use govern responsibility for approvals granted by the customer within the scope of applicable law.

Duplicating creates a new draft with a copy of the configuration. An agent can only be deleted once channel and campaign assignments have been removed. Historical conversation entries still contain the agent's name at that time; versions of the deleted agent are removed.

Conversation rules and escalation

Conversations use real model responses. Historical fixed test responses and simulated conversation flows are no longer executed. Other saved flow/timing settings do not yet have full flow control.

For Twilio dialogs, escalation.phone can contain an E.164 number. If the phone route detects a request to speak to a staff member or to be forwarded, it uses Twilio Dial. A graphical routing engine, hold music and carrier failover are not available yet. Bidirectional audio with interruptions uses the separate LiveKit path; a freely saved escalation rule does not yet enable automatic SIP forwarding there.

With auto_tools=true a live conversation in the signed-in playground queues a Work order with the current agent configuration. The agent worker runs assigned active tools with auto_execute=true and a valid parameter schema; write actions wait for human approval. The regular chat without this option remains a reply-only path. In the real-time voice path, the model can use explicitly approved tools directly. Test external actions separately first via Tools.

All agents use the central AI access of the operator. Provider, model and billing source are enforced on the server side. If the configured access is missing, an error message appears.

memory_enabled=true activates stored facts as reference context. delegate_agent_ids allows up to three specialist agents per work order; specialist agents do not delegate further. Sources, memory corrections, approvals and results are accessible in the portal.

Real-time voice and DGX

For real-time conversations, too, the operator defines the AI provider, model and route. Speech output and voice use the configured services. API keys remain in the operator environment.

Hybrid uses only the private DGX endpoint configured by the operator and requires a working cloud route. Before the first text/tool output, a local error or startup timeout can switch to the cloud model; after partial output, the response is not restarted in the cloud. The Setup guide describes the order.

Conversation notifications

notifications.enabled=true enables capturing selected live conversation events in a persistent MariaDB outbox. Configure a recipient address in email and/or a permitted HTTPS endpoint in webhook_url. Optionally, events restricts the events: conversation.started, conversation.updated, conversation.ended and conversation.reviewed. Without a list, the defaults are conversation.ended and conversation.reviewed. Historical simulated conversations are not queued for external delivery.

{
  "notifications": {
    "enabled": true,
    "events": ["conversation.started", "conversation.reviewed"],
    "email": "[email protected]",
    "webhook_url": "https://crm.example.at/events"
  }
}

Capturing alone does not send a message yet. The operator must set up SMTP or the webhook host/signature configuration and the outbox worker. The workspace and the connections used must be active. The model does not run any tools autonomously as a result. Details and retry behavior are described under Provider.