def response_generator(intent, tags, tokens):
	"""
	response_generator - function to generate response (searching in this version)
	Inputs:
		- intent : str
			Intent
		- tags : list
			List of tags
		- tokens : list
			List of tokens
	Outputs:
		- _: dict
			Dictionary of Intent and Entities
	"""

	entities = {}
	for idx in range(len(tags)):
		if tags[idx] != 'o':
			tag = tags[idx][2:]

			if not tag in entities:
				entities[tag] = [tokens[idx]]

			else:
				entities[tag].append(tokens[idx])

	return {'Intent' : intent, 'Entities' : entities}