2025-02-13 16:11:33-Step 01: request processed successfully 2025-02-13 16:11:33-Step 02: Keyword :T25lUGx1cyAxMywgNUcgRHVhbCBTaW0sIEdsb2JhbCBWZXJzaW9uIChNaWRuaWdodCBPY2VhbiwgMTZHQis1MTJHQikgLSBVSyBWZXJzaW9u + 1 2025-02-13 16:11:33-Step 02.1.0: Keyword(decode the keyword) :OnePlus 13, 5G Dual Sim, Global Version (Midnight Ocean, 16GB+512GB) - UK Version 2025-02-13 16:11:33-Step 02.2.2: GPT attemp 1: {'id': 'chatcmpl-B0Qww8qF1dD1c2UbjutLqzV6Ogf7m', 'object': 'chat.completion', 'created': 1739443294, 'model': 'gpt-3.5-turbo-0125', 'choices': [{'index': 0, 'message': {'role': 'assistant', 'content': '"Ultra 5G Smartphone" \n222 g', 'refusal': None}, 'logprobs': None, 'finish_reason': 'stop'}], 'usage': {'prompt_tokens': 66, 'completion_tokens': 11, 'total_tokens': 77, 'prompt_tokens_details': {'cached_tokens': 0, 'audio_tokens': 0}, 'completion_tokens_details': {'reasoning_tokens': 0, 'audio_tokens': 0, 'accepted_prediction_tokens': 0, 'rejected_prediction_tokens': 0}}, 'service_tier': 'default', 'system_fingerprint': None} GPT KEY : *********IjF7O1gpPv 2025-02-13 16:11:33-Step 02.2.3: No error in GPT key and continue 2025-02-13 16:11:33-Step 03: GPT response : {'id': 'chatcmpl-B0Qww8qF1dD1c2UbjutLqzV6Ogf7m', 'object': 'chat.completion', 'created': 1739443294, 'model': 'gpt-3.5-turbo-0125', 'choices': [{'index': 0, 'message': {'role': 'assistant', 'content': '"Ultra 5G Smartphone" \n222 g', 'refusal': None}, 'logprobs': None, 'finish_reason': 'stop'}], 'usage': {'prompt_tokens': 66, 'completion_tokens': 11, 'total_tokens': 77, 'prompt_tokens_details': {'cached_tokens': 0, 'audio_tokens': 0}, 'completion_tokens_details': {'reasoning_tokens': 0, 'audio_tokens': 0, 'accepted_prediction_tokens': 0, 'rejected_prediction_tokens': 0}}, 'service_tier': 'default', 'system_fingerprint': None} 2025-02-13 16:11:33-Step 04: soup text : "Ultra 5G Smartphone" 222 g 2025-02-13 16:11:33-Step 05: All categories : ['ultra 5g smartphone'] 2025-02-13 16:11:33-Step 06: Category found : ultra 5g smartphone 2025-02-13 16:11:33-Step 11: Send to BARD : {'id': 'chatcmpl-B0Qww8qF1dD1c2UbjutLqzV6Ogf7m', 'object': 'chat.completion', 'created': 1739443294, 'model': 'gpt-3.5-turbo-0125', 'choices': [{'index': 0, 'message': {'role': 'assistant', 'content': '"Ultra 5G Smartphone" \n222 g', 'refusal': None}, 'logprobs': None, 'finish_reason': 'stop'}], 'usage': {'prompt_tokens': 66, 'completion_tokens': 11, 'total_tokens': 77, 'prompt_tokens_details': {'cached_tokens': 0, 'audio_tokens': 0}, 'completion_tokens_details': {'reasoning_tokens': 0, 'audio_tokens': 0, 'accepted_prediction_tokens': 0, 'rejected_prediction_tokens': 0}}, 'service_tier': 'default', 'system_fingerprint': None} 2025-02-13 16:11:33-Step 11: Regex Response : {'regex': '(\\d+(?:\\.\\d+)?)\\s?-*(lbs|lb|ounces|ounce|pounds|pound|kilograms|kilogram|kgs|kg|grams|gram|gm|g|oz|tonnes)\\b', 'query': [{'suffix': 'in kilogram in single answer', 'prefix': 'average weight of'}, {'suffix': 'in kilogram in single answer', 'prefix': 'estimated weight of'}, {'suffix': 'in kilogram in single answer', 'prefix': 'typical weight of'}], 'weight_category': [{'suffix': ' in one to three words only in double qoute and give estimated weight with unit without giving extra content', 'prefix': 'category name queted with double quote("") from '}], 'aws_lambda_url': 'https://6re4upx3ru6vsbhtbe5q2mnj6e0fmlew.lambda-url.us-east-2.on.aws', 'gpt_key': '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', 'bard_key': []} 2025-02-13 16:11:33-Step 11.1 2025-02-13 16:11:33-Step 11.4 2025-02-13 16:11:33-category name queted with double quote("") from OnePlus 13, 5G Dual Sim, Global Version (Midnight Ocean, 16GB+512GB) - UK Version in one to three words only in double qoute and give estimated weight with unit without giving extra content 2025-02-13 16:11:33-Step 19: BARD Response (Error) : the JSON object must be str, bytes or bytearray, not NoneType