So, you have an FAQ?
Whether yes or no, this is your way in to using AI.
Do you have an FAQ? You know, that always out of date collection of snippets of info hypothetically of use to your company staff, or your users, or customers, or clients. Where the least favourite task in your company, the most boring of grunt work, the most thankless, the usually left undone task, is updating the FAQ?
If so, then congratulations, you already have the raw material for AI-enhanced greatness. Nowadays, it is easy to create and maintain high quality FAQs, and to do so much more with them. Possibilities for synergies abound, a win-win, a positive feedback loop, real potency.
If not, never fear, for you can soon and easily have an FAQ of your very own, and then the above hyperbole applies.
For the purpose of this article, we will focus on the FAQ as one source (among several) of answers to some of your users’ common website search queries. The same mechanics and benefits apply for queries by clients or customers contacting customer support, or even sharing internal staff knowledge. But at least we can stop with the clunky catch-all phrase, “your company staff, or your users, or customers, or clients”.
So (whisper it), you don’t in fact have an FAQ?
What is an FAQ?
The acronym FAQ stands for Frequently Answered Questions.
It is an accumulation of Things Worth Knowing :™:, stuff your users frequently ask about. It contains routes into your products, content, or expertise. It defines issues for which you already have good answers, and why waste time re-thinking an answer when you can just reply with the canned answer?
Or, often under-emphasised, an FAQ is a repository of what you know about your users’ needs or values. It can be an aspect of what makes your company distinctive and valuable to your users.
Your FAQ can have several distinct parts, such as
Who can do FAQ?
Find members of staff with analytical tendencies (they are legion), ideally with opinions about the benefits to society of correct, precise wording. They will understand FAQs, LLMs, and the power they can wield, instinctively. You will unleash an irresistible force within your company. Be warned.
My First FAQ, by hand
FAQs are easy to set up. A simple text document containing a list of question/answer pairs, and, well, that’s it.
Someone asks a question. If the question is covered by the FAQ, reply with that answer. If not, create a new answer (via a local expert), add it to the FAQ, and reply with that. Very quickly, the FAQ builds up.
Actually, that would be it in an ideal world. But in reality, FAQs inevitably go stale, unloved, festooned with cobwebs and regret. Started and fed by someone who once cared, but abandoned when that person leaves. Very rarely do staff volunteer to maintain the FAQ.
You will need a non-life-force-draining way of maintaining the FAQ, keeping it fresh, relevant, and focused. Read on.
My First FAQ, with some AI help
If you have some customer queries, let’s say a few hundred, get access to the free chat webpage of one of the latest big LLM offerings. Easy to do. Manually create a long LLM prompt listing the queries, and asking the LLM to distil the most commonly asked questions. Just the questions. See below for a description of LLMs, and the Case Studies at the end for an example prompt.
You now have a starter for 10 for your FAQ. Whether you agree or disagree with the suggested items, it is something to work with. Next is a wee task to construct (or locate) answers to those questions.
You can get more nuanced about the framing of your FAQ prompt. Ask the LLM to identify the different types of questions, and to group them accordingly, e.g. site navigation “how do I …” questions, factual “what is the X of Y” questions, bug reports, etc.
Once you have seen how the LLM chooses to group the questions, you can modify that high level grouping as you see fit, insert it into a new prompt, and get the LLM to look for questions within those specified groups. The bug reports won’t go in the actual FAQ, of course, but they will be of interest to the support teams.
Even without real customer queries, you can get started if you have a document or two which encapsulates what your company is about. Feed that to an LLM and ask it to generate questions based on the document. See the Case Studies at the end for an example prompt.
So, NOW you have an FAQ, what about those AI-lit uplands you were promised?
Two AI tools we will make use of:
Vector Search
This technique, which pre-dates the recent furore around chatbots, is described in more detail in [Mind The (AI) Gap]. In essence, there are easy to use bits of software which can convert a small block of text (say a question, or a question and answer pair) into a vector (a list of numbers). The magic is that texts with similar meanings have similar vectors. This gives you the ability to match an incoming user query with a range of relevant Q&A items quickly and easily. This works very well indeed, even when different-but-meaningfully-similar texts have no words in common.
Modern search engines now tend to support vector search. And you can cobble together something FAQ-sized yourself with only a little bit of coding (remember Cosine Similarity from school?). This also can be done quite easily for live user queries.
LLMs - Large Language Models (underlying ChatGPT, and friends)
Also described in more detail in [Mind The (AI) Gap]. The basic gist is that if you can clearly describe the kind of info you want extracted from some given text, as if instructing a keen, literal-minded, but slightly dim intern, the LLM can probably take those instructions and the given text, as a prompt, and do a reasonable job of carrying them out effectively.
This is not asking the LLM for facts it has learned (or stolen from creators) during training, or confabulating in a desperate effort to please, but simply using its inherent facility with English text to understand (kinda sorta) the instructions and to look for certain concepts in the given text.
Recent LLMs have enormous context windows, that is to say, the ‘given text’ can be huge, 100’000+ words, entire novels. So huge in fact, that if you gave the same task to a human, it would take them a very long and tedious time to carry it out, plus there is every chance they will miss stuff. The LLM will get you a decent answer back in ~10s, for little to no cost.
LLMs are too slow and expensive for responding to a barrage of concurrent, live user queries on high traffic websites, but ideal for calm, methodical, manual processing offline.
Improving and maintaining the FAQ
Every few hundred new user queries, manually re-interrogate the LLM, specifying the existing FAQ, the list of new user queries, and instructions to identify any user queries not well served by the existing FAQ. You’ll get a snappy reply listing a few new question suggestions for the FAQ. Update the FAQ accordingly. (See the Case Studies at the end.)
You could also track the ‘answered-ness’ of incoming user queries, logging those that did not find good matches in the FAQ. That would give you a dense list of unanswered queries.
As easy as that. It might take a few experiments to settle on the largest effective batch size of user queries to process, but definitely hundreds should be a fine start.
This process can be part automated. Every few hundred user queries, run the LLM query. Generate an email report of the outcome if there are new un-answered questions cropping up. Someone will still have to manually update the FAQ, but this is a lot less burdensome than before.
The current FAQ sets the tone for subsequent question suggestions. You have explicitly defined for the LLM: this is what we care about, and this is how we express it. The FAQ can iterate to be quite different from the initial draft, as you home in on your company’s FAQ voice.
If the FAQ becomes unwieldy, perhaps too many overlapping questions, ask the LLM to re-assess the FAQ, with the aim of streamlining it, and to suggest a new structure.
There is a possibility of using the LLM to generate answers for the new questions, but that is not within the scope of this article. That approach has a variety of pitfalls, not necessarily using the LLM to its best.
Although, there is a possibility to consider. If you use vector search to find pieces of your own content which match the new user question, you can construct a prompt where you give the LLM some or all of that relevant content, and ask it to answer the new user question only using that relevant content. This is an easy first draft of an answer, likely to be fairly good.
Ideally, your FAQ is a high quality, highly useful, comprehensive expression of all the corporate/user knowledge from the expertise within your company. Best not to dilute this by using LLMs to generate poor answers. Questions, yes. Answers, generally no (but see above).
Using the FAQ
The OG use of FAQs
The original uses of your FAQ still stands, manually answering frequently asked questions with a copy-pasted response.
Or as a script for customer support agents.
FAQ in Search
It can occasionally work if you have the FAQ as a source of items in the site keyword search, but the main weakness of keyword search prevails: get the query words ‘wrong’ and you won’t find anything useful. What is worse, you won’t know if there was actually nothing relevant, or the user chose the ‘wrong’ words to look for. Most unsatisfactory.
The game-changer here is you can use text vectors to robustly match an incoming user query with the most relevant items in the FAQ, regardless of specific phrasing. If there is a relevant FAQ item for a user query, vector search will find it, and it will be clear when there is no relevant FAQ item.
Furthermore, you can use the FAQ to shape the user query for a deeper search. This is subtle, but profound. Presumably, the FAQ represents what your company knows about and is good for. You can nudge a user query towards the relevant part of the FAQ, towards what you are good for.
If there is a particularly relevant FAQ item for a given user query, you can embellish the user query with that FAQ item and make a subsequent search into your news articles, products, whatever.
An example might be an investment website, where the user has asked a naive query that matches an FAQ item full of advice and best practices. The subsequent search will be matching on a combination of the user query and the FAQ item, and might find articles extolling the best practices mentioned in the FAQ item, which it would not have matched with the initial user query.
You have a UX choice about whether to present the FAQ item as the main part of the response, supported by associated article/product results, or the FAQ item is supporting those results. Or simply keep the FAQ aspect hidden from the user.
It may be you wish to keep the actual details of your FAQ under wraps, offline, out of reach of the Slurper Up Of All Text (which rhymes with Floogle), in which case you do not need to include the FAQ item in the response at all, but can simply use it to shape the search behind the scenes.
FAQ-based Chatbot
If you did want to go down the route of having a chat interface to an LLM for your users, (Don’t. Really don’t. But if you did…) the FAQ is a very good way of constraining the chat responses to be on-message. It helps alleviate some of the main types of risks associated with allowing external users free access to a delusional chatbot that represents your company.
You can wrap the LLM prompt in robust(ish) guardrails:
Turn your site navigation on its head
Make the FAQ the root of your site tree. All topics, products, articles, etc, hang off the appropriate FAQ items.
It is a simple matter to assess each of your topics, products, articles, etc, using vector search, identifying which FAQ items they are most relevant for, and highlighting where they are not relevant for any FAQ item.
So now you have a list of identified topics, products, articles that are not often relevant to your customers. This is a problem, an opportunity, or a non-issue. You decide.
An interesting thought exercise.
SEO?
Do you really want to expose your FAQ to the world? It is, after all, a repository of what you know that your users need or value, and an aspect of what makes your company distinct, valuable.
This is a big question. If you do, it will be taken and used without your control/permission by the giant Slurpers Up Of All Text.
It is not clear what SEO means these days. The recent announcements from the biggest SEO AI player seem to indicate they are now taking it all over and doing their thing with it. Maybe the rest of us will get some crumbs. But …
FAQ items as topics
A user might have a longer term interest in an FAQ item, if it represents a particular area of interest to them.
The user might want to know if the answer is ever changed, or if there are new topics, products, articles relevant to the FAQ items. Or if there are new, related FAQ items.
In short, they might want to save/follow the FAQ item, and be alerted if there are changes.
Engagement to die for.
FAQ items as community focus
Continuing to treat FAQ items as persistent topics, if one user is interested in an FAQ item, the likelihood is so will others be. You could offer comments functionality on each FAQ item, encouraging more in depth discussion around the topic of the item.
Such an engaging situation.
New FAQ items are news
This is in the same territory as SEO. You will lose exclusive access to your FAQ if you do this, but it might be a positive for your users.
Ah, engagement again.
Educating and shaping user behaviour
You can start linking ‘good’ query phrasing to FAQ items, and use it to suggest alternate queries to a user, when their query matches an FAQ item.
Targeted FAQs
You could have various, expertise or persona-based FAQs, each phrased/targeted differently.
Here, LLMs might be usable. Changing the tone of an existing text, changing the level of expertise of the target audience, is something LLMs do well.
And so many more.
So, why have FAQs so often failed to thrive?
It comes down to multiple failures of framing, including:
In the old days, ie, more than a year ago …
… an FAQ would routinely fail cost/benefit thinking as a stand-alone product. Vague benefits, few defenders, but real, long-term effort/costs.
An FAQ as a contributory part of another individual, potential, unvalidated product, assuming that possibility was even recognised, would fail cost/benefit thinking. Not worth creating an FAQ just for that product idea.
The idea that an FAQ might be a contributory capability to multiple products, across different parts of the business, did not mesh well with how teams were structured, incentivised, and distributed across the business. There might be several, limited FAQs, with overlapping domains, each needing their own resources, each sitting in their own walled garden.
Justifying the cost and effort to set up and maintain, revive, or increase investment in an FAQ was always a tough call. Therefore often a “no”.
This per-product, short-termist approach to capabilities would play out over a sequence of such decisions. A series of “no”s, or walled garden “yes”s, to something that is clearly (seen here, anyway) for the greater, common good. Kind of the opposite of what you would hope for from a strategy.
But, good news!
It is now easy and cheap to have and maintain a fabulous FAQ. That cost argument? Gone!
More than that, it is fun, satisfying, enabling, challenging (in a good way). Boring? Anything but!
The shared, Capabilities First view of FAQs is so potent, so fecund, it shows up the Product First approach for the implicit anti-strategy that it is. So there is a sensible way to plan? Who knew?
[Possibly some personal frustrations being worked out in this section? - Ed]
Wrapping up / Summary
The message of this article is multi-pronged:
Case Studies
Generating a new FAQ from a document
Let’s consider this very article about FAQs as all the knowledge in your company.
LLM Prompt
You are a tool for helping maintain, support, and extend FAQs.
Read the following document: <document>
Title: “So, you have an FAQ?”
…
<document>
Generate some questions that might arise from reading the document, grouping them into categories.
LLM Response
Sure! Here are some questions that might arise from reading the document, grouped into relevant categories:
### General Understanding of FAQs
1. What is an FAQ?
2. Why are FAQs important for a company?
3. What are some common issues with maintaining an FAQ?
### Setting Up an FAQ
4. How do you manually create an FAQ?
5. Who should be tasked with creating an FAQ in a company?
6. Can FAQs be set up in simple text documents?
Recommended by LinkedIn
### AI and FAQ Synergies
7. How can AI help in maintaining and updating an FAQ?
8. What is a vector search and how does it relate to FAQs?
9. How can large language models (LLMs) aid in structuring FAQs?
### Improving and Maintaining FAQs with AI
10. How frequently should an FAQ be updated with AI assistance?
11. Can the process of updating FAQs with AI be automated?
12. Should LLMs be used to generate answers for FAQs?
### Using the FAQ
13. How can FAQs be used for manual customer support?
14. What are the benefits of using vector search for querying FAQs?
15. How can FAQs be leveraged to shape user queries for deeper searches?
### Strategic Considerations
16. Should a company's FAQ be publicly accessible
Easy.
All the questions are relevant to the article.
It would probably be easy+safe to ask the LLM to create draft answers for these FAQ questions using the original article as a reference.
Generating a new FAQ from user queries
Let’s imagine up a pretend company, website, and users and all.
LLM Prompt
You are a tool for maintaining, supporting, extending FAQs.
Read the following list of user queries on a website:
<queries>
- Do you have oil-paints?
- Dettol
- Cleaning paint spills
- My wall needs some pink
- Wiping paint off cooker
- Brush long bristle
- Edge techniques
- How to paint skirting boards
- Paint thinners safety
- Paints for old plaster
</queries>
Distil the most commonly asked questions, and group the distilled questions by type.
LLM Response
Based on the provided queries, I've distilled the most commonly asked questions and grouped them by type:
### Grouped Distilled Questions:
#### Product Availability:
- Do you have oil-paints?
- Do you sell Dettol?
- Do you have pink paint for walls?
- Do you have long bristle brushes?
- What paints are suitable for old plaster?
#### Cleaning and Maintenance:
- How do I clean paint spills?
- How do I wipe paint off a cooker?
#### Techniques and Safety:
- What are the best techniques for painting edges?
- How do I paint skirting boards?
- What are the safety guidelines for using paint thinners?
Easy. Is nice how the LLM has rephrased the abbreviated search queries into wordy, FAQ-ish questions.
Reviewing the suggested questions and groupings, you might (or might not) want to
It’s all up to you, and you can experiment, changing your mind as you go.
Identifying new, un-met user queries in an FAQ
Here, we have indeed tweaked the previous LLM suggestion for the FAQ derived from user queries.
LLM Prompt
You are a tool for maintaining, supporting, extending FAQs.
Read this FAQ:
<faq>
###
FAQ for “Paints R US”
#### Product Availability:
- Do you sell Dettol?
- What colours do you have?
#### Cleaning and Maintenance:
- How do I clean paint spills from hard surfaces?
- How do I clean paint spills from soft surfaces, e.g. carpet?
#### Basic information
- What are the different types of paint?
- What are the different types of brush?
- How is brush bristle length important?
#### Techniques:
- What are the best techniques for painting edges?
- What to consider when painting old plaster?
#### Safety
- What are the safety guidelines for using paint thinners?
</faq>
Read the following list of user queries from our website:
<queries>
- spilt paint curtains
- paint wood and plastic
- sky blue water-based paint
- removing paint from hair
- bristle length
- BrandX paint
- how old plaster
- screwdriver
- discount code
</queries>
Identify any questions from the user queries not well handled by the FAQ.
Group the identified questions using the FAQ’s existing sections, or suggest new sections.
LLM Response
### User Queries Not Well Handled by the Current FAQ:
#### Cleaning and Maintenance:
- spilt paint curtains
- Current FAQ addresses cleaning paint spills from hard and soft surfaces like carpets, but doesn’t specifically cover cleaning paint spills from fabrics like curtains.
- removing paint from hair
- The FAQ doesn’t provide information on removing paint from hair.
#### Product Availability:
- sky blue water-based paint
- The FAQ mentions paint colours but doesn't specify availability of specific types like water-based paint.
- BrandX paint
- No mention of specific brands in the FAQ.
#### Techniques:
- paint wood and plastic
- The FAQ doesn’t address techniques or considerations for painting on different materials such as wood and plastic.
- how old plaster
- The FAQ does mention "techniques for painting old plaster" but should ensure the question "how to paint old plaster" is addressed in detail.
#### Basic Information:
- bristle length
- The FAQ mentions "How is brush bristle length important?" but might need more detailed information.
### New Sections Needed:
#### Product Information:
- screwdriver
- This query suggests users are seeking information about tools as well, so a new section on tools could be beneficial.
#### Promotions:
- discount code
- The FAQ does not address promotions or discounts, which seems to be a topic of interest for users.
Love it!
It included reasoning for each of its suggestions, even though we did not specify that it do so. Next time, it would be worth including a ‘with reasoning’ requirement in the prompt. This is generally good practice when prompting LLMs - find out what it does naturally, then specify that it does just that in subsequent prompts. Helps make the prompts more robust (ie, the LLM sticks to the script and doesn’t wander off-piste) in the longer term.
Imagine this report covering hundreds or thousands of user queries. Even though we only used a handful of user queries here, and individual user queries led to individual question suggestions, the LLM can certainly scale up to much bigger inputs, and will likely do a good job of generalising across much longer lists.
Senior UX Strategist / Researcher / Designer.
6moSince you're using "an FAQ", shouldn't that indeed be an F.A.Q.? A FAQ would be desirable if you're actually pronouncing it "fack" in your mind. Some nice subtle cynicism in there.
Technical Advisor at TAMI
6moThanks for sharing
राधे राधे 🙏 I Publishing you @ Forbes, Yahoo, Vogue, Business Insider and more I Helping You Grow on LinkedIn I Connect for Promoting Your AI Tool
6moAbsolutely agree