> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuralfactory.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FAQ Datasource

> Add structured question-answer pairs as a knowledge source.

# FAQ Datasource

The FAQ datasource lets you add structured **question-answer pairs** to a knowledge base. This is useful for common questions that have definitive answers, such as company FAQs, policy summaries, or support responses.

## Why use FAQ datasources

Unlike document uploads where the system needs to find the right chunk of text, FAQ entries are already in question-answer format. This means:

* **Higher precision** — The agent matches the user's question directly to an FAQ question
* **Consistent answers** — Every user gets the same approved answer
* **Easy to maintain** — Update individual Q\&A pairs without re-indexing entire documents

## Adding FAQ entries

<Steps>
  <Step title="Open the knowledge base">
    Navigate to **Knowledge Bases** and open the target knowledge base.
  </Step>

  <Step title="Add an FAQ datasource">
    Click **Add Datasource** and select **FAQ** from the datasource type options.
  </Step>

  <Step title="Add question-answer pairs">
    For each FAQ entry, provide:

    * **Question** — The question as a user would naturally ask it
    * **Answer** — The complete, approved answer

    You can add entries one at a time or import them in bulk.
  </Step>

  <Step title="Save">
    Click **Save** to index the FAQ entries. They become searchable immediately.
  </Step>
</Steps>

## Best practices

* **Write questions naturally** — Phrase questions the way users would ask them, not in formal language
* **Include variations** — If a question can be asked different ways, consider adding multiple entries with the same answer
* **Keep answers complete** — Each answer should be self-contained and not require additional context
* **Use FAQs alongside documents** — Combine FAQ datasources with document uploads for the best coverage
