Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Build a UX for your LLM chatbot/agent that not only includes streaming, but also showcases sources as expandable UI elements 📖🔎, similar to Perplexity! Now possible in one-line of code through create-llama. Amazing work by Marcus Schiesser 💫 Check it out:

54,461 Aufrufe • vor 2 Jahren •via X (Twitter)

3 Kommentare

Profilbild von OSDev
OSDevvor 2 Jahren

@perplexity_ai @MarcusSchiesser @readwise save thread

Profilbild von Matt Figdore
Matt Figdorevor 2 Jahren

This is the biggest productivity cheat code right now. Kiss reading documents goodbye. You can get an instant summary of any document with this tool.

Profilbild von Shaun Bergmann
Shaun Bergmannvor 2 Jahren

@DeepLearn007 @perplexity_ai @MarcusSchiesser “Build a UX?” … I’m old.

Ähnliche Videos

AG-UI makes building agentic applications dramatically easier. Here's how it works. This is a model for a simple chatbot: User → LLM → Response But interactive agents that render UI, pause for approvals, and ask users for input need a much more complex model. When building these agents, a response from the LLM will include a series of state changes as the agent runs: • Agent started a task • Agent called a tool • Agent updated its state • Agent streams these tokens • Agent is waiting on a human • Agent is resuming the task The Agent-User Interaction Protocol (AG-UI) treats the LLM response as a stream of events rather than a text endpoint. In practice, here is what you get as an agent runs: 1. Lifecycle events so your UI knows where the agent is. 2. Text messages that stream tokens. 3. Tool calls so your UI can prefill a form with any required arguments. 4. State updates that keep your UI in sync with the agent. 5. Special events for human approvals, rich media, and custom needs. All of these events travel over standard transports (SSE, WebSockets, or plain HTTP) as JSON. As a result, you can build a frontend that stays in sync with the agent's progress without having to invent a custom process to make this happen. For example, building a human-in-the-loop workflow becomes an off-the-shelf component you can integrate rather than build from scratch. CopilotKit🪁 is the creator of AG-UI, and you can use it when building frontend applications pretty much anywhere: • React • Angular • Vue • React Native • Slack • Teams • Discord • WhatsApp • Telegram Here is the link for you to check it out: Thanks to the CopilotKit team for partnering with me on this post.

Santiago

17,438 Aufrufe • vor 3 Monaten