by simplotek · 3y ago · 0 comments
A chat bot looks like a great help to parse through huge volumes of documentation.
If the chatbot built around the docs outputs garbage, that is a telltale sign that the documentation was garbage to start with.
Just because people started developing clever chatbots that misfire, let's not fool ourselves into believing documentation was a solved problem and all docs were squeaky clean.
That’s not how the chat bot works. This particular chat bot can be trained on a bunch of documents and still tell you something that contradicts the facts that are clear to a human in one of the said documents.
It’s a known phenomenon called “hallucination” and this actually gives the chat bot, to some extent, it’s ability to imitate creativity (to put it simply).
edit: typo
>If the container is not empty, the function never throws exceptions (no-throw guarantee). Otherwise, it causes undefined behavior.
ChatGPT failed at basic regurgitation.
How about this:
If the container is empty the function causes undefined behaviour. Otherwise it never throws exceptions (no-throw guarantee).
We avoided having to hold two negatives, and we also put the thing you need to care about up front where it's more likely to be noticed.