def vectorize_with_doc2vec(text, model):
	"""Genereate a vector representation of a text string using Doc2Vec.
	
	Args:
	    text (str): Any arbitrary text string.
	    
	    model (gensim.models.Doc2Vec): A loaded Doc2Vec model object.
	
	Returns:
	    numpy.Array: A numerical vector with length determined by the model used.
	"""
	vector = model.infer_vector(text.lower().split())
	return(vector)