[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[[["\u003cp\u003eA session in Conversational Agents (Dialogflow CX) represents a conversation between the agent and an end-user.\u003c/p\u003e\n"],["\u003cp\u003eSession entities, also known as user entities, are special entities created during a session that can expand or replace custom entity types.\u003c/p\u003e\n"],["\u003cp\u003eSession entities are only active for the duration of the session in which they are created.\u003c/p\u003e\n"],["\u003cp\u003eAll session data, including session entities, is temporarily stored by Conversational Agents (Dialogflow CX) for a duration of 30 minutes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionEntityType\u003c/code\u003e API can be used to manage session entities, with resources and interfaces available for various protocols and versions, including REST and RPC.\u003c/p\u003e\n"]]],[],null,["# Session entities\n\nA *session* represents a conversation\nbetween a Conversational Agents (Dialogflow CX) agent and an end-user.\nYou can create special entities, called *session entities* ,\nor *user entities*,\nduring a session.\nSession entities can extend or replace custom entity types\nand only exist during the session that they were created for.\nAll session data, including session entities,\nis stored by Conversational Agents (Dialogflow CX) for 30 minutes.\n\nFor example, if your agent has a `@fruit` entity type\nthat includes \"pear\" and \"grape\",\nthat entity type could be updated to include \"apple\" or \"orange\",\ndepending on the information your agent collects from the end-user.\nThe updated entity type would have the \"apple\" or \"orange\" entity entry\nfor the rest of the session.\n\nManaging session entities with the API\n--------------------------------------\n\nTo manage session entities with the API,\nuse the methods for the `SessionEntity` type.\n\n\nGo to the SessionEntityType API reference \n**Select a protocol and version for the SessionEntityType reference:**\n\nClose\n\n\u003cbr /\u003e"]]