✨ Chat with the Streamlit docs using LangChain and collect feedback with Trubrics and LangSmith.
📖 To find out how to build this app and chat with your own docs, check our blog post.
This demo app made with Streamlit allows users to chat with the Streamlit docs using LangChain's Retrieval-Augmented Generation (RAG) capabilities. By integrating the Trubrics' Feedback component, the app provides a dynamic way to capture user feedback, which is then monitored in LangSmith for further analyses and improvements.
You can try out the demo on Streamlit Community Cloud
Ensure you have the necessary API keys:
Sign up for LangSmith at smith.langchain.com and generate an API Key.
To do this, click on the API Key
icon and then click on Create API Key
(make sure to copy it).
You can get your own OpenAI API key by following these instructions:
- Go to https://platform.openai.com/account/api-keys.
- Click on the
+ Create new secret key
button. - Next, enter an identifier name (optional) and click on the
Create secret key
button.
If you require assistance or have any questions, feel free to reach out to me on X (formerly Twitter) at @datachaz or on the Streamlit forums!