I have my Dialogflow es agent working weid now.
Previously, I was training one intent understanding how many bedrooms the enduser mentioned, so I have an entity relating to that called $sc_bed
It should be a list as a checked the "is list" in action and parameters
action and parametes I have for this Intent
Also I have 3 output contexts with this intent and store the key parameters mentioned contexts
For my understanding, the sc_bed entity should be stored in all 3 contexts I mentioned above, with same value and format(which should be list rather than string)
However, the log shows that the entity in different contexts are different in both format and value, I will shoe the log here.
"name": "projects/xxxx/locations/global/agent/sessions/f4xxxxxxxx/contexts/search_criteria",
"lifespanCount": 49,
"parameters": {
"is_visitor": "yes",
"lead_first_name": "Test Lead",
"sc_location": [],
"clarify_renter.original": "",
"lead_email.original": "",
"buyer_reply_message2": "I’d like to get a little more information from you if that's ok.",
"sc_timeframe.original": [],
"buyer_interested_listing.original": "",
"conversation.original": "",
"lead_type": "renter",
"buyer_reply_message": "I've got your preferences down here and I'll set up a search for places you might like.",
"seller_market_snapshot.original": "",
"lead_first_name.original": "",
"assigned_agent_name.original": "",
**"sc_bed": {
"amount": 3
},**
"assigned_agent_name": "Test Assigned Agent",
"reply_message_timeframe": "We would love to assist you with the renting process!",
"sc_maxPrice.original": [],
"reminder_price_reduced_link": "chime.me/pricereduced",
"sc_timeframe_range": [],
"search_listing_result.original": "",
"sc_propertyType": [],
"sc_priceRange": [],
"sc_maxPrice": [],
}
},
{
"name": "projects/newagent-mxiwbg/locations/global/agent/sessions/f47970c6-49b2-c8a9-7aff-60316c185007/contexts/general_info",
"lifespanCount": 49,
"parameters": {
"chime_action_add_tag": "AI: Interested",
"buyer_reply_message2.original": "",
"follow_up_event.original": "",
"conversation": "renter_home_search",
"conversation.original": "",
"sc_feature.original": [],
"sc_location": [],
"lead_type": "renter",
"reply_message_timeframe.original": "",
"sc_priceRange": [],
"buyer_reply_message.original": "",
"sc_approxPrice": "",
"sc_propertyType": [],
"sc_propertyType.original": [],
"clarify_renter.original": "",
"sc_timeframe_range": [],
"clarify_renter": "Yes",
"sc_maxPrice.original": [],
**"sc_bed": [
{
"amount.original": [
"2",
"3"
],
"amount": [
2,
3
]
}
],
"sc_bed.original": [
"2 or 3 bedroom"
],**
}
},
What I am expecting are 2 points:
- The entity in different contexts should be the same one at least for the entity extracted in this exactly same one intent
- The entity info should keep the format I checked which is a list not a string.