Answers frequently asked questions by matching user queries against a provided knowledge base using word-overlap similarity scoring. Optionally escalates to a live agent when no match is found.
List of FAQ entries for the knowledge base. Each FAQEntry object has:
question (string, required) — The representative question text.answer (string, required) — The answer to provide when matched.keywords (string[]) — Additional keywords to boost matching accuracy.categories (string[]) — Taxonomy categories used for filtering and hints.Agent display name.
HTTP route for the agent.
Whether to suggest related questions alongside a match.
Custom personality description injected into the agent’s “Personality” prompt section. Defaults to a helpful-FAQ-bot persona.
Minimum match score (0 to 1) for an FAQ to be considered a match.
Message spoken when no FAQ matches. Defaults to an apology offering to transfer.
Phone number to transfer to on escalation. If not set, the escalate tool is not registered.
Additional AgentBase options forwarded to the constructor.
FAQBot works best with up to ~50 FAQs. For larger knowledge bases, use the
native_vector_search skill instead.