ConversationView

Ein Modellgespräch aus einem Anfrageprotokoll: Rollen, Text, Tool-Aufrufe und -Ergebnisse, Reasoning, Bilder, Ablehnungen.

Quelltext
System

You help customers of Northwind finish checkout. Be brief and precise.

Nutzer

Can I still change the delivery address on order 4471?

Assistent
get_order aufgerufencall_9f2
{
"order_id": "4471",
"fields": [
0: "status",
1: "shipping_address"
]
}
Tool
Ergebniscall_9f2
{"status":"packed","shipping_address":"Hauptstraße 12, 10115 Berlin"}
Assistent

Yes. Order 4471 is packed but has not shipped, so the address can still change. What is the new address?

import { ConversationView } from "@logicplanes/kaeso-ui";

Props

  • density
    "default" | "compact" = default

    Wie viel Platz jede Nachricht bekommt.

  • footer
    ReactNode

    Inhalt nach der letzten Nachricht, etwa ein Composer.

  • markdown
    boolean = false

    Stellt Text, Reasoning und Tool-Ergebnisse als Markdown dar (sicher: rohes HTML bleibt Text). Der Renderer lädt beim ersten Bedarf.

  • messages
    ConversationMessage[]

    Die Unterhaltung, Nachricht für Nachricht.