Skip to main content

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

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

1

Open the knowledge base

Navigate to Knowledge Bases and open the target knowledge base.
2

Add an FAQ datasource

Click Add Datasource and select FAQ from the datasource type options.
3

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.
4

Save

Click Save to index the FAQ entries. They become searchable immediately.

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