Questions & Answers
If Questions & Answers isn't activated for your project yet, contact info@rek.ai to get started.
Overview of the steps:
- Rek.ai's AI creates questions and answers based on the content of your website.
- You approve the questions in your Dashboard (opens in a new tab).
- Wait. The AI model needs to be rebuilt before approved questions can appear on the website. This happens automatically, once a day.
- You implement Questions & Answers where you want them to appear, either client-side or server-side. Where and how depends on your website's setup and CMS.
Client-side or server-side?
There are two ways to implement Questions & Answers on your website:
- Client-side: Add a
<div class="rek-prediction" data-entitytype="rekai-qna">to your pages and our JavaScript renders the questions and answers directly in the browser. This is the quickest way to get started. - Server-side: Your own server makes a GET request to our API and receives the questions and answers as JSON or as ready-made HTML with matching LD+JSON schema. Since the content is included directly in the page source, this improves SEO and AEO (Answer Engine Optimization).
In practice, server-side rendering works well on specific pages where you want the same relevant questions to always be visible in the page's HTML, for example, a service or application page. Client-side rendering is a good fit for pages like start pages or overview pages, where you want the questions shown to vary between visitors.