The Custom Training API allows you to programmatically manage training data for your AI assistant. Custom trainings are question-answer pairs that help the AI understand how to respond to specific scenarios or questions unique to your business or use case.

Overview

Custom trainings consist of three main components:

  • Title/Question - The prompt or question that your AI should recognize
  • Body/Answer - The ideal response that your AI should provide
  • Category - Used to organize related training entries

Using these APIs, you can:

  1. Retrieve all custom trainings for your organization
  2. Create new custom trainings to improve your AI’s knowledge
  3. Update existing trainings to refine the AI’s responses
  4. Delete trainings that are no longer needed
  5. Generate training scenarios from existing chat conversations

Available Endpoints

Best Practices

  • Group related trainings with consistent category names
  • Use clear, concise titles that capture the essence of the question
  • Provide comprehensive answers that address all aspects of the question
  • Regularly review and update your custom trainings as your business evolves
  • Use the generate scenario feature to identify gaps in your AI’s knowledge