Overview
Panel 1.2, released on October 15, 2023, improves chat components for building conversational LLM interfaces.
Main Features
The ChatInterface and ChatMessage widgets make it easy to build chat applications in a few lines.
python
import panel as pn
pn.extension()
def callback(contents, user, instance):
return f'Echo: {contents}'
chat = pn.chat.ChatInterface(callback=callback)
chat.servable()
