dokk

Chat

::::chat holds the turns of a conversation: :::system, :::user and :::assistant. The person’s turns are bubbles on the right, the replies plain text next to an avatar, the way chat apps and shadcn’s AI Elements show them.

::::chat[Support bot]
:::system
You answer questions about dokk. Be brief.
:::
:::user
How do I add search?
:::
:::assistant[Claude]{icon="claude"}
Install the search extra and build again:

```sh
pip install "dokk[search]"
```
:::
::::
Support bot
System

You answer questions about dokk. Be brief.

How do I add search?

Claude

Install the search extra and build again:

pip install "dokk[search]"

Every turn is Markdown, code blocks included. A [title] names the speaker; icon on the assistant shows a vendor logo instead of the sparkle. Turns also work on their own, outside ::::chat.