def create_session_entity_type(project_id, session_id, entity_values,<EOL>entity_type_display_name, entity_override_mode):
import dialogflow_v2 as dialogflow<EOL>session_entity_types_client = dialogflow.SessionEntityTypesClient()<EOL>session_path = session_entity_types_client.session_path(<EOL>project_id, session_id)<EOL>session_entity_type_name = (<EOL>session_entity_types_client.session_entity_type_path(<EOL>project_id, session_id, entity_type_display_name))<EOL>entities = [<EOL>dialogflow.types.EntityType.Entity(value=value, synonyms=[value])<EOL>for value in entity_values]<EOL>session_entity_type = dialogflow.types.SessionEntityType(<EOL>name=session_entity_type_name,<EOL>entity_override_mode=entity_override_mode,<EOL>entities=entities)<EOL>response = session_entity_types_client.create_session_entity_type(<EOL>session_path, session_entity_type)<EOL>print('<STR_LIT>'.format(response))<EOL>
Create a session entity type with the given display name.