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

Commit

Permalink
Removing ml_enabled from sample (#110)
Browse files Browse the repository at this point in the history
This field is deprecated. by default it is enabled as of April 2018. You can use ml_disabled if you want to show disabling, but this would complicate the sample
  • Loading branch information
crwilcox committed Dec 7, 2018
1 parent dfa2902 commit dc81a2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions samples/intent_management.py
Expand Up @@ -81,8 +81,7 @@ def create_intent(project_id, display_name, training_phrases_parts,
intent = dialogflow.types.Intent(
display_name=display_name,
training_phrases=training_phrases,
messages=[message],
ml_enabled=True)
messages=[message])

response = intents_client.create_intent(parent, intent)

Expand Down

0 comments on commit dc81a2e

Please sign in to comment.