Open ttzeng opened 3 weeks ago
One more abnormal example of Dialogflow extraction failure:
"{'responseId': '64f16064-0699-4229-8634-9c91963762a2-fb923cf8', 'queryResult': {'queryText': "What's the weather today", 'action': 'query.weather', 'parameters': {'getWeather': 'weather', 'getLocation': 'What', 'date': '', 'time-period': '', 'date-time': ''}, 'allRequiredParamsPresent': True, 'intent': {'name': 'projects/ttzeng-gcp/agent/intents/df5187c4-af82-454f-b3ee-b45ba4fe0ae6', 'displayName': 'Query Weather Intent'}, 'intentDetectionConfidence': 0.5565892, 'languageCode': 'zh-tw'}, 'originalDetectIntentRequest': {'source': 'line', 'payload': {'data': {'timestamp': '1717986663838', 'source': {'userId': 'U83c6e8f0e536cbca2a61f0eb8a1f6951', 'type': 'user'}, 'message': {'id': '511965738392355235', 'text': "What's the weather today", 'type': 'text'}, 'type': 'message', 'replyToken': 'd3d1c396b6f6484893d257f82a0269ec'}}}, 'session': 'projects/ttzeng-gcp/agent/sessions/801e75c5-6920-3c28-8c0b-d933e45206cf'}"
One more error that the prompt "早安" was matched by the Weather Intent!
{'responseId': 'f5191d54-ee39-453f-8839-a827579642f7-fb923cf8', 'queryResult': {'queryText': '早安', 'action': 'query.weather', 'parameters': {'time-period': {'startTime': '2024-06-11T05:00:00+08:00', 'endTime': '2024-06-11T11:59:59+08:00'}, 'getLocation': '安', 'date': '', 'getWeather': '', 'date-time': ''}, 'allRequiredParamsPresent': True, 'intent': {'name': 'projects/ttzeng-gcp/agent/intents/df5187c4-af82-454f-b3ee-b45ba4fe0ae6', 'displayName': 'Query Weather Intent'}, 'intentDetectionConfidence': 0.4361218, 'languageCode': 'zh-tw'}, 'originalDetectIntentRequest': {'source': 'line', 'payload': {'data': {'source': {'type': 'user', 'userId': 'U83c6e8f0e536cbca2a61f0eb8a1f6951'}, 'message': {'id': '512106994716115314', 'text': '早安', 'type': 'text'}, 'timestamp': '1718070859141', 'replyToken': '883679c6022a4127aa68c423fbc02ae8', 'type': 'message'}}}, 'session': 'projects/ttzeng-gcp/agent/sessions/801e75c5-6920-3c28-8c0b-d933e45206cf'}
It looks like Dialogflow extracts the word
明天
as location entity: