'Create intent.
Create a new intent.
:param workspace_id: The workspace ID.
:param intent: The name of the intent.
:param description: The description of the intent.
:param examples: An array of user input examples.'

def create_intent(self, workspace_id, intent, description=None, examples=None):

    params = {'version': self.version}
    data = {'intent': intent, 'description': description, 'examples': examples}
    return self.request(method='POST', url='/v1/workspaces/{0}/intents'.format(workspace_id), params=params, json=data, accept_json=True)
