Skip to content

Commit

Permalink
Added the ml_enabled parameter to intent creation (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbreuel authored and JustinBeckwith committed Dec 7, 2018
1 parent 4779bcb commit 315ca13
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def create_intent(project_id, display_name, training_phrases_parts,
intent = dialogflow.types.Intent(
display_name=display_name,
training_phrases=training_phrases,
messages=[message])
messages=[message],
ml_enabled=True)

response = intents_client.create_intent(parent, intent)

Expand Down

0 comments on commit 315ca13

Please sign in to comment.