세션은 대화형 에이전트(Dialogflow CX) 에이전트와 최종 사용자 간의 대화를 나타냅니다.
세션 중에 세션 항목 또는 사용자 항목이라는 특수 항목을 만들 수 있습니다.
세션 항목은 커스텀 항목 유형을 확장하거나 대체할 수 있으며 세션 항목이 만들어진 세션 동안에만 존재할 수 있습니다.
대화형 에이전트(Dialogflow CX)는 세션 항목을 포함한 모든 세션 데이터를 30분 동안 저장합니다.
예를 들어 에이전트에 '서양배' 및 '포도'를 포함하는 @fruit 항목 유형이 있는 경우, 에이전트가 최종 사용자로부터 수집하는 정보에 따라 '사과' 또는 '오렌지'를 포함하도록 항목 유형을 업데이트할 수 있습니다.
업데이트된 항목 유형은 나머지 세션에 대해 '사과' 또는 '오렌지' 항목을 포함하게 됩니다.
API로 세션 항목 관리
API를 사용하여 세션 항목을 관리하려면 SessionEntity 유형의 메서드를 사용합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-04(UTC)"],[[["\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"]]