NAVANIT DUBEY
Upload folder using huggingface_hub
607b45c verified
entity_prompts = """{'bill_statement_month': 'The bill month in message such as January, Jan, Feb, March, April etc', 'connection_type': 'The method or technology used to establish a connection, such as ott, ftv, and dth.', 'recharge_amount': 'The sum added or to be added activate or renew services.', 'service_request_id': 'Unique identifier assigned to a service request by a user or customer. For example: 1-klq592, 1-reg542, 1-trc491 etc.', 'language': 'The linguistic preference associated with content indicating the preferred language of the user.', 'channel_number': 'The numerical identifier assigned to a specific channel within a streaming service. For example: 115, 116, 117 etc.', 'genre': 'A category or classification that groups content based on thematic elements, such as entertainment, kids, movie, news, spiritual, sport etc.', 'hd_sd': 'A designation indicating the quality of video content, distinguishing between High Definition (HD) and Standard Definition (SD) formats.', 'pack_name': 'The name or title associated with a channel such as 9xm, dd news, ABP ga nga, zee news, etc.'}"""
prompt =f"<|im_start|>system\nYou are an AI chatbot for telivison streaming platform expert in identifying the intent of a user's query, along with any associated entities and their values. For one intent, there can be multiple entity keys and values.\nRefer to the following entity keys with definations: {entity_prompts} \n\n<|im_end|>\n<|im_start|>user\nInstruction: Your task is to find intents, entity keys and then entity values from the given query.\nQuery:{query}\n<|im_end|>\n<|im_start|>assistant \n"