---
title: "AI chat interfaces could become the primary user interface to read documentation"
date: 2023-04-17
description: "My moment of epiphany AI chats could become the new documentation user interface AI chats will enable novices to do more advanced..."
canonical_url: https://idratherbewriting.com/blog/ai-chat-interfaces-are-the-new-user-interface-for-docs
---
# AI chat interfaces could become the primary user interface to read documentation
- [Both tech writers and machines will write the information source](#both-tech-writers-and-machines-will-write-the-information-source) 

 [Parallels to crowdsourcing](#parallels-to-crowdsourcing)

 - [Technical writers will write primarily for AI consumption](#technical-writers-will-write-primarily-for-ai-consumption) 

 [10 principles for writing for AI](#10-principles-for-writing-for-ai) 

 [1. Headings and subheadings galore](#1-headings-and-subheadings-galore)

 - [2. Semantic tags](#2-semantic-tags)

 - [3. Code samples](#3-code-samples)

 - [4. Fewer images](#4-fewer-images)

 - [5. Longer pages with context and modularity](#5-longer-pages-with-context-and-modularity)

 - [6. Consistent terms](#6-consistent-terms)

 - [7. Cross-references](#7-cross-references)

 - [8. Plain language](#8-plain-language)

 - [9. More documentation, not less](#9-more-documentation-not-less)

 - [10. Glossaries](#10-glossaries)

 - [Conclusions](#conclusions)

![AI chat becomes the new interface for reading docs](https://s3.us-west-1.wasabisys.com/idbwmedia.com/images/docwebsitetochatinterface.png)

## My moment of epiphany

Last week I tried to write a shell script to handle a documentation generation and publishing workflow. I have a limited understanding of shell scripts and so relied on AI chat to help me with some basic concepts. My chat proceeded like this:

![Asking AI questions about shell scripts](https://s3.us-west-1.wasabisys.com/idbwmedia.com/images/shellscriptchat1.png)

And more basic questions:

[![Asking AI questions about shell scripts](https://s3.us-west-1.wasabisys.com/idbwmedia.com/images/shellscriptchat2.png)](https://phind.com)

Instead of looking for an answer on Stack Overflow, I asked ChatGPT, and it provided a decent answer. When the code didn’t work or I needed some adjustment, I told the chat. Each time it responded just like I had a real, live developer friend on a message chat, ready to answer my questions.

What’s cool is that ChatGPT maintained the conversation thread, so it remembered my previous questions and could build on responses. For example, if something didn’t work, I told it and the AI explained why my approach might not work, either providing an alternative or listing steps to troubleshoot. Sometimes I needed to adjust the code it gave me (like a regex pattern or some syntax fix for variable substitution) and it did. In sum, you aren’t just limited to a single response with AI chat but can talk to it continuously, as with a human. It was a conversation thread, not a single response.

Through chat, I learned exactly the principles and syntax I needed to complete the task. Before I started writing the shell script, I tried reading a general user guide on shell scripting. However, even after 20 pages of reading, I learned nothing about how to code the scenarios I needed.

My experience writing this shell script led me to consider two ideas:

 - AI chat could be the new documentation user interface

 - AI chats will enable novices to do more advanced tasks

Let’s explore both ideas in detail.

## AI chats could become the new documentation user interface

By user interface, I mean the documentation web page and platform the user interacts with. For example, right now, you’re reading my website for this information. But imagine if an AI chat interface delivered similar ideas and information—if so, the AI chat would be the interface for the information.

To illustrate, copy the URL in the address bar and ask Bard to summarize this article. It will return a few paragraphs summarizing the ideas. In this case, the AI chat becomes the interface for the information. That’s the gist of my point, except the AI is smart enough to synthesize and learn from thousands of sources to get the information.

[![AI summarizing the information and thus becoming the interface for consuming the documentation](https://s3.us-west-1.wasabisys.com/idbwmedia.com/images/bardsummarizeme.png)](https://google.com/bard)

This idea of chat becoming the primary user interface for documentation is profound. It means that there’s less emphasis on having a cool, professional site for your docs. You could probably discard minimalism or worries about information architecture flow and user experience. Discard all those high-end graphics too. What does documentation become? The source that powers the AI chat interface. As such, documentation must be written for machine consumption. What matters isn’t so much the UX of your doc site, but the UX of the AI chat based on the information it consumed from your documentation.

## AI chats will enable novices to do more advanced tasks

My second realization is that novices like me will tackle more complex projects. Previously, I limited my shell scripting to simple scenarios, but now I’m eager to tackle other challenges. I’m learning the basic patterns and processes that ChatGPT is teaching me. In fact, I’m hungry to see what else I can do with shell scripting and docs.

For example, could I write a script to check for broken links and broken formatting? Could I create automatically generated boilerplate templates? Could I construct a notifier workflow for doc updates? I suddenly have more DIY confidence. This afternoon I decided to automate the creation of new files and URL shortener links— see the result: [A script that creates a new Jekyll post and populates it with YAML frontmatter, and also makes a curl call to add a Rebrandly shortlink.](/blog/create-script-to-auto-create-new-post-jekyll)

Imagine all the people who are tech-savvy but not programmers. Will they start tackling coding projects, writing apps, developing websites, and embarking on other projects they never thought were possible? If so, we’re about to enter an explosion of technical growth. That explosion of growth will lead to a fast-paced timeline of new tech emerging. Innovation will emerge from every nook and cranny of the world, by teams and companies that previously lacked the training to pull these coding feats off but are now doing it.

## Documentation will be the information source provided to AI chat

Even though AI chat interfaces could usurp documentation sites as the new user interface, AI chat is dumb without information input. AI needs to consume large amounts of documentation to provide intelligent delivery. To illustrate, think of a private project at your work (something not on GitHub or the Internet) and ask an AI chat for details about it. Most likely the AI will try to predict the most likely components based on the project name, but the response will be gibberish or obviously wrong. AI will become crippled if it is not trained on comprehensive, accurate documentation.

For popular tools that already have countless tutorials and documentation online, the AI tools already have their information source. But for firewalled projects, and for projects not yet documented (which is what most tech writers work on), AI will still need documentation. The more documentation a company can produce, the better AI will be. And the better the AI, the more likely users will use your product and succeed with it. This only suggests that documentation will play a greater role in the future. AI won’t suddenly write your documentation out of thin air, without any training on large amounts of the documentation already written. Someone will still need to create it.

### Example from using Phind.com

I observed this point about AI needing sources while using [Phind.com](https://phind.com), a new GPT-powered search for developers. The right sidebar shows the sources of the chat’s responses. This makes it clear that the AI isn’t just writing out of thin air but learning from sources. Remove those sources, and the AI becomes dumb.

[![Phind screenshot showing sources that contribute to the AI response](https://s3.us-west-1.wasabisys.com/idbwmedia.com/images/phindscreenshotsources.png)](https://phind.com)

Why not go to the original sources first? For the most part, through the chat interface, users can get the specific information they need, asking questions and receiving answers. They won’t have to slog through an extensive site page by page looking for answers. Who wouldn’t prefer the more immediate experience?

## Both tech writers and machines will write the information source

Technical writers will still write documentation, though they will leverage AI to make tasks more efficient. Perhaps they’ll feed AI tools a large folder of documents (product plans, engineering designs, proposals, support logs, etc.) and maybe an AI companion will generate draft docs from that source. But I’m guessing that tech writers will still drive much of the original documentation, following practices recognizable from today’s practices.

This realization helps put my future career as a tech writer at ease. It could be that engineers and other IT people take charge of the doc process, relying on AI’s linguistic prowess to generate drafts of documentation that they steer through advanced prompt engineering. But if so, this might simply be how the technical writer’s role evolves rather than gets displaced.

### Parallels to crowdsourcing

To illustrate my point about how AI chatbots will still need information sources, think back to when wikis emerged and crowdsourcing took the spotlight as the *next big thing*. When crowdsourcing took off, most tech writers started squirming nervously in their socks because company leaders wondered if they still needed tech writers. Maybe companies just had to build a wiki and allow the crowd to write small bits and pieces of documentation, which would add up to a robust, Wikipedia-like output.

Well, except for rare anomalies, wikis and crowdsourcing didn’t work. Mainly, the problem was that most outside contributors, even if willing, didn’t have the information needed to write the company’s documentation. This was especially true for products that hadn’t been released and which the outside contributors had almost no knowledge about. The information to write documentation comes only from operating on the inside, drawing upon the myriad human resources and internal documents to pull, synthesize, and organize the information.

Plus, very few outside contributors wanted to write documents to benefit for-profit companies, giving them free labor and effort. (In the same way, you don’t see non-employees weeding corporate flower beds and picking up trash on corporate lawns.) In my experience, the most common feedback on wikis is to correct broken links or typos.

AI has similar trends. At first, company execs might think *OMG I’ll just have ChatGPT write my docs!* Then they realize that someone needs to actually write documentation that can be fed to AI models to train them. Who will write those docs? The crowd? Well, if the crowd isn’t currently writing your docs, the crowd won’t suddenly start writing your docs to train the AIs. So we’re back to using tech writers (or someone similar) to create docs.