Skip to content

Commit a8e82b5

Browse files
committed
wip write about newer chat additions
1 parent 14c21b9 commit a8e82b5

File tree

11 files changed

+453
-117
lines changed

11 files changed

+453
-117
lines changed

components/display-messages/chat/app-express.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
fillable_mobile=True,
77
)
88

9-
# Create a chat instance and display it
9+
# Create a chat instance and display it # <<
1010
chat = ui.Chat(id="chat") # <<
1111
chat.ui() # <<
1212

1313

14-
# Define a callback to run when the user submits a message
14+
# Define a callback to run when the user submits a message # <<
1515
@chat.on_user_submit # <<
1616
async def handle_user_input(user_input: str): # <<
17-
# Simply echo the user's input back to them
17+
# Simply echo the user's input back to them # <<
1818
await chat.append_message(f"You said: {user_input}") # <<

components/display-messages/chat/index.qmd

Lines changed: 449 additions & 113 deletions
Large diffs are not rendered by default.

images/chat-fill-sidebar.png

63.5 KB
Loading

images/chat-fill.png

39.6 KB
Loading

images/chat-hello-shiny.png

35.7 KB
Loading

images/chat-hello-slack.png

34.5 KB
Loading

images/chat-hello-suggestions.png

67.8 KB
Loading

images/chat-hello.png

12.7 KB
Loading

images/chat-quick-start.png

218 KB
Loading

images/chat-themed.png

72.4 KB
Loading

0 commit comments

Comments
 (0)