Skip to content

Commit fea05ff

Browse files
authored
Embed 'Introducing Streamlit Chat Elements' video in API and tutorial (#770)
1 parent 20c442b commit fea05ff

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

content/kb/tutorials/chat.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ Streamlit offers several commands to help you build conversational apps. These c
3535

3636
[`st.chat_message`](/library/api-reference/chat/st.chat_message) lets you insert a chat message container into the app so you can display messages from the user or the app. Chat containers can contain other Streamlit elements, including charts, tables, text, and more. [`st.chat_input`](/library/api-reference/chat/st.chat_input) lets you display a chat input widget so the user can type in a message.
3737

38+
For an overview of the API, check out this video tutorial by Chanin Nantasenamat ([@dataprofessor](https://www.youtube.com/dataprofessor)), a Senior Developer Advocate at Streamlit.
39+
40+
<YouTube videoId="4sPnOqeUDmk" />
41+
3842
### st.chat_message
3943

4044
`st.chat_message` lets you insert a multi-element chat message container into your app. The returned container can contain any Streamlit element, including charts, tables, text, and more. To add elements to the returned container, you can use `with` notation.

content/library/api/chat/chat-input.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ Read the [Build conversational apps](/knowledge-base/tutorials/build-conversatio
1111
</Tip>
1212

1313
<Autofunction function="streamlit.chat_input" />
14+
15+
For an overview of the `st.chat_input` and `st.chat_message` API, check out this video tutorial by Chanin Nantasenamat ([@dataprofessor](https://www.youtube.com/dataprofessor)), a Senior Developer Advocate at Streamlit.
16+
17+
<YouTube videoId="4sPnOqeUDmk" />

content/library/api/chat/chat-message.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ Read the [Build conversational apps](/knowledge-base/tutorials/build-conversatio
1111
</Tip>
1212

1313
<Autofunction function="streamlit.chat_message" />
14+
15+
For an overview of the `st.chat_message` and `st.chat_input` API, check out this video tutorial by Chanin Nantasenamat ([@dataprofessor](https://www.youtube.com/dataprofessor)), a Senior Developer Advocate at Streamlit.
16+
17+
<YouTube videoId="4sPnOqeUDmk" />

0 commit comments

Comments
 (0)