Đặt tên cho các mã và chữ viết tắt trong tài liệu của bạn, và biến chúng thành khái niệm.
Một phần entities: tùy chọn của ladygraph.yaml đặt tên cho những thứ mà các tài liệu của một lần triển khai chứa và giải thích chúng: mã tài liệu, mã biểu mẫu, số quyết định và chữ viết tắt. Nó nằm cạnh sources: và được đọc bởi sources/entities.py (load_entities, EntityEngine, Lexicon). Một loại là dữ liệu, nên một loại mới là một mục mới trong cấu hình.
entities: order: [form_code, document_code] # ai sở hữu một đoạn văn bản trước; loại ghép đứng trước loại nằm bên trong nó kinds: document_code: answer: title # title | expansion pattern: '(?<![\w.])(?P<doc>[A-Z]{1,3}[.\-][A-Z]{2,3}[.\-]\d{3})(?![\w])' key: [doc] # các nhóm đặt tên dùng để nhận diện nó; F02 của hai tài liệu là hai mục classes: {from: doc, by_prefix: {PR: process}} title: {strip: [numbers, extension, kinds], min_words: 2, reject: ['^step\b']} resolvers: # thử theo thứ tự; cái đầu tiên trả lời được thắng, các cái còn lại được giữ để đối chiếu - {type: metadata, code: doc_code} - {type: text, pattern: '(?P<title>[^.;\n]{10,160}?)\s*\(Code:\s*{self}\)'}
Các khóa gập chữ hoa chữ thường, dấu và dấu phân cách giống như cách khớp từ khóa, nên REF.AB.010 và RÉF.AB.010 là một mục. Bộ phân giải metadata đọc Document.metadata[code], nên một nguồn SQL cung cấp nó bằng map.metadata.Một câu trả lời luôn là một tiêu đề hoặc cách mở rộng ngắn kèm một con trỏ (địa chỉ, khoảng và dấu vân tay). Nó không bao giờ là văn bản nguồn được sao chép.Ví dụ đầy đủ là docs/entity_kinds.example.yaml trong kho mã. Để xem các mục:
Với một phần concepts:, LexiconExtractor (extractors/lexicon.py) bọc bất kỳ bộ trích xuất nào. Vào đóng góp riêng của mỗi tài liệu, nó thêm một khái niệm cho mỗi mã mà tài liệu nhắc tới và đáng có một khái niệm, cùng các liên kết REFERS_TO từ các khái niệm của tài liệu tới các mã đó.Khái niệm của một mã có:
Một tiêu đề bằng mã như được viết lần đầu. Tiêu đề tạo ra mã, nên nó không được thay đổi khi một ý nghĩa được diễn đạt lại.
Một mô tả một câu gồm ý nghĩa và mã (describe_resolved, hoặc describe_unresolved khi không tài liệu nào nêu rõ).
Mã như một từ của người dùng, đóng dấu human:<actor>, vì người viết mẫu đã định nghĩa nó.
Bằng chứng: ý nghĩa được viết ra trước, rồi tối đa evidence_per_document lần nhắc khác.
Một mã là một khái niệm. Đóng góp của mỗi tài liệu chỉ mang bằng chứng của riêng nó, và kho hợp nhất chúng. Các ngữ cảnh là một ngữ cảnh cấp trên cùng cho mỗi loại, được đặt tên theo label của loại đó.
Mục nào được có khái niệm
Không phải một trung tâm, nghĩa là không xuất hiện trong nhiều hơn max_share số đoạn.
Khi không tìm thấy ý nghĩa, mã phải xuất hiện trong ít nhất min_passages_unresolved đoạn, và không được là một từ viết hoa toàn bộ mà cũng được viết bình thường lowercase_words lần.
Một loại có thể từ chối bằng concept: false.
Một khái niệm của tài liệu có REFERS_TO tới một mã mà đoạn của nó nhắc tới trong một trong hai trường hợp:
Mã nằm trong chính tiêu đề hoặc mô tả của khái niệm.
Khái niệm là tiêu đề của đoạn của nó (bằng chứng của nó bắt đầu trong heading_chars đầu tiên), và đoạn nhắc tới tối đa max_codes_in_passage mã.
Có tối đa max_links liên kết cho mỗi khái niệm. Một mã không có ý nghĩa và không có liên kết nào trong một tài liệu thì không có khái niệm ở đó.Khai báo quan hệ trong ontology với origin: entities, điều này cũng ngăn nó bị đưa cho LLM:
relations: REFERS_TO: {description: A concept's passage mentions a code that has its own concept, to: [term], origin: entities}
Các giá trị mặc định được điều chỉnh trên một kho dữ liệu, nên hãy kiểm tra chúng trên kho của bạn. Các con số nằm trong cấu hình ví dụ. Một giới hạn đã biết: bằng chứng đầu tiên của một khái niệm đã hợp nhất là của đơn vị đầu tiên, không nhất thiết là cái chứa ý nghĩa. Vì vậy một câu hỏi về một mã có thể tìm đúng khái niệm nhưng hiển thị một lần nhắc khác. Bộ trích xuất đặt ý nghĩa lên trước trong đóng góp của chính nó, nhưng việc đảm bảo điều đó xuyên qua các đơn vị là việc của kho.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ladyGraph","colors":{"primary":"#B1212D","light":"#FFB3B0","dark":"#D43C42"},"logo":{"light":"https://mintcdn.com/daves-tran/-ttQYAEZXt81_rL8/logo/light.svg?fit=max\u0026auto=format\u0026n=-ttQYAEZXt81_rL8\u0026q=85\u0026s=9a4569643e4737486485cedb27379a5e","dark":"https://mintcdn.com/daves-tran/-ttQYAEZXt81_rL8/logo/dark.svg?fit=max\u0026auto=format\u0026n=-ttQYAEZXt81_rL8\u0026q=85\u0026s=0f2023129a8a49436037f6057e5f038e"},"favicon":{"light":"https://mintcdn.com/daves-tran/-ttQYAEZXt81_rL8/favicon.svg?fit=max\u0026auto=format\u0026n=-ttQYAEZXt81_rL8\u0026q=85\u0026s=83bdf2392fd8958170cffb7ae2e87ce8","dark":"https://mintcdn.com/daves-tran/-ttQYAEZXt81_rL8/favicon-dark.svg?fit=max\u0026auto=format\u0026n=-ttQYAEZXt81_rL8\u0026q=85\u0026s=d3d4980fac75b919dcf0d003cfc995f3"},"background":{"color":{"light":"#F8F9FF","dark":"#0D1420"}},"navbar":{"links":[{"href":"https://github.com/DTJ-Tran/ladyGraph","type":"github"}]},"footer":{"socials":{"github":"https://github.com/DTJ-Tran/ladyGraph"}},"fonts":{"heading":{"family":"Inter","weight":700},"body":{"family":"Inter","weight":400}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"vi","href":"vi"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"daves-tran","hasAudioNarration":false,"actualSubdomain":"daves-tran","customDomains":["ladygraph.io.vn"],"gitSource":{"type":"github","owner":"dtj-tran","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b12caeddb79db5958a488b8"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b15890d0cc8674c3fb86d74","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"en","tag":"API reference","count":13},{"language":"vi","tag":"Tham chiếu API","count":13},{"language":"en","tag":"Concepts","count":11},{"language":"vi","tag":"Khái niệm","count":11},{"language":"en","tag":"Guides","count":10},{"language":"vi","tag":"Hướng dẫn","count":10},{"language":"en","tag":"Get started","count":2},{"language":"vi","tag":"Bắt đầu","count":2},{"language":"en","tag":"Reference","count":1},{"language":"vi","tag":"Tham chiếu","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"vi/guides/entity-kinds","slug":"/vi/guides/entity-kinds","pageMetadata":{"title":"Các loại thực thể","description":"Đặt tên cho các mã và chữ viết tắt trong tài liệu của bạn, và biến chúng thành khái niệm.","href":"/vi/guides/entity-kinds"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Đặt tên cho các mã và chữ viết tắt trong tài liệu của bạn, và biến chúng thành khái niệm.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Một phần `,_jsx(_components.code,{children:`entities:`}),` tùy chọn của `,_jsx(_components.code,{children:`ladygraph.yaml`}),` đặt tên cho những thứ mà các tài liệu của một lần triển khai chứa và giải thích chúng: mã tài liệu, mã biểu mẫu, số quyết định và chữ viết tắt. Nó nằm cạnh `,_jsx(_components.code,{children:`sources:`}),` và được đọc bởi `,_jsx(_components.code,{children:`sources/entities.py`}),` (`,_jsx(_components.code,{children:`load_entities`}),`, `,_jsx(_components.code,{children:`EntityEngine`}),`, `,_jsx(_components.code,{children:`Lexicon`}),`). Một loại là dữ liệu, nên một loại mới là một mục mới trong cấu hình.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`entities`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` order`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`form_code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`document_code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# ai sở hữu một đoạn văn bản trước; loại ghép đứng trước loại nằm bên trong nó`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` kinds`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` document_code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` answer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`title`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # title | expansion`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` pattern`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'(?\u003c![\\\\w.])(?P\u003cdoc>[A-Z]{1,3}[.\\\\-][A-Z]{2,3}[.\\\\-]\\\\d{3})(?![\\\\w])'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` key`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`doc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# các nhóm đặt tên dùng để nhận diện nó; F02 của hai tài liệu là hai mục`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` classes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`doc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`by_prefix`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`PR`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`strip`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`numbers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`extension`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`kinds`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`min_words`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`reject`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'^step\\\\b'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` resolvers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# thử theo thứ tự; cái đầu tiên trả lời được thắng, các cái còn lại được giữ để đối chiếu`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`metadata`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`doc_code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`pattern`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'(?P\u003ctitle>[^.;\\\\n]{10,160}?)\\\\s*\\\\(Code:\\\\s*{self}\\\\)'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Các khóa gập chữ hoa chữ thường, dấu và dấu phân cách giống như cách khớp từ khóa, nên `,_jsx(_components.code,{children:`REF.AB.010`}),` và `,_jsx(_components.code,{children:`RÉF.AB.010`}),` là một mục. Bộ phân giải `,_jsx(_components.code,{children:`metadata`}),` đọc `,_jsx(_components.code,{children:`Document.metadata[code]`}),`, nên một nguồn SQL cung cấp nó bằng `,_jsx(_components.code,{children:`map.metadata`}),`.`]}),`\n`,_jsx(_components.p,{children:`Một câu trả lời luôn là một tiêu đề hoặc cách mở rộng ngắn kèm một con trỏ (địa chỉ, khoảng và dấu vân tay). Nó không bao giờ là văn bản nguồn được sao chép.`}),`\n`,_jsxs(_components.p,{children:[`Ví dụ đầy đủ là `,_jsx(_components.code,{children:`docs/entity_kinds.example.yaml`}),` trong kho mã. Để xem các mục:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PYTHONPATH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ladygraph`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` python`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sources.entities`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`yam`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`l`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --scope`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`scop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [--kind `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`K]`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [--unresolved]`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`các-mục-như-các-khái-niệm`,children:`Các mục như các khái niệm`}),`\n`,_jsxs(_components.p,{children:[`Với một phần `,_jsx(_components.code,{children:`concepts:`}),`, `,_jsx(_components.code,{children:`LexiconExtractor`}),` (`,_jsx(_components.code,{children:`extractors/lexicon.py`}),`) bọc bất kỳ bộ trích xuất nào. Vào đóng góp riêng của mỗi tài liệu, nó thêm một khái niệm cho mỗi mã mà tài liệu nhắc tới và đáng có một khái niệm, cùng các liên kết `,_jsx(_components.code,{children:`REFERS_TO`}),` từ các khái niệm của tài liệu tới các mã đó.`]}),`\n`,_jsx(_components.p,{children:`Khái niệm của một mã có:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Một tiêu đề`}),` bằng mã như được viết lần đầu. Tiêu đề tạo ra mã, nên nó không được thay đổi khi một ý nghĩa được diễn đạt lại.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Một mô tả`}),` một câu gồm ý nghĩa và mã (`,_jsx(_components.code,{children:`describe_resolved`}),`, hoặc `,_jsx(_components.code,{children:`describe_unresolved`}),` khi không tài liệu nào nêu rõ).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mã như một từ của người dùng`}),`, đóng dấu `,_jsx(_components.code,{children:`human:\u003cactor>`}),`, vì người viết mẫu đã định nghĩa nó.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Bằng chứng`}),`: ý nghĩa được viết ra trước, rồi tối đa `,_jsx(_components.code,{children:`evidence_per_document`}),` lần nhắc khác.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Một mã là một khái niệm. Đóng góp của mỗi tài liệu chỉ mang bằng chứng của riêng nó, và kho hợp nhất chúng. Các ngữ cảnh là một ngữ cảnh cấp trên cùng cho mỗi loại, được đặt tên theo `,_jsx(_components.code,{children:`label`}),` của loại đó.`]}),`\n`,_jsx(Heading,{level:`3`,id:`mục-nào-được-có-khái-niệm`,children:`Mục nào được có khái niệm`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Không phải một trung tâm, nghĩa là không xuất hiện trong nhiều hơn `,_jsx(_components.code,{children:`max_share`}),` số đoạn.`]}),`\n`,_jsxs(_components.li,{children:[`Khi không tìm thấy ý nghĩa, mã phải xuất hiện trong ít nhất `,_jsx(_components.code,{children:`min_passages_unresolved`}),` đoạn, và không được là một từ viết hoa toàn bộ mà cũng được viết bình thường `,_jsx(_components.code,{children:`lowercase_words`}),` lần.`]}),`\n`,_jsxs(_components.li,{children:[`Một loại có thể từ chối bằng `,_jsx(_components.code,{children:`concept: false`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Một khái niệm của tài liệu có `,_jsx(_components.code,{children:`REFERS_TO`}),` tới một mã mà đoạn của nó nhắc tới trong một trong hai trường hợp:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Mã nằm trong chính tiêu đề hoặc mô tả của khái niệm.`}),`\n`,_jsxs(_components.li,{children:[`Khái niệm là tiêu đề của đoạn của nó (bằng chứng của nó bắt đầu trong `,_jsx(_components.code,{children:`heading_chars`}),` đầu tiên), và đoạn nhắc tới tối đa `,_jsx(_components.code,{children:`max_codes_in_passage`}),` mã.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Có tối đa `,_jsx(_components.code,{children:`max_links`}),` liên kết cho mỗi khái niệm. Một mã không có ý nghĩa và không có liên kết nào trong một tài liệu thì không có khái niệm ở đó.`]}),`\n`,_jsxs(_components.p,{children:[`Khai báo quan hệ trong ontology với `,_jsx(_components.code,{children:`origin: entities`}),`, điều này cũng ngăn nó bị đưa cho LLM:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`relations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` REFERS_TO`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`A concept's passage mentions a code that has its own concept`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`term`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`origin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`entities`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`engine `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` EntityEngine(load_entities(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ladygraph.yaml\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`lexicon `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` engine.build(documents) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# mọi tài liệu của phạm vi: rẻ, không cần LLM`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`extractor `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` LexiconExtractor(LlmOkfExtractor(llm, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`embedder`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`embedder), engine, lexicon, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`embedder`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`embedder)`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Các giá trị mặc định được điều chỉnh trên một kho dữ liệu, nên hãy kiểm tra chúng trên kho của bạn. Các con số nằm trong cấu hình ví dụ. Một giới hạn đã biết: bằng chứng đầu tiên của một khái niệm đã hợp nhất là của đơn vị đầu tiên, không nhất thiết là cái chứa ý nghĩa. Vì vậy một câu hỏi về một mã có thể tìm đúng khái niệm nhưng hiển thị một lần nhắc khác. Bộ trích xuất đặt ý nghĩa lên trước trong đóng góp của chính nó, nhưng việc đảm bảo điều đó xuyên qua các đơn vị là việc của kho.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Các loại thực thể","description":"Đặt tên cho các mã và chữ viết tắt trong tài liệu của bạn, và biến chúng thành khái niệm.","href":"/vi/guides/entity-kinds"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Các mục như các khái niệm","slug":"các-mục-như-các-khái-niệm","depth":2,"children":[{"title":"Mục nào được có khái niệm","slug":"mục-nào-được-có-khái-niệm","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"daves-tran","siteName":"ladyGraph","title":"Các loại thực thể - ladyGraph","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/guides/entity-kinds","matchLevel":1},"vi":{"href":"/vi/guides/entity-kinds","matchLevel":0}}},"lastModified":"2026-12-06T15:00:22.180Z","originalFileLocation":"vi/guides/entity-kinds.mdx","locale":"vi"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Đặt tên cho các mã và chữ viết tắt trong tài liệu của bạn, và biến chúng thành khái niệm.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ladyGraph\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Các loại thực thể - ladyGraph\">\u003cmeta data-mint-head property=\"og:description\" content=\"Đặt tên cho các mã và chữ viết tắt trong tài liệu của bạn, và biến chúng thành khái niệm.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ladyGraph\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://ladygraph.io.vn/vi/guides/entity-kinds\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://daves-tran.mintlify.site/_mintlify/api/og/v2?division=H%C6%B0%E1%BB%9Bng+d%E1%BA%ABn\u0026amp;title=C%C3%A1c+lo%E1%BA%A1i+th%E1%BB%B1c+th%E1%BB%83\u0026amp;description=%C4%90%E1%BA%B7t+t%C3%AAn+cho+c%C3%A1c+m%C3%A3+v%C3%A0+ch%E1%BB%AF+vi%E1%BA%BFt+t%E1%BA%AFt+trong+t%C3%A0i+li%E1%BB%87u+c%E1%BB%A7a+b%E1%BA%A1n%2C+v%C3%A0+bi%E1%BA%BFn+ch%C3%BAng+th%C3%A0nh+kh%C3%A1i+ni%E1%BB%87m.\u0026amp;theme=69b40a9290c082c10989a3c4\u0026amp;signature=c9dab246b47fe539617cfa9f3a278bf6cb3aa766c0a2eeac882076a302d9c743\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Các loại thực thể - ladyGraph\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Đặt tên cho các mã và chữ viết tắt trong tài liệu của bạn, và biến chúng thành khái niệm.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://daves-tran.mintlify.site/_mintlify/api/og/v2?division=H%C6%B0%E1%BB%9Bng+d%E1%BA%ABn\u0026amp;title=C%C3%A1c+lo%E1%BA%A1i+th%E1%BB%B1c+th%E1%BB%83\u0026amp;description=%C4%90%E1%BA%B7t+t%C3%AAn+cho+c%C3%A1c+m%C3%A3+v%C3%A0+ch%E1%BB%AF+vi%E1%BA%BFt+t%E1%BA%AFt+trong+t%C3%A0i+li%E1%BB%87u+c%E1%BB%A7a+b%E1%BA%A1n%2C+v%C3%A0+bi%E1%BA%BFn+ch%C3%BAng+th%C3%A0nh+kh%C3%A1i+ni%E1%BB%87m.\u0026amp;theme=69b40a9290c082c10989a3c4\u0026amp;signature=c9dab246b47fe539617cfa9f3a278bf6cb3aa766c0a2eeac882076a302d9c743\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/daves-tran/1ye87DRAFs_MIUAC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ladyGraph\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#B1212D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://ladygraph.io.vn/vi/guides/entity-kinds\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/vi/guides/entity-kinds.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://ladygraph.io.vn/vi/guides/entity-kinds\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://ladygraph.io.vn/guides/entity-kinds\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://ladygraph.io.vn/guides/entity-kinds\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://ladygraph.io.vn/#organization\",\"name\":\"ladyGraph\",\"url\":\"https://ladygraph.io.vn\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/daves-tran/-ttQYAEZXt81_rL8/logo/light.svg?fit=max\u0026auto=format\u0026n=-ttQYAEZXt81_rL8\u0026q=85\u0026s=9a4569643e4737486485cedb27379a5e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://ladygraph.io.vn#website\",\"name\":\"ladyGraph\",\"url\":\"https://ladygraph.io.vn\",\"publisher\":{\"@id\":\"https://ladygraph.io.vn/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://ladygraph.io.vn/vi/guides/entity-kinds#webpage\",\"url\":\"https://ladygraph.io.vn/vi/guides/entity-kinds\",\"name\":\"Các loại thực thể\",\"description\":\"Đặt tên cho các mã và chữ viết tắt trong tài liệu của bạn, và biến chúng thành khái niệm.\",\"dateModified\":\"2026-12-06T15:00:22.180Z\",\"isPartOf\":{\"@id\":\"https://ladygraph.io.vn#website\"},\"breadcrumb\":{\"@id\":\"https://ladygraph.io.vn/vi/guides/entity-kinds#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://ladygraph.io.vn/vi/guides/entity-kinds#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hướng dẫn\",\"item\":\"https://ladygraph.io.vn/vi/guides/tutorials\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Các loại thực thể\",\"item\":\"https://ladygraph.io.vn/vi/guides/entity-kinds\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://ladygraph.io.vn/vi/guides/entity-kinds#article\",\"headline\":\"Các loại thực thể\",\"name\":\"Các loại thực thể\",\"description\":\"Đặt tên cho các mã và chữ viết tắt trong tài liệu của bạn, và biến chúng thành khái niệm.\",\"url\":\"https://ladygraph.io.vn/vi/guides/entity-kinds\",\"mainEntityOfPage\":{\"@id\":\"https://ladygraph.io.vn/vi/guides/entity-kinds#webpage\"},\"dateModified\":\"2026-12-06T15:00:22.180Z\",\"publisher\":{\"@id\":\"https://ladygraph.io.vn/#organization\"},\"isPartOf\":{\"@id\":\"https://ladygraph.io.vn#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ladyGraph\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ladyGraph\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/vi/guides/entity-kinds.md","siteName":"ladyGraph","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/guides/entity-kinds"}]},{"language":"vi","groups":[{"group":"Bắt đầu","pages":[{"title":"Giới thiệu","href":"/vi"},{"title":"Bắt đầu nhanh","href":"/vi/quickstart"}]},{"group":"Khái niệm","pages":[{"title":"Cách hoạt động","href":"/vi/concepts/how-it-works"},{"title":"Từ vựng","href":"/vi/concepts/vocabulary"},{"title":"Kiến trúc","href":"/vi/concepts/architecture"},{"title":"Mô hình dữ liệu","href":"/vi/concepts/data-model"},{"title":"Địa chỉ, mã và dấu vân tay","href":"/vi/concepts/addresses-and-fingerprints"},{"title":"Cây ngữ cảnh và đồ thị khái niệm","href":"/vi/concepts/context-tree"},{"title":"Quyền sở hữu, phiên bản và hợp nhất","href":"/vi/concepts/ownership-and-merging"},{"title":"Tìm kiếm chi tiết","href":"/vi/concepts/search-in-depth"},{"title":"Lưu trữ","href":"/vi/concepts/storage"},{"title":"Các bất biến","href":"/vi/concepts/invariants"},{"title":"Trạng thái và các giới hạn đã biết","href":"/vi/concepts/status-and-limits"}]},{"group":"Hướng dẫn","pages":[{"title":"Bài hướng dẫn","href":"/vi/guides/tutorials"},{"title":"Cấu hình một dự án","href":"/vi/guides/configure-a-project"},{"title":"Nguồn","href":"/vi/guides/sources"},{"title":"Bộ trích xuất","href":"/vi/guides/extractors"},{"title":"Prompt và bảng thuật ngữ","href":"/vi/guides/prompt-and-glossary"},{"title":"Dịch và xác minh","href":"/vi/guides/translation"},{"title":"Mô hình cục bộ","description":"Chạy một LLM và một bộ gắn nhãn khoảng văn bản trên máy của chính bạn.","href":"/vi/guides/local-models"},{"title":"Các loại thực thể","href":"/vi/guides/entity-kinds"},{"title":"Công cụ dựng danh sách thuật ngữ","description":"Dựng một bảng thuật ngữ đề xuất bằng một tác nhân, rồi phê duyệt những gì bạn tin tưởng.","href":"/vi/guides/term-list-builder"},{"title":"Máy chủ Flight","href":"/vi/guides/flight-server"}]},{"group":"Tham chiếu","pages":[{"title":"Biến môi trường","href":"/vi/reference/environment-variables"}]},{"group":"Tham chiếu API","pages":[{"title":"Giao diện","href":"/vi/reference/api/overview"},{"title":"core","href":"/vi/reference/api/core"},{"title":"sources","href":"/vi/reference/api/sources"},{"title":"extractors","href":"/vi/reference/api/extractors"},{"title":"llm","href":"/vi/reference/api/llm"},{"title":"embedding","href":"/vi/reference/api/embedding"},{"title":"decision","href":"/vi/reference/api/decision"},{"title":"retrieval","href":"/vi/reference/api/retrieval"},{"title":"stores","href":"/vi/reference/api/stores"},{"title":"translation","href":"/vi/reference/api/translation"},{"title":"ner","href":"/vi/reference/api/ner"},{"title":"chunking","href":"/vi/reference/api/chunking"},{"title":"authoring","href":"/vi/reference/api/authoring"}]}]}]},"basePath":"","title":"Các loại thực thể - ladyGraph","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":[],"chunks":[]}