We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b23c98 commit dca57d9Copy full SHA for dca57d9
Build chat-based apps.md
@@ -0,0 +1,14 @@
1
+This code involves using Streamlit to create a chat interface:
2
+
3
+ with st.chat_message("user"):
4
+creates a chat message container with the user's name displayed as "user".
5
6
+ st.write("Hello 👋")
7
8
+writes a greeting message.
9
10
+ st.line_chart(np.random.randn(30, 3))
11
+displays a line chart with random data.
12
13
+ st.chat_input("Say something")
14
+displays a chat input widget where the user can type a message.
0 commit comments