· 3 min read
danielsgriffin
Keeping up with Mintlify's AI Chat
How I used Mintlify's AI Chat to keep up with the Trieve codebase.
I am pretty new to the Trieve codebase (GitHub, Docs) and am sometimes hesitant to ask about things that initially seem to me to be missing, confusing, or not working. This is common for many—even when, like in my case, those around you strongly encourage any and all questions. For my dissertation research at UC Berkeley, I studied how data engineers search the web for their work and wrote about how they try to keep learning:
A key observation of data engineering work is that they are operating at the edge, working with the new, or new to them, tools, systems, or other ways of handling data. Navigating around these edges, or learning around the edge, necessitates constantly working to “keep up” (Kotamraju, 2002) and engage in “intensive self-learning” (Avnoon, 2021) in a fluid, and loosely defined, field. They use web search to keep up.
In my research, I also looked at what people did when they were struggling despite searching the web. Often, they—eventually—ask others. And no matter how encouraging your teammates, you may still wonder if your question is going to waste their time or make you appear a fool. Many people fear, or have experienced, being ragged on for asking a question that was perhaps searchable. Maybe they were harshly told to read the manual or sent a LMGTFY link (a practice long-ago banned on Stack Overflow). Some of my research participants told me how they sometimes said or sent such things to their colleagues to reduce the demand on their own time. Others confessed how they found themselves silenced when a boss or colleague said something similar to them. So, folks often took the time to carefully package questions, looking for ways to demonstrate due diligence.
Thanks to Trieve’s integration with Mintlify, my due diligence process looked roughly like this, advancing to the next step as necessary:
- Identify a doubt or question.
- Search the docs (sometimes through the integrated search bar and sometimes just on the page with Ctrl/⌘+F).
- Write (and even iteratively reformulate) a question in Mintlify’s AI Chat interface.
- Share a screenshot of the question & answer with the rest of the Trieve team.
Some questions I only had to recognize to be able to resolve (on my own with the code and computer). Many just required a quick search. For others I could refine my understanding through the act of simply writing out fully formulated questions (like in rubber duck debugging or how even “starting to ask” a colleague a question helps clarify a path forward). Sometimes the value was in reading the docs as repackaged by the LLM chat.
Then there was that last type of question—often dealing with API parameters or some special term in the docs—where the RAG response helped me really recognize my misunderstandings or reframe my confusion. The question-and-answer was displayed in a way that let me quickly relay to the team my doubt or surprise packaged alongside the RAG response.
Sharing these screenshots helped make clear how the confusion or uncertainty was connected with the existing documentation, or not. These questions then helped the team identify where I really needed help keeping up and where the documentation might be improved to support a better developer experience in the docs, in the search, and with the RAG.