Skip to main content

Knowledge Base Generator — Complete Field Reference

Reference for designing the interactive onboarding screens. All fields are organized by the data section they belong to in the final knowledge-base.json output.

1. BUSINESS PROFILE

These fields are extracted during the initial website crawl (Step 1–2) and confirmed/edited by the admin on Screen 3.
FieldTypeRequiredNotes
business.namestringYesBusiness name
business.typeenum stringYesmed_spa, salon, dental, fitness, restaurant, etc. Used for industry-specific prompting
business.location.addressstringYesStreet address
business.location.citystringYesCity
business.location.statestringYesState
business.location.zipstringYesZIP code
business.phonestringYesPhone number
business.websitestring (URL)YesSource website URL
business.bookingUrlstring (URL)YesBooking/scheduling link
business.contact.emailstringNoContact email
business.hoursobjectNoOperating hours (optional)

2. BRAND VOICE

Detected from the website tone and confirmed/adjusted on Screen 5 (“Your AI’s Personality”).
FieldTypeRequiredNotes
brandVoice.toneenumYeswarm · professional · casual — radio button selector
brandVoice.formalityenumYesformal · conversational · friendly — radio button selector
brandVoice.characteristicsstring[]Yese.g. ["empathetic", "knowledgeable", "reassuring"]
brandVoice.avoidWordsstring[]NoWords the AI should never use, e.g. ["cheap", "discount", "deal"]
brandVoice.preferredPhrasesstring[]NoPhrases to favor, e.g. ["investment in yourself", "your skin journey"]

3. SERVICES (per service)

Each service is auto-extracted from the website (Step 2), AI-enhanced (Step 3), then reviewed by the admin on Screens 3–4.

3a. Basic Info (from website scrape)

FieldTypeRequiredNotes
idstring (slug)YesAuto-generated, e.g. "morpheus8"
namestringYesService display name
categorystringYesCategory grouping
descriptionstringYesBrief description from the website
pricestringYese.g. "$800+" or "Starting at $225"
durationstringNoe.g. "60-90 min"

3b. AI-Generated Enhancements (editable on Screen 4)

FieldTypeRequiredNotes
education.howItWorksstring (long text)Yes2–3 paragraphs in plain language
education.whatToExpect.duringstringYesWhat the experience is like
education.whatToExpect.afterstringYesImmediately after
education.whatToExpect.downtimestringYesRecovery/downtime info
education.whatToExpect.resultsstringYesWhen to expect results
chooseThisForstring[]YesQuick decision guidance, e.g. "Tightening loose or sagging skin"
selfIdentificationstring[]Yes”Perfect for people who…” triggers, e.g. "You notice your jawline isn't as defined"
concernsstring[]YesMapped concern slugs, e.g. ["aging", "skin_laxity", "acne_scars"]
tagsstring[]YesSearchable tags, e.g. ["anti-aging", "scars", "tightening"]
differentiatorsstring[]NoWhat makes this different from alternatives
faqsarray of { q, a }YesCommon questions and answers
notRightForstring[]NoContraindications or situations where not appropriate
relatedServicesstring[] (IDs)NoUpsell/cross-sell paths to other service IDs
requiresConsultationbooleanNoWhether a consultation is needed first
popularbooleanNoFlag for highlighting popular services

4. CONCERN MAP

Auto-generated in Step 4, mapping customer problems to service recommendations.
FieldTypeRequiredNotes
concernMap[concernSlug].primarystring[] (service IDs)YesTop recommended services for this concern
concernMap[concernSlug].secondarystring[] (service IDs)NoAlternative/supplementary services
concernMap[concernSlug].keywordsstring[]YesNatural language synonyms, e.g. ["breakouts", "pimples", "blemishes"]
concernMap[concernSlug].severityobjectNoSeverity-based routing: { mild: [...], moderate: [...], severe: [...] }
concernMap[concernSlug].byAreaobjectNoBody-area routing: { eyes: [...], jawline: [...], fullFace: [...] }

5. CONVERSATION STARTERS

Generated in Step 5 for the chat UI entry points.
FieldTypeRequiredNotes
iconstring (emoji)YesVisual icon for the card
titlestringYesShort display title, e.g. "I want glowing skin"
subtitlestringYesSupporting text, e.g. "Radiance treatments"
messagestringYesThe actual message sent when tapped
targetConcernstringYesLinks to the concern map

6. SYSTEM PROMPT

Generated in Step 6 — a single long-form text field.
FieldTypeRequiredNotes
systemPromptstring (long text)YesComplete AI behavior instructions including business identity, brand voice, service knowledge injection, response formatting rules, booking guidance, and boundaries

7. QUIZ CONFIGURATION

Generated in Step 5 (optional feature).
FieldTypeRequiredNotes
quiz.enabledbooleanYesWhether the quiz feature is active
quiz.questionsarrayConditionalArray of quiz question objects
quiz.scoringLogicobjectConditionalHow answers map to service recommendations

8. TRAINING METADATA

Auto-populated by the system — not editable by admin, but displayed for reference.
FieldTypeRequiredNotes
training.sourceUrlstring (URL)YesThe website that was crawled
training.crawledAtISO datetimeYesWhen the crawl happened
training.pagesAnalyzednumberYesHow many pages were processed
training.lastUpdatedISO datetimeYesLast update timestamp
training.versionnumberYesKnowledge base version number

Admin Onboarding Screen → Field Mapping

ScreenFields Collected / Confirmed
Screen 1 — Getting Startedtraining.sourceUrl (website URL input)
Screen 2 — Analysis ProgressNo fields — progress display only
Screen 3 — Review ServicesAll Service Basic Info fields (name, category, price, duration, concerns). Add/remove services
Screen 4 — Review KnowledgeAll Service AI-Enhanced fields (education, chooseThisFor, selfIdentification, faqs, differentiators, etc.)
Screen 5 — Conversation StylebrandVoice.tone, brandVoice.formality + sample response preview
Screen 6 — Test & LaunchNo new fields — live chat preview, then deploy
Last modified on April 20, 2026