pythonchatbotdialogflow-es

Training Dialogflow Doubts


I am using python package dialogflow to connect to my dialogflow agent. I have 2 doubts regarding dialogflow agent training

  1. When I add intents using RPC, do I need to explicitly train? And by train I mean call the TrainAgent function and wait for it to complete.
  2. If I call TrainAgent twice in succession without waiting between those calls, will dialogflow train twice or just take the recentmost request and train once?

Solution

    1. Whenever you change anything in your intent, the training will be started automatically.
    2. But if you want to explicitly start training your agent then you need to call "TrainAgent" function.
    3. If you call the function twice, the agent training will start again only after the first training completes.