기본적으로 개체 일치는 개체 항목 중 하나와 정확하게 일치해야 합니다.
이는 단일 단어 항목 값과 동의어에서 문제가 없지만 다중 단어 값과 동의어에서는 문제가 될 수 있습니다.
예를 들어 ball 항목을 다음과 같은 최종 사용자 표현 부분과 일치시키는 경우를 생각해 보겠습니다.
'ball'
'red ball'
'ball red'
'small ball'
'ball small'
'small red ball'
'small ball red'
'red small ball'
'red ball small'
'ball small red'
'ball red small'
일치가 발생하려면 일반적으로 이러한 각 순열의 개체 항목 값과 동의어를 정의해야 합니다.
하지만 퍼지 일치를 사용 설정하면 값 또는 동의어에서 단어의 순서가 중요하지 않습니다.
다음은 위의 모든 예시에 대하여 일치를 트리거합니다.
[[["이해하기 쉬움","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-09-04(UTC)"],[[["\u003cp\u003eEntity matching typically requires an exact match for entity entries, which can be problematic for multi-word values and their various permutations.\u003c/p\u003e\n"],["\u003cp\u003eFuzzy matching, when enabled, allows for word order flexibility within multi-word entity values or synonyms, simplifying the matching process.\u003c/p\u003e\n"],["\u003cp\u003eYou can enable fuzzy matching for an entity through the Dialogflow CX console by checking the "Fuzzy matching" option during entity creation or through the API by setting \u003ccode\u003eEntityType.enableFuzzyExtraction\u003c/code\u003e to true.\u003c/p\u003e\n"],["\u003cp\u003eFuzzy matching should not be enabled for regexp entities or for entities that require matching strict values like IDs or identification numbers.\u003c/p\u003e\n"]]],[],null,["# Fuzzy matching\n\nBy default, entity matching requires an exact match for one of the entity entries.\nThis works well for single-word entity entry values and synonyms\nbut may present a problem for multi-word values and synonyms.\nFor example,\nconsider a *ball* entity\nthat should be matched for the following end-user expression parts:\n\n- \"ball\"\n- \"red ball\"\n- \"ball red\"\n- \"small ball\"\n- \"ball small\"\n- \"small red ball\"\n- \"small ball red\"\n- \"red small ball\"\n- \"red ball small\"\n- \"ball small red\"\n- \"ball red small\"\n\nFor a match to occur,\nyou normally need to define an entity entry value and synonyms for each of these permutations.\nHowever, with fuzzy matching enabled,\nthe ordering of the words in a value or synonym does not matter.\nThe following will trigger a match for all of the examples above:\n\n- \"ball\"\n- \"red ball\"\n- \"small ball\"\n- \"small red ball\"\n\nCreate a fuzzy matching entity\n------------------------------\n\n### Console\n\n1. Open the [Dialogflow CX console](https://dialogflow.cloud.google.com/cx/projects).\n2. Choose your GCP project.\n3. Select your agent.\n4. Select the **Manage** tab.\n5. Click **Entity Types**.\n6. Click **Create**.\n7. Check **Fuzzy matching**.\n8. Complete remaining fields.\n9. Click **Save**.\n\n### API\n\nSet the `EntityType.enableFuzzyExtraction` field to true.\n\n\nGo to the EntityType API reference \n**Select a protocol and version for the EntityType reference:**\n\nClose\n\n\u003cbr /\u003e\n\nLimitations\n-----------\n\nThe following limitations apply:\n\n- Fuzzy matching cannot be enabled for [regexp entities](/dialogflow/docs/entities-regexp). These features are mutually exclusive.\n- Fuzzy matching should not be enabled for entities which are used to match strict values like IDs, national identification numbers, and so on."]]