Branching Chat Flow

Create a multi-tabbed chat interface that allows users to branch conversations and create new ones.
pyllments recipe run branch_chat

Configuration

Argument Description Default
width Width of the chat interface. 800
height Height of the application. 942
custom_models Add custom LLM models and/or base urls. “{}”

Branch Flow GUI

Branch Flow GUI

Branch Flow Flow Diagram

Branch Flow Flow Diagram

This recipe enables both entirely new chats and forked conversations from existing ones, managed by an integrated flow system.

  • New Chat: Start fresh conversations.
  • Branching: Fork from existing chats, optionally copying messages.
  • Tabbed Interface: Manage multiple chats/branches simultaneously.
  • LLM Integration: Seamlessly connects UI with LLM backend.