Training Data

Adding Training Data to Knowledge Base

Manual Entry Method

How it Works

You can manually add training data by creating individual key-value pairs directly in the knowledge base interface.

Process

  1. Navigate to Knowledge Base: Open your created knowledge base

  2. Add Key-Value Pairs: Click "Add New Entry"

  3. Enter Information:

    • Key: The topic or question (e.g., "iphone_16_pro_price")

    • Value: The answer or information (e.g., "$999 starting price")

  4. Save Entry: Confirm and save each pair

  5. Repeat: Continue adding entries one by one

Best For

  • Small amounts of data

  • Quick updates

  • Simple question-answer pairs

  • Initial setup with basic information

Key: "return_policy"
Value: "30-day return policy with receipt"

Key: "shipping_cost"  
Value: "Free shipping on orders over $50"

Key: "customer_support_hours"
Value: "24/7 chat support, phone support 9 AM - 9 PM"

JSON Upload Method

How it Works

Upload a structured JSON file containing all your training data at once. The system processes the entire file and imports all key-value pairs automatically.

Process

  1. Prepare JSON File: Create a properly formatted JSON file

  2. Navigate to Knowledge Base: Open your knowledge base

  3. Upload Option: Select "Upload JSON" or "Import Data"

  4. Select File: Choose your JSON file from your computer

  5. Import: The system automatically processes all entries

JSON Structure Example

{
  "products": {
    "iphone_16_pro": {
      "price": "$999",
      "stock": "In Stock",
      "warranty": "1 year"
    }
  },
  "policies": {
    "return_policy": "30 days",
    "shipping_policy": "Free over $50"
  },
  "support": {
    "hours": "24/7 chat, 9 AM - 9 PM phone",
    "email": "[email protected]"
  }
}

Last updated