Custom Knowledge Base
Define your own conversation flow using a JSON object.
Knowledge Base Structure:
const myKnowledgeBase = [
{
id: "welcome",
keyword: ["hello", "hi"],
reply: "Hello! I am a custom bot. How can I help?",
options: [
{ label: "About", reply_id: "about" },
{ label: "Contact", reply_id: "contact" }
]
},
// ... more nodes
];