Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

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 c26f3cf commit dfa2902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/intent_management.py
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 dfa2902

Please sign in to comment.