> For the complete documentation index, see [llms.txt](https://gdplabs.gitbook.io/glchat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gdplabs.gitbook.io/glchat/organization-admin/how-to-guides/project/manage-faq.md).

# Manage FAQ

<figure><img src="/files/ah3ZgPxpgdSBHOigtSw6" alt=""><figcaption></figcaption></figure>

This feature enables admins to create and manage a list of **frequently asked questions (FAQs)** derived from the GLChat project's knowledge base. The FAQs appear in the [**Question Library**](/glchat/application-ui/how-to-guide/chat-input-and-responses/question-library.md) of the associated GLChat project.

{% hint style="info" %}
A project can contain multiple FAQs, and these FAQs may originate from one or more Knowledge Bases associated with the project.
{% endhint %}

***

### Select Knowledge Base

To manage To manage FAQs, first select the desired **Knowledge Base** from the dropdown menu. The FAQ list and settings displayed will automatically update based on the selected Knowledge Base.

Each Knowledge Base has its own FAQ quota, which can be configured independently through "[Settings](#setings)"

<figure><img src="/files/aucR0C1jR9FoY8WipTCA" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Only Knowledge Bases that are currently connected to the project (refer to field "Knowledge Base" in [Setup Project](/glchat/organization-admin/how-to-guides/project/setup-project.md))will appear in the dropdown list.
{% endhint %}

***

### Auto Generate FAQ

This feature allows the system to automatically generate FAQs from the selected Knowledge Base on a scheduled basis.

<figure><img src="/files/a4GKTVybNhLVoJPeUe9x" alt=""><figcaption></figcaption></figure>

The generation process runs nightly between **11:00 PM and 4:00 AM (GMT+7)**. During each run, the system generates FAQs based on the configured quota for the selected Knowledge Base.

{% hint style="info" %}
If the generation process is not completed within the scheduled window, it will automatically resume during the next scheduled run until the quota is fulfilled.
{% endhint %}

***

### Add New FAQ Manually

<figure><img src="/files/lPmeIwF2fZ8LnifXczUC" alt=""><figcaption></figcaption></figure>

To create a new FAQ, fill in the required fields and click **Next** to proceed or **Cancel** to discard changes.

1. **Question**\
   Enter the question that will be displayed to users.
2. **Knowledge Base**\
   Select one or more documents from the available knowledge base to use as reference materials. If no document is selected, the system will automatically use all documents in the knowledge base.
3. **Answer**\
   You can enter the answer manually, or click **Generate Answer** to have the LLM create it automatically.
4. **Category**\
   Assign a category to help organize and group related questions more easily.

***

### Activate/Deactivate FAQs

By default, newly generated FAQs go through a moderation process before being displayed in the [Question Library](/glchat/application-ui/how-to-guide/chat-input-and-responses/question-library.md). Administrators can review and choose whether to activate or deactivate each FAQ.

<figure><img src="/files/RNqB3M2PTm6rjcb7y0Mo" alt=""><figcaption></figcaption></figure>

* **Activate FAQ** – The question becomes visible in the **Question Library** and can be accessed by project users.
* **Deactivate FAQ** – The question is hidden from the **Question Library** but remains available in the admin panel and can be reactivated at any time.

Below is an example of how auto-generated FAQs are displayed on the project home page:

<figure><img src="/files/FU5nJZosfCukmrC4rZJ3" alt=""><figcaption></figcaption></figure>

***

### Export Logs

To export FAQ activity logs, click the arrow next to **New FAQ** and select **Export Logs**.

<figure><img src="/files/Jp4Cj2YbD9ahDGlSdUdc" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The exported file contains all available FAQ questions based on the selected filter criteria.

* If no date filter is applied, the system exports all available questions.
* If a date range is specified, only questions created within the selected period will be included in the export.
  {% endhint %}

***

### Setings

To configure FAQ settings, click the arrow next to **New FAQ** and select **Settings**.

<figure><img src="/files/u9M1hRVQYxDH2p4Fui1S" alt=""><figcaption></figcaption></figure>

The settings modal will open:

<figure><img src="/files/B6028CaxQVOrs7lFVIu7" alt=""><figcaption></figcaption></figure>

Admin can configure the following options:

* **Cache Time-to-Live (TTL)**

  Defines how long generated FAQ responses remain cached for each Knowledge Base.
* Maximum Number of Questions

  Determines the maximum number of FAQs that can be displayed in the Question Library for each Knowledge Base. Once the configured limit is reached, the New FAQ button will be disabled until existing FAQs are removed.
