From 705d2f5b9225e63ad4603776d5047d18a6c3fdfa Mon Sep 17 00:00:00 2001 From: Joshua Carroll Date: Fri, 7 Jul 2023 14:35:57 -0700 Subject: [PATCH] Update the API Reference link in Streamlit integration docs (#7377) This page: https://python.langchain.com/docs/modules/callbacks/integrations/streamlit Has a bad API Reference link currently. This PR fixes it to the correct link. Also updates the embedded app link to https://langchain-mrkl.streamlit.app/ (better name) which is hosted in langchain-ai/streamlit-agent repo --- docs/extras/modules/callbacks/integrations/streamlit.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/extras/modules/callbacks/integrations/streamlit.md b/docs/extras/modules/callbacks/integrations/streamlit.md index 61a6d37863..fb5639d19b 100644 --- a/docs/extras/modules/callbacks/integrations/streamlit.md +++ b/docs/extras/modules/callbacks/integrations/streamlit.md @@ -9,7 +9,7 @@ In this guide we will demonstrate how to use `StreamlitCallbackHandler` to display the thoughts and actions of an agent in an interactive Streamlit app. Try it out with the running app below using the [MRKL agent](/docs/modules/agents/how_to/mrkl/): - @@ -35,7 +35,7 @@ st_callback = StreamlitCallbackHandler(st.container()) ``` Additional keyword arguments to customize the display behavior are described in the -[API reference](https://api.python.langchain.com/en/latest/modules/callbacks.html#langchain.callbacks.StreamlitCallbackHandler). +[API reference](https://api.python.langchain.com/en/latest/callbacks/langchain.callbacks.streamlit.streamlit_callback_handler.StreamlitCallbackHandler.html). ### Scenario 1: Using an Agent with Tools