Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Build an AI assistant

A minimal backend AI assistant that accepts user questions over HTTP, maintains sessions per user, and optionally enables dashboard logging.

What you will build

  Client (web/mobile)
         β”‚ POST /api/chat { userId, message }
         β–Ό
  Your API server (DNotifier HTTP)
         β”‚ sendAI + sessionId
         β–Ό
  DNotifier AI β†’ JSON answer

This example uses transport: "http" only. Realtime chat between humans uses WebSocket separately β€” see Chat overview.

Features demonstrated

Feature
SDK API

Authentication

connect()

Prompts

sendAI with chat-style messages

Multi-turn

sessionId continuation

Ops logging

logs: true (optional)

Language guides

Language
Guide

JavaScript / TypeScript

Dart / Flutter

Extensions

Next steps

Last updated