Ba token moke mpo na kobotolo UI
AI akoma ba token 26% moke na Lyra UI.
Toyebisaki Claude Sonnet akela ba interfaces moko ya chat, dashboard mpe settings na Lyra UI, na React, Tailwind mpe shadcn/ui, mpe na HTML, CSS mpe JavaScript ya pete (ba runs 18). Na Lyra UI akomaki ba token ya output 26% moke mpe ba lignes 46% moke koleka na shadcn/ui, mpe ba token 33% moke koleka na HTML ya pete, mpo tag moko ekitisaka markup, style mpe état. Ba runs ya Lyra etangaki mpe référence ya llms-full.txt, oyo ba agents batie na cache mpe basalelaka lisusu.
Exemple
Interface ya chat na ba tag moke.
<script type="module">
import '@aceshooting/lyra-ui/components/lr-chat-viewport.js';
import '@aceshooting/lyra-ui/components/lr-chat-message.js';
import '@aceshooting/lyra-ui/components/lr-chat-composer.js';
</script>
<lr-chat-viewport>
<lr-chat-message message-role="user">Summarize this report.</lr-chat-message>
<lr-chat-message message-role="assistant" status="streaming">Here are the key points…</lr-chat-message>
</lr-chat-viewport>
<lr-chat-composer placeholder="Ask anything"></lr-chat-composer>