Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialog Flow Issue - Conversation Stops

Hello,

I'm a complete beginner to Google Dialog Flow and I recently built a chatbot called retail Bot using the tutorial available in the documentation. This really helped me understand the concepts used while building chatbots. I made sure to follow every bit of it to have the chatbot functional in every way. But it seems like there a roadblock due to unknown reason. The agent stops having a conversation after a point. That being said, I tried debugging to see if I'm missing any routes (intent or conditionals), but everything was intact. Next, I tried looking into the logs from the built-in Simulator, it shows that the state is "TRANSITION_ROUTING", but it doesn't route.

For more on the context, I'm attaching the Simulator Original response. Any kind of help would be appreciated. I would be happy to provide any information in this regard.

reference: https://codelabs.developers.google.com/codelabs/dialogflow-cx-retail-agent?hl=en


{
"advancedSettings": {
"loggingSettings": {
"enableInteractionLogging": true,
"enableStackdriverLogging": true
}
},
"currentFlow": {
"displayName": "Catalog",
"name": "projects/integral-kiln-396613/locations/us-central1/agents/396e7ddb-9bfa-4404-8329-890013ada4bb/flows/dfbe4a01-d384-43ca-8e81-08b17fafc3a6"
},
"currentPage": {
"displayName": "Product",
"name": "projects/integral-kiln-396613/locations/us-central1/agents/396e7ddb-9bfa-4404-8329-890013ada4bb/flows/dfbe4a01-d384-43ca-8e81-08b17fafc3a6/pages/2ed31f40-ab01-4e9c-be64-16b3fab43f52"
},
"diagnosticInfo": {
"Transition Targets Chain": [
{
"TargetPage": "2ed31f40-ab01-4e9c-be64-16b3fab43f52"
}
],
"Alternative Matched Intents": [
{
"Score": 0.6000000238418579,
"Type": "NLU_SLOT",
"Parameters": {
"shirtsize": {
"original": "REDACTED",
"resolved": "REDACTED",
"type": "@shirtsize"
}
},
"Active": true
}
],
"Session Id": "639ec2-548-239-bc6-7fa8f2e85",
"Response Id": "9d93bcc6-f6bf-4ff3-b9ae-84e49574deaa",
"Execution Sequence": [
{
"Step 1": {
"Type": "INITIAL_STATE",
"InitialState": {
"SessionParameters": {
"category": "shirts",
"artist": "REDACTED",
"merch": "REDACTED",
"shirtsize": "REDACTED"
},
"MatchedIntent": {
"Parameters": {
"shirtsize": {
"type": "@shirtsize",
"resolved": "REDACTED",
"original": "REDACTED"
}
},
"Score": 0.6000000238418579,
"Active": true,
"Type": "NLU_SLOT"
},
"FlowState": {
"Name": "Catalog",
"PageState": {
"Name": "Shirt Size",
"PageId": "c6d546a6-2500-4b90-8c2b-ecb8dfabade4",
"Status": "PROCESSING_FORM",
"ActiveParameter": "shirtsize",
"FormFilled": false
},
"Version": 0,
"FlowId": "dfbe4a01-d384-43ca-8e81-08b17fafc3a6"
}
}
}
},
{
"Step 2": {
"StateMachine": {
"TriggeredTransitionRouteId": "5d95ef84-56e4-4ac6-bda0-cfeef170404f",
"FlowState": {
"Version": 0,
"Name": "Catalog",
"PageState": {
"Name": "Shirt Size",
"Status": "TRANSITION_ROUTING",
"FormFilled": true,
"PageId": "c6d546a6-2500-4b90-8c2b-ecb8dfabade4"
},
"FlowId": "dfbe4a01-d384-43ca-8e81-08b17fafc3a6"
},
"TriggeredCondition": "$page.params.shirtsize != \"null\"",
"TargetPage": "2ed31f40-ab01-4e9c-be64-16b3fab43f52"
},
"FunctionExecution": {
"Responses": []
},
"Type": "STATE_MACHINE"
}
},
{
"Step 3": {
"StateMachine": {
"FlowState": {
"FlowId": "dfbe4a01-d384-43ca-8e81-08b17fafc3a6",
"Version": 0,
"PageState": {
"FormFilled": true,
"Name": "Product",
"Status": "TRANSITION_ROUTING",
"PageId": "2ed31f40-ab01-4e9c-be64-16b3fab43f52"
},
"Name": "Catalog"
}
},
"Type": "STATE_MACHINE"
}
}
],
"Triggered Transition Names": [
"5d95ef84-56e4-4ac6-bda0-cfeef170404f"
]
},
"intentDetectionConfidence": 0.6,
"languageCode": "en",
"match": {
"confidence": 0.6,
"matchType": "PARAMETER_FILLING",
"parameters": {
"shirtsize": "S"
},
"parametersOriginalValues": {
"shirtsize": "S"
},
"resolvedInput": "I want a size S"
},
"parameters": {
"category": "shirts",
"artist": "Alice Googler",
"merch": "LongSleeve",
"shirtsize": "S"
},
"redactedParameters": [
"artist",
"merch",
"shirtsize"
],
"text": "I want a size S"
}

0 3 534
3 REPLIES 3