Tweet not found
The embedded tweet could not be foundβ¦
Summary of how we've built a Q&A chatbot for the Langfuse docs and how Langfuse helps us to improve it
We've built a new Q&A chatbot to help users find the right information in the Langfuse docs. In this post, I'll briefly summarize how we've built it and how we use Langfuse to monitor and improve it.
Update: All Langfuse Cloud users now have view-only access to this project. View live example to explore it yourself.
text-embedding-ada-002All of the code is open source and available on GitHub in the langfuse-docs repo. Relevant files:
Want to explore the project in Langfuse yourself? Create account to get view-only access to this project in Langfuse.
The reporting helps us to:
![]()
Each response is based on the following steps which can go wrong, be slow or expensive:
This is how a single trace looks like in Langfuse:
In this example, we can see how we do:
Negative, Langchain not included in response
Docs on Langchain integration are not included in embedding similarity search
![]()
A user was surprised when I (a human) answered his/her question. It's 2023, a bot was expected. As we added a lot to the docs over the last days, building a retrieval-based chatbot finally made sense to help users explore the project. Also, I love to have an additional production app to dogfood new Langfuse features and demonstrate how Langfuse can be used.
![]()
We're super excited to offer users of the Langfuse docs a faster way to find the right information and dogfood Langfuse to monitor it. Check out the repo for all backend and frontend code including the integration with Langfuse.
If you have any questions, join the Discord or reach out to me on Twitter.
The embedded tweet could not be foundβ¦