I am pretty new to the Trieve codebase (GitHub, Docs) and so 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:
1) Identify a doubt or question.
2) Search the docs (sometimes through the integrated search bar and sometimes just on the page with Ctrl/⌘+F).
3) Write (and even iteratively reformulate) a question in Mintlify's AI Chat interface.
4) 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.
Learn something from this post? If you'd like to support our project, we'd be grateful if you'd explore and star our GitHub repository!
Top comments (3)
AI chat can be really valuable when trying to ship a new API integration or feature with a code-base you're not familiar with. Super cool that Mintlify comes with it out of the box!
did they not copy theneo? if I remember right they released it 6 months before mintlify, also I used mintlify ai search and it hallucinates a lot. Switched to Theneo recently and like it much better
oh we quickly jumped topics!
from my perspective, this story is about why documentation needs AI chat to answer questions directly:
to support a better developer experience.
this is why we default to it at
@mintlify
and -- maybe -- why we power documentation for thousands of the fastest-growing startups and industry leaders like Anthropic, Perplexity, Cursor, Pinecone, and Zapier. 1thanks for this great write-up, @danielsgriffin :)
mintlify.com/customers ↩