'Create entity.
Create a new entity.
:param workspace_id: The workspace ID.
:param entity: The name of the entity.
:param description: The description of the entity.
:param metadata: Any metadata related to the value.
:param values: An array of entity values.
:param fuzzy_match: Whether to use fuzzy matching for the entity.'

def create_entity(self, workspace_id, entity, description=None, metadata=None, values=None, fuzzy_match=None):

    params = {'version': self.version}
    data = {'entity': entity, 'description': description, 'metadata': metadata, 'values': values, 'fuzzy_match': fuzzy_match}
    return self.request(method='POST', url='/v1/workspaces/{0}/entities'.format(workspace_id), params=params, json=data, accept_json=True)
