{"id":7380,"date":"2025-11-05T18:13:39","date_gmt":"2025-11-05T09:13:39","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=7380"},"modified":"2025-11-05T18:15:47","modified_gmt":"2025-11-05T09:15:47","slug":"graphrag","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/graphrag\/","title":{"rendered":"GraphRAG &#8211; \u77e5\u8b58\u30b0\u30e9\u30d5RAG"},"content":{"rendered":"\n<p>\u5f93\u6765\u306eRAG\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u5206\u5272\u3057\u3066\u30d9\u30af\u30c8\u30eb\u5316\u3059\u308b\u3060\u3051\u3067\u3001\u6587\u8108\u3084\u95a2\u4fc2\u6027\u304c\u5931\u308f\u308c\u3066\u3057\u307e\u3046\u8ab2\u984c\u304c\u3042\u308a\u307e\u3057\u305f\u3002GraphRAG\u306f\u3001\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u6b21\u4e16\u4ee3\u306eRAG\u6280\u8853\u3067\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001GraphRAG\u306e\u4ed5\u7d44\u307f\u304b\u3089\u5b9f\u88c5\u65b9\u6cd5\u307e\u3067\u3001\u5b9f\u4f8b\u3092\u4ea4\u3048\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2>\u30c7\u30e2\u30b3\u30fc\u30c9<\/h2>\n<p>\u30c7\u30e2\u30b3\u30fc\u30c9\uff1a<a href=\"https:\/\/github.com\/adhazel\/graphrag_demo\/tree\/main?tab=readme-ov-file\">https:\/\/github.com\/adhazel\/graphrag_demo\/tree\/main?tab=readme-ov-file<\/a><\/p>\r\n<p>\u53c2\u8003\u6587\u732e<\/p>\r\n<ul>\r\n\t<li><a href=\"https:\/\/microsoft.github.io\/graphrag\/\">https:\/\/microsoft.github.io\/graphrag\/<\/a><\/li>\r\n\t<li><a href=\"https:\/\/techcommunity.microsoft.com\/blog\/azure-ai-foundry-blog\/your-first-graphrag-demo---a-video-walkthrough\/4410246\">https:\/\/techcommunity.microsoft.com\/blog\/azure-ai-foundry-blog\/your-first-graphrag-demo&#8212;a-video-walkthrough\/4410246<\/a><\/li>\r\n<\/ul>\r\n<p><!-- notionvc: 9e49ec97-bcc1-4315-88c5-f5cfa936d716 --><\/p>\n\n<h2>\u77e5\u8b58\u30b0\u30e9\u30d5\u3068\u306f<\/h2>\n<p><strong>\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\uff08\u30ce\u30fc\u30c9\uff09\u3068\u95a2\u4fc2\u6027\uff08\u30a8\u30c3\u30b8\uff09\u3067\u60c5\u5831\u3092\u69cb\u9020\u5316\u3059\u308b\u624b\u6cd5<\/strong><\/p>\r\n<b>\u4f8b\uff1a\u77e5\u8b58\u30b0\u30e9\u30d5\u306e\u69cb\u9020<\/b>\r\n<pre><code>\u30c6\u30ad\u30b9\u30c8: \"Joseph Wells founded ACFE in 1988\"\r\n\r\n\u2193 \u30b0\u30e9\u30d5\u5316\r\n\r\n[Joseph Wells] --FOUNDED(1988)--&gt; [ACFE]\r\n    (person)                    (organization)\r\n\r\n<\/code><\/pre>\r\n<b>\u77e5\u8b58\u30b0\u30e9\u30d5\u306e\u5229\u70b9<\/b>\r\n<ul>\r\n\t<li><strong>\u95a2\u4fc2\u6027\u3092\u660e\u793a\u7684\u306b\u8868\u73fe<\/strong> &#8211; \u300c\u8ab0\u304c\u300d\u300c\u4f55\u3092\u300d\u300c\u3044\u3064\u300d\u304c\u660e\u78ba<\/li>\r\n\t<li><strong>\u69cb\u9020\u7684\u306a\u60c5\u5831\u53d6\u5f97<\/strong> &#8211; \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3092\u8d77\u70b9\u306b\u5468\u8fba\u60c5\u5831\u3092\u8fbf\u308c\u308b<\/li>\r\n\t<li><strong>\u63a8\u8ad6\u304c\u53ef\u80fd<\/strong> &#8211; \u9593\u63a5\u7684\u306a\u95a2\u4fc2\u3082\u767a\u898b\u3067\u304d\u308b<\/li>\r\n<\/ul>\r\n<p><!-- notionvc: 96fcecb8-f025-4a73-8b07-073f0e7e487c --><\/p>\n\n<h2>GraphRAG\u3068\u306f<\/h2>\n<p><strong>\u30c6\u30ad\u30b9\u30c8 \u2192 \u77e5\u8b58\u30b0\u30e9\u30d5\u69cb\u7bc9 \u2192 \u30b0\u30e9\u30d5+\u30d9\u30af\u30c8\u30eb\u3067\u691c\u7d22<\/strong><\/p>\r\n<b>\u5f93\u6765\u306eRAG\uff08\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u306e\u307f\uff09<\/b>\r\n<pre><code>\u30c6\u30ad\u30b9\u30c8 \u2192 \u30c1\u30e3\u30f3\u30af\u5206\u5272 \u2192 \u30d9\u30af\u30c8\u30eb\u5316 \u2192 \u985e\u4f3c\u5ea6\u691c\u7d22\r\n<\/code><\/pre>\r\n<p><strong>\u554f\u984c\u70b9:<\/strong><\/p>\r\n<ul>\r\n\t<li>\u95a2\u4fc2\u6027\u304c\u5931\u308f\u308c\u308b\uff08\u6587\u7ae0\u304c\u5206\u65ad\u3055\u308c\u308b\uff09<\/li>\r\n\t<li>\u6587\u8108\u3092\u7406\u89e3\u3067\u304d\u306a\u3044<\/li>\r\n\t<li>\u8907\u96d1\u306a\u8cea\u554f\u306b\u5bfe\u5fdc\u3067\u304d\u306a\u3044<\/li>\r\n<\/ul>\r\n<b>GraphRAG\uff08\u30b0\u30e9\u30d5+\u30d9\u30af\u30c8\u30eb\uff09<\/b>\r\n<pre><code>\u3010GraphRAG\u3011\r\n\u30c6\u30ad\u30b9\u30c8\r\n  \u2193\r\n\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u62bd\u51fa\r\n  - \u4eba\u7269\u3001\u7d44\u7e54\u3001\u30a4\u30d9\u30f3\u30c8\u3092\u7279\u5b9a\r\n  \u2193\r\n\u30b0\u30e9\u30d5\u69cb\u7bc9\uff08\u4eca\u56de\u306fLLM\u3092\u4f7f\u7528\uff09\r\n  - \u95a2\u4fc2\u6027\u3092\u63a5\u7d9a\r\n  - \u4f8b: Joseph Wells --\u5275\u8a2d--&gt; ACFE\r\n  \u2193\r\n\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u691c\u51fa\r\n  - \u95a2\u9023\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3092\u30b0\u30eb\u30fc\u30d7\u5316\r\n  - \u968e\u5c64\u5316: Level 0(\u5927) \u2192 Level 1(\u4e2d) \u2192 Level 2(\u5c0f)\r\n  \u2193\r\n\u8981\u7d04\u30ec\u30dd\u30fc\u30c8\u751f\u6210\r\n  - \u5404\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3092AI\u304c\u8981\u7d04\r\n  \u2193\r\n\u30d9\u30af\u30c8\u30eb\u5316\r\n  \u251c\u2500 \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30ec\u30dd\u30fc\u30c8 \u2192 \u30b0\u30ed\u30fc\u30d0\u30eb\u691c\u7d22\r\n  \u2514\u2500 \u30c6\u30ad\u30b9\u30c8\u30c1\u30e3\u30f3\u30af     \u2192 \u30ed\u30fc\u30ab\u30eb\u691c\u7d22\r\n  \u2193\r\n\u69cb\u9020\u7684\u691c\u7d22\r\n<\/code><\/pre>\r\n<p><strong>\u89e3\u6c7a\u3057\u305f\u3053\u3068:<\/strong><\/p>\r\n<ul>\r\n\t<li>\u2705 \u95a2\u4fc2\u6027\u3092\u4fdd\u6301\uff08\u30b0\u30e9\u30d5\u3067\u660e\u793a\uff09<\/li>\r\n\t<li>\u2705 \u69cb\u9020\u7684\u306b\u7406\u89e3\uff08\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u9593\u306e\u7e4b\u304c\u308a\uff09<\/li>\r\n\t<li>\u2705 \u8907\u96d1\u306a\u8cea\u554f\u306b\u3082\u5bfe\u5fdc\uff08\u8907\u6570\u306e\u8996\u70b9\u304b\u3089\u7d71\u5408\uff09<\/li>\r\n<\/ul>\r\n<b>\u307e\u3068\u3081<\/b>\r\n<p><strong>\u5f93\u6765RAG:<\/strong> \u30c6\u30ad\u30b9\u30c8\u3092\u5207\u3063\u3066\u305d\u306e\u307e\u307e\u57cb\u3081\u8fbc\u307f<\/p>\r\n<p><strong>GraphRAG:<\/strong> \u30c6\u30ad\u30b9\u30c8\u3092\u7406\u89e3\u2192\u69cb\u9020\u5316\u2192\u57cb\u3081\u8fbc\u307f \u2192 <strong>\u7406\u89e3\u3057\u3066\u304b\u3089\u57cb\u3081\u8fbc\u3080\u306e\u3067\u3001\u3088\u308a\u8ce2\u3044\u691c\u7d22\u304c\u53ef\u80fd<\/strong><\/p>\r\n<p><!-- notionvc: 9ded56d9-ec79-4b50-9b35-35c7f0250be4 --><\/p>\n\n<h2>\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n<p>\u30c7\u30e2\u30b3\u30fc\u30c9\uff1a<a href=\"https:\/\/github.com\/adhazel\/graphrag_demo\/tree\/main?tab=readme-ov-file\">https:\/\/github.com\/adhazel\/graphrag_demo\/tree\/main?tab=readme-ov-file<\/a><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code># \u74b0\u5883\u69cb\u7bc9 python3.12 -m venv graphrag-env\r\nsource graphrag-env\/bin\/activate\r\npip install -r requirements.txt \r\n# \u521d\u671f\u5316\r\npython -m graphrag.index --init --root .\/UseCaseA<\/code><\/pre>\r\n<\/div>\n\n<h2>Use Case A Research Assistant.ipynb<\/h2>\n<p>\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u5f8c\u306bUse Case A Research Assistant.ipynb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u5b9f\u884c\u3057\u3066\u3044\u304f<\/p>\r\n<p>\u30d5\u30a9\u30eb\u30c0\u307e\u3067\u4f5c\u6210\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3001\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u308b<\/p>\r\n<p><strong>\u5177\u4f53\u4f8b\uff1a\u30d5\u30a9\u30eb\u30c0\u4f5c\u6210<\/strong><\/p>\r\n<p><!-- notionvc: 56af0571-6497-493d-872e-95d532665b47 --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>useCaseDir = \".\/UseCaseA\" \r\nfolders_to_recreate = [\"cache\",\"input\", \"output\"] \r\ndelete_all = True \r\nimport shutil \r\nimport os \r\nif delete_all == True:\r\n if os.path.exists(useCaseDir):\r\n   shutil.rmtree(useCaseDir) \r\n os.mkdir(useCaseDir) \r\nfor folder in folders_to_recreate:\r\n if os.path.exists(f\"{useCaseDir}\/{folder}\"):\r\n   shutil.rmtree(f\"{useCaseDir}\/{folder}\")\r\n os.mkdir(f\"{useCaseDir}\/{folder}\")<!-- notionvc: ce271600-e770-4497-809d-947a5892734e --><\/code><\/pre>\r\n<\/div>\n\n<h2>\u8a2d\u5b9a<\/h2>\n<div class=\"notion-inline-code-container\"><span data-token-index=\"0\" class=\"notion-enable-hover\">.env<\/span><\/div>\r\n<p><!-- notionvc: f7a46b0a-70ee-49d5-af17-c5be6c28a4a5 --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>GRAPHRAG_API_KEY=sk-proj-xxxxxxxxx<!-- notionvc: a6984431-0d44-4f22-a0f2-3f9aba211327 --><\/code><\/pre>\r\n<\/div>\r\n<div class=\"notion-inline-code-container\"><span data-token-index=\"0\" class=\"notion-enable-hover\">settings.yaml<\/span><span data-token-index=\"1\" class=\"notion-enable-hover\">\uff08\u4e00\u90e8\uff09<\/span><!-- notionvc: aa673ede-396c-4476-ae22-680b76b64894 --><\/div>\r\n<div>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>models:\r\n default_chat_model:\r\n  type: openai_chat\r\n  model: gpt-4o-mini\r\n  api_key: ${GRAPHRAG_API_KEY}\r\n  concurrent_requests: 25 \r\n default_embedding_model:\r\n  type: openai_embedding model:\r\n  text-embedding-3-small\r\n  api_key: ${GRAPHRAG_API_KEY} \r\n\r\nchunks:\r\n size: 1200\r\n overlap: 100 \r\nextract_graph:\r\n entity_types: [organization, person, geo, event]\r\n\r\ncommunity_reports:\r\n max_length: 2000 <!-- --><!-- notionvc: e9e8658a-f72b-4650-8bd8-4cce6e086f0e -->\r\n<\/code><\/pre>\r\n<\/div>\r\n<\/div>\n\n<h2>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u9020<\/h2>\n<p>UseCaseA\/<br \/>\r\n\u251c\u2500\u2500 .env # API\u30ad\u30fc\u8a2d\u5b9a<br \/>\r\n\u251c\u2500\u2500 settings.yaml # GraphRAG\u8a2d\u5b9a<br \/>\r\n\u251c\u2500\u2500 input\/ # \u30bd\u30fc\u30b9\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\uff089\u8a18\u4e8b\uff09<br \/>\r\n\u251c\u2500\u2500 output\/ # \u751f\u6210\u3055\u308c\u305f\u77e5\u8b58\u30b0\u30e9\u30d5<br \/>\r\n\u2502 \u251c\u2500\u2500 entities.parquet # \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\uff08\u30ce\u30fc\u30c9\uff09<br \/>\r\n\u2502 \u251c\u2500\u2500 relationships.parquet # \u95a2\u4fc2\u6027\uff08\u30a8\u30c3\u30b8\uff09\u2190 \u30b0\u30e9\u30d5\u672c\u4f53<br \/>\r\n\u2502 \u251c\u2500\u2500 communities.parquet # \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u69cb\u9020<br \/>\r\n\u2502 \u251c\u2500\u2500 community_reports.parquet # AI\u304c\u751f\u6210\u3057\u305f\u8981\u7d04<br \/>\r\n\u2502 \u2514\u2500\u2500 lancedb\/ # \u30d9\u30af\u30c8\u30eb\u57cb\u3081\u8fbc\u307f<br \/>\r\n\u251c\u2500\u2500 cache\/ # API\u30ec\u30b9\u30dd\u30f3\u30b9\u30ad\u30e3\u30c3\u30b7\u30e5<br \/>\r\n\u251c\u2500\u2500 logs\/ # \u5b9f\u884c\u30ed\u30b0<br \/>\r\n\u2514\u2500\u2500 prompts\/ # LLM\u30d7\u30ed\u30f3\u30d7\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff0813\u500b\uff09<\/p>\n\n<h2>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4f5c\u6210\uff088\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\uff09<\/h2>\n<pre><code class=\"language-python\">\u00a0<\/code><\/pre>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code><code class=\"language-python\"># \u30c6\u30ad\u30b9\u30c8\u304b\u3089\u77e5\u8b58\u30b0\u30e9\u30d5\u3092\u69cb\u7bc9\r\nindex_result = await api.build_index(config=graphrag_config)<\/code><\/code><\/pre>\r\n<\/div>\r\n<pre><code class=\"language-python\"><\/code><\/pre>\r\n<b>\u51e6\u7406\u30d5\u30ed\u30fc\uff08\u5168\u3066graphrag (v2.2.1) &#8211; Microsoft\u88fd\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u5b9f\u884c\uff09<\/b>\r\n<pre><code>GraphRAG Pipeline\r\n\r\nSTEP 1: create_base_text_units \r\n  IN: 9 Wikipedia files\r\n  DO: 1200\u5b57\u30c1\u30e3\u30f3\u30af\u5316\uff08overlap=100, \u30c8\u30fc\u30af\u30f3\u5883\u754c\u8abf\u6574\uff09\r\n  OUT: 28 text chunks\r\n\r\nSTEP 2: create_final_documents \r\n  DO: \u30e1\u30bf\u6574\u7406\u30fbID\u4ed8\u4e0e\u30fb\u7d22\u5f15\r\n  OUT: documents.parquet\r\n\r\nSTEP 3: extract_graph \u2605\u6700\u91cd\u8981\u2605 \r\n  DO: 28\u30c1\u30e3\u30f3\u30af\u00d7LLM\u4e26\u5217\u62bd\u51fa\uff08gpt-4o-mini\uff09\r\n      - \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3(TYPE: org\/person\/geo\/event)\r\n      - \u95a2\u4fc2\uff0b\u5f37\u5ea6\u30b9\u30b3\u30a2\r\n  OUT: \u7c97\u3044KG\uff08370 entities, 315 relationships\uff09\uff0b\u30ad\u30e3\u30c3\u30b7\u30e5\r\n\r\nSTEP 4: finalize_graph\r\n  DO: \u91cd\u8907\u7d71\u5408\u3001\u8aac\u660e\u7d50\u5408\u3001\u95a2\u4fc2\u6b63\u898f\u5316\u3001\u4e00\u8cab\u6027\u30c1\u30a7\u30c3\u30af\r\n  OUT: entities.parquet \/ relationships.parquet\r\n\r\nSTEP 5: create_communities\r\n  DO: Leiden\u3067\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u691c\u51fa\uff08\u591a\u5c64: L0=\u8a73\u7d30, L1=\u62bd\u8c61\uff09\r\n  OUT: 25 communities\uff08\u30b5\u30a4\u30ba2\uff5e27\uff09\r\n\r\nSTEP 6: create_final_text_units \r\n  DO: \u5404\u30c1\u30e3\u30f3\u30af\u306b entity_ids \/ relationship_ids \u3092\u4ed8\u4e0e\r\n  OUT: text_units.parquet (28\u884c)\r\n\r\nSTEP 7: create_community_reports \u2605\u91cd\u8981\u2605 \r\n  DO: 25\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u00d7LLM\u8981\u7d04\uff08\u30bf\u30a4\u30c8\u30eb\/\u30b5\u30de\u30ea\/\u8a55\u4fa1\/\u767a\u898b\uff09\r\n  OUT: community_reports.parquet (25\u884c)\r\n\r\nSTEP 8: generate_text_embeddings \r\n  DO: 3\u7a2e\u3092\u57cb\u3081\u8fbc\u307f(1536\u6b21\u5143, text-embedding-3-small) \u2192 LanceDB\r\n      1) \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u8aac\u660e  2) \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u5168\u6587  3) \u30c6\u30ad\u30b9\u30c8\u30c1\u30e3\u30f3\u30af\r\n  OUT: *.lance\uff083\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff09\r\n\r\n\u5b8c\u6210\uff1a\r\n  - \u30c6\u30ad\u30b9\u30c8\u5c64\uff1a28\u30c1\u30e3\u30f3\u30af\uff0b\u57cb\u3081\u8fbc\u307f\r\n  - \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u5c64\uff1a370\/315\uff08\u91cd\u307f\u4ed8\u304d\uff09\r\n  - \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u5c64\uff1a25\uff08L0=11, L1=14\uff09\uff0b\u30ec\u30dd\u30fc\u30c8\r\n  - \u691c\u7d22\u5c64\uff1aLanceDB\u30d9\u30af\u30c8\u30eb\u30b9\u30c8\u30a2\uff083\u7a2e\u985e\uff09<\/code><\/pre>\r\n<p>&nbsp;<\/p>\r\n<b>\u751f\u6210\u3055\u308c\u308b\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf<\/b>\r\n<p><strong>entities.parquet\uff08\u30ce\u30fc\u30c9\uff09<\/strong><\/p>\r\n<pre><code>id | name          | type         | description\r\n---|---------------|--------------|------------------\r\n0  | ACFE          | organization | \u8a50\u6b3a\u8abf\u67fb\u306e\u5c02\u9580\u7d44\u7e54\r\n1  | Joseph Wells  | person       | ACFE\u306e\u5275\u8a2d\u8005\r\n2  | Financial audit| event       | \u8ca1\u52d9\u8a18\u9332\u306e\u691c\u67fb\r\n\r\n<\/code><\/pre>\r\n<p><strong>relationships.parquet\uff08\u30a8\u30c3\u30b8\uff09<\/strong><\/p>\r\n<pre><code>source       | target          | type    | weight\r\n-------------|-----------------|---------|-------\r\nJoseph Wells | ACFE            | FOUNDED | 0.9\r\nACFE         | Fraud detection | RELATED | 0.8\r\n\r\n<\/code><\/pre>\r\n<p><strong>communities.parquet\uff08\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\uff09<\/strong><\/p>\r\n<pre><code>Level 0: \u5927\u304d\u306a\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\uff082-3\u500b\uff09\r\n  \u2514\u2500 Level 1: \u4e2d\u898f\u6a21\uff085-10\u500b\uff09\r\n     \u2514\u2500 Level 2: \u5c0f\u898f\u6a21\uff0815-20\u500b\uff09\r\n\r\n<\/code><\/pre>\r\n<b>\u53ef\u8996\u5316<\/b>\r\n<p>\u53ef\u8996\u5316\u3057\u3066\u3044\u308b\u306e\u306f:<\/p>\r\n<ul>\r\n\t<li>\u5143<strong>\u30c6\u30ad\u30b9\u30c8<\/strong>\u30c7\u30fc\u30bf: \u8ca1\u52d9\u76e3\u67fb\u30fb\u4e0d\u6b63\u691c\u77e5\u306b\u95a2\u3059\u308b9\u3064\u306eWikipedia\u8a18\u4e8b<\/li>\r\n\t<li>\u51e6\u7406\u5f8c: GraphRAG\u304c\u8a18\u4e8b\u304b\u3089\u81ea\u52d5\u62bd\u51fa\u3057\u305f370\u500b\u306e\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3068315\u672c\u306e\u95a2\u4fc2\u6027<\/li>\r\n<\/ul>\r\n<!-- notionvc: b22cb88c-e057-4977-9779-d60c5a4d1ed7 -->\r\n<p><!-- notionvc: 8b0d47db-c089-4e5a-9322-cbec1348df7e --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/11\/graph_top200-scaled.jpg\" alt=\"\" width=\"2560\" height=\"2560\" class=\"alignnone size-full wp-image-7382\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/11\/graph_top200-scaled.jpg 2560w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/11\/graph_top200-300x300.jpg 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/11\/graph_top200-1024x1024.jpg 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/11\/graph_top200-150x150.jpg 150w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/11\/graph_top200-768x768.jpg 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/11\/graph_top200-1536x1536.jpg 1536w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/11\/graph_top200-2048x2048.jpg 2048w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/11\/graph_top200-120x120.jpg 120w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/p>\n\n<h2>\u691c\u7d22<\/h2>\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code># \u751f\u6210\u3055\u308c\u305f\u77e5\u8b58\u30b0\u30e9\u30d5\u3092\u30e1\u30e2\u30ea\u306b\u30ed\u30fc\u30c9 \r\nentities = pd.read_parquet(\"output\/entities.parquet\") \r\ncommunities = pd.read_parquet(\"output\/communities.parquet\") \r\ncommunity_reports = pd.read_parquet(\"output\/community_reports.parquet\") <!-- --><!-- notionvc: 499fa8a1-45b0-402a-bd9c-95ffa9c71493 -->\r\n<\/code><\/pre>\r\n<\/div>\r\n<p>&nbsp;<\/p>\r\n<b>\u77e5\u8b58\u30b0\u30e9\u30d5\u306e\u4f7f\u3044\u65b9<\/b>\r\n<pre><code>\u77e5\u8b58\u30b0\u30e9\u30d5\uff08KG\uff09\r\n  \u251c\u2500 \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30fb\u95a2\u4fc2\u6027 \u2192 Local Search\u304c\u76f4\u63a5\u4f7f\u7528\r\n  \u2514\u2500 \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30ec\u30dd\u30fc\u30c8 \u2192 Global Search\u304c\u4f7f\u7528\r\n     \uff08KG\u3092\u30af\u30e9\u30b9\u30bf\u5316\u3057\u3066\u8981\u7d04\u3057\u305f\u3082\u306e\uff09\r\n\r\n<\/code><\/pre>\r\n<p><strong>\u30dd\u30a4\u30f3\u30c8:<\/strong><\/p>\r\n<ul>\r\n\t<li><strong>Local<\/strong> = \u30b0\u30e9\u30d5\u69cb\u9020\u305d\u306e\u3082\u306e\u3092\u63a2\u7d22<\/li>\r\n\t<li><strong>Global<\/strong> = \u30b0\u30e9\u30d5\u304b\u3089\u4f5c\u3063\u305f\u8981\u7d04\u3092\u63a2\u7d22<\/li>\r\n<\/ul>\r\n<hr \/>\r\n<b>1. Global Search\uff08\u30b0\u30ed\u30fc\u30d0\u30eb\u691c\u7d22\uff09<\/b>\r\n<p><strong>\u7528\u9014:<\/strong> \u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u5168\u4f53\u306e\u5305\u62ec\u7684\u306a\u8cea\u554f<\/p>\r\n<p><!-- notionvc: 6254e2fe-9ac7-437c-8333-09060e4452d6 --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code># Question 1: What are things I should think about when I am conducting an accounts payable audit?\r\nresponse, context = await api.global_search(\r\nconfig=graphrag_config,\r\nentities=entities,\r\ncommunities=communities,\r\ncommunity_reports=community_reports,\r\ncommunity_level=2,\r\ndynamic_community_selection=False,\r\nresponse_type=\"Multiple Paragraphs\",\r\nquery=\"What are things I should think about when I am conducting an accounts payable audit?\",\r\n#\u8cb7\u639b\u91d1\u76e3\u67fb\u3092\u5b9f\u65bd\u3059\u308b\u3068\u304d\u306b\u8003\u616e\u3059\u3079\u304d\u3053\u3068\u306f\u4f55\u3067\u3059\u304b?\r\n)\r\nprint(response)<\/code><\/pre>\r\n<\/div>\r\n<p><strong>\u4ed5\u7d44\u307f\uff08Map-Reduce\u65b9\u5f0f\uff09:<\/strong><\/p>\r\n<pre><code>1. \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30ec\u30dd\u30fc\u30c8\u3092\u5206\u5272\r\n2. \u5404\u30c1\u30e3\u30f3\u30af\u304b\u3089\u4e2d\u9593\u56de\u7b54\u3092\u751f\u6210\uff08Map\uff09\r\n3. \u91cd\u8981\u30dd\u30a4\u30f3\u30c8\u3092\u96c6\u7d04\uff08Reduce\uff09\r\n4. \u5305\u62ec\u7684\u306a\u56de\u7b54\u3092\u751f\u6210\r\n\r\n<\/code><\/pre>\r\n<p><strong>\u51fa\u529b\uff1a\uff08\u7ffb\u8a33\u6e08\u307f\uff09<\/strong><\/p>\r\n<hr \/>\r\n<p>\u8cb7\u639b\u91d1\u76e3\u67fb\u3092\u5b9f\u65bd\u3059\u308b\u969b\u306b\u306f\u3001\u6b63\u78ba\u6027\u3001\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u3001\u305d\u3057\u3066\u6f5c\u5728\u7684\u306a\u4e0d\u6b63\u306e\u691c\u51fa\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u8981\u7d20\u3092\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u7559\u610f\u3059\u3079\u304d\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\r\n<b>\u76e3\u67fb\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u7406\u89e3<\/b>\r\n<p>\u76e3\u67fb\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001\u76e3\u67fb\u4eba\u304c\u8ca1\u52d9\u8af8\u8868\u306e\u6b63\u78ba\u6027\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306b\u5b9f\u65bd\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u5177\u4f53\u7684\u306a\u624b\u9806\u3068\u30c6\u30b9\u30c8\u3092\u6982\u8aac\u3057\u3066\u3044\u307e\u3059\u3002\u8ca1\u52d9\u5831\u544a\u306e\u4fe1\u983c\u6027\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u56fa\u6709\u306e\u30ea\u30b9\u30af\u306b\u5bfe\u51e6\u3057\u3001\u69d8\u3005\u306a\u30c6\u30b9\u30c8\u624b\u6cd5\u3092\u53d6\u308a\u5165\u308c\u308b\u3053\u3068\u304c\u4e0d\u53ef\u6b20\u3067\u3059[\u30c7\u30fc\u30bf\uff1a\u30ec\u30dd\u30fc\u30c8\uff0815\u30014\u300114\u30011\u30015\uff09]\u3002<\/p>\r\n<b>\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u30fb\u30a2\u30ab\u30a6\u30f3\u30bf\u30f3\u30c8\u306e\u5f79\u5272<\/b>\r\n<p>\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u30fb\u30a2\u30ab\u30a6\u30f3\u30bf\u30f3\u30c8\u306f\u3001\u8cb7\u639b\u91d1\u76e3\u67fb\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u5f7c\u3089\u306f\u8ca1\u52d9\u66f8\u985e\u3084\u53d6\u5f15\u3092\u5206\u6790\u3057\u3001\u4e0d\u6b63\u884c\u70ba\u3092\u793a\u5506\u3059\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u4e0d\u4e00\u81f4\u3092\u767a\u898b\u3057\u307e\u3059\u3002\u5f7c\u3089\u306e\u5c02\u9580\u77e5\u8b58\u306f\u3001\u8ca1\u52d9\u5831\u544a\u306e\u5b8c\u5168\u6027\u3068\u900f\u660e\u6027\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u4e0d\u53ef\u6b20\u306a\u3001\u69d8\u3005\u306a\u624b\u6cd5\u3092\u9069\u7528\u3057\u3066\u8ca1\u52d9\u30c7\u30fc\u30bf\u306e\u7570\u5e38\u3092\u691c\u51fa\u3059\u308b\u3053\u3068\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059[\u30c7\u30fc\u30bf\uff1a\u30ec\u30dd\u30fc\u30c8\uff0813\u30012\uff09]\u3002<\/p>\r\n<b>\u56fa\u6709\u30ea\u30b9\u30af\u306e\u8003\u616e\u4e8b\u9805<\/b>\r\n<p>\u56fa\u6709\u30ea\u30b9\u30af\uff08IR\uff09\u306f\u3001\u76e3\u67fb\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3051\u308b\u91cd\u8981\u306a\u8981\u7d20\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u5185\u90e8\u7d71\u5236\u5916\u306e\u8981\u56e0\u306b\u3088\u308a\u8ca1\u52d9\u8af8\u8868\u306b\u91cd\u5927\u306a\u865a\u507d\u8a18\u8f09\u304c\u751f\u3058\u308b\u30ea\u30b9\u30af\u3092\u6307\u3057\u307e\u3059\u3002\u5185\u90e8\u7d71\u5236\u3092\u8a8d\u8b58\u3059\u308b\u3053\u3068\u3067\u3001\u76e3\u67fb\u4eba\u306f\u7279\u5b9a\u306e\u8106\u5f31\u6027\u306b\u5bfe\u51e6\u3059\u308b\u305f\u3081\u306e\u624b\u7d9a\u3092\u8abf\u6574\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u76e3\u67fb\u5168\u4f53\u306e\u6709\u52b9\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059[\u30c7\u30fc\u30bf\uff1a\u5831\u544a\u66f8\uff0815\u30014\uff09]\u3002<\/p>\r\n<b>\u6cd5\u7684\u57fa\u6e96\u306e\u9075\u5b88<\/b>\r\n<p>\u6cd5\u7684\u57fa\u6e96\u306e\u9075\u5b88\u3092\u78ba\u4fdd\u3059\u308b\u3053\u3068\u306f\u3001\u8cb7\u639b\u91d1\u76e3\u67fb\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u8003\u616e\u4e8b\u9805\u3067\u3059\u3002\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u30fb\u30a2\u30ab\u30a6\u30f3\u30bf\u30f3\u30c8\u306f\u3001\u8ca1\u52d9\u6163\u884c\u304c\u78ba\u7acb\u3055\u308c\u305f\u6cd5\u4ee4\u3092\u9075\u5b88\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u4e0a\u3067\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u8ca1\u52d9\u4e0a\u306e\u4e0d\u6b63\u884c\u70ba\u3092\u9632\u6b62\u3057\u3001\u793e\u4f1a\u7684\u4fe1\u983c\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u4e0d\u53ef\u6b20\u3067\u3059[\u30c7\u30fc\u30bf\uff1a\u5831\u544a\u66f8\uff0813\uff09]\u3002<\/p>\r\n<b>\u4e0d\u6b63\u691c\u51fa\u306e\u305f\u3081\u306e\u65b9\u6cd5\u8ad6<\/b>\r\n<p>\u76e3\u67fb\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3044\u3066\u3001\u69d8\u3005\u306a\u65b9\u6cd5\u8ad6\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u30fb\u30a2\u30ab\u30a6\u30f3\u30bf\u30f3\u30c8\u306f\u3001\u30d9\u30f3\u30d5\u30a9\u30fc\u30c9\u306e\u6cd5\u5247\u306a\u3069\u306e\u624b\u6cd5\u3092\u7528\u3044\u3066\u30d1\u30bf\u30fc\u30f3\u3092\u5206\u6790\u3057\u3001\u4e0d\u6b63\u306e\u5146\u5019\u3092\u691c\u51fa\u3057\u307e\u3059\u3002\u3053\u306e\u7d71\u8a08\u539f\u7406\u306f\u3001\u4e0d\u6b63\u64cd\u4f5c\u3084\u4e0d\u6b63\u3092\u793a\u5506\u3059\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u4e0d\u898f\u5247\u6027\u3092\u7279\u5b9a\u3057\u3001\u76e3\u67fb\u306e\u6709\u52b9\u6027\u3092\u9ad8\u3081\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059[\u30c7\u30fc\u30bf\uff1a\u5831\u544a\u66f8\uff0813\uff09]\u3002<\/p>\r\n<b>\u30ea\u30b9\u30af\u8efd\u6e1b\u6226\u7565<\/b>\r\n<p>\u76e3\u67fb\u4e2d\u306e\u4e0d\u6b63\u884c\u70ba\u3092\u9632\u6b62\u3059\u308b\u305f\u3081\u306e\u624b\u9806\u306e\u8a2d\u8a08\u3068\u5b9f\u65bd\u306b\u304a\u3044\u3066\u3001\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u4f1a\u8a08\u58eb\u304c\u679c\u305f\u3059\u7a4d\u6975\u7684\u306a\u5f79\u5272\u306f\u898b\u904e\u3054\u3059\u3079\u304d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306f\u3001\u8ca1\u52d9\u30ea\u30b9\u30af\u306e\u8efd\u6e1b\u3068\u5185\u90e8\u7d71\u5236\u306e\u5f37\u5316\u3001\u3072\u3044\u3066\u306f\u8ca1\u52d9\u306e\u5065\u5168\u6027\u306e\u78ba\u4fdd\u3092\u76ee\u6307\u3059\u7d44\u7e54\u306b\u3068\u3063\u3066\u6975\u3081\u3066\u91cd\u8981\u3067\u3059[\u30c7\u30fc\u30bf\uff1a\u5831\u544a\u66f8\uff0813\uff09]\u3002<\/p>\r\n<b>\u60c5\u5831\u6280\u8853\u306e\u7d71\u5408<\/b>\r\n<p>\u76e3\u67fb\u30d7\u30ed\u30bb\u30b9\u3078\u306e\u60c5\u5831\u6280\u8853\uff08IT\uff09\u306e\u7d71\u5408\u306f\u3001\u76e3\u67fb\u306e\u6709\u52b9\u6027\u306b\u5927\u304d\u306a\u5f71\u97ff\u3092\u4e0e\u3048\u307e\u3059\u3002IT\u306f\u3001\u76e3\u67fb\u4eba\u304c\u8ca1\u52d9\u60c5\u5831\u3092\u8a55\u4fa1\u3059\u308b\u80fd\u529b\u3092\u9ad8\u3081\u308b\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u30c7\u30fc\u30bf\u3068\u5206\u6790\u30c4\u30fc\u30eb\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u73fe\u4ee3\u306e\u76e3\u67fb\u5b9f\u52d9\u306b\u304a\u3044\u3066\u4e0d\u53ef\u6b20\u306a\u8981\u7d20\u3068\u306a\u3063\u3066\u3044\u307e\u3059[\u30c7\u30fc\u30bf\uff1a\u5831\u544a\u66f8\uff0815\u30014\uff09]\u3002<\/p>\r\n<b>\u898f\u5236\u67a0\u7d44\u307f<\/b>\r\n<p>2001\u5e74\u4f1a\u793e\u6cd5\u3084\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2\u8a3c\u5238\u6295\u8cc7\u59d4\u54e1\u4f1a\uff08ASIC\uff09\u306e\u5f79\u5272\u306a\u3069\u3001\u76e3\u67fb\u3092\u898f\u5236\u3059\u308b\u898f\u5236\u67a0\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u306f\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u898f\u5236\u306f\u3001\u76e3\u67fb\u4eba\u306e\u8cac\u4efb\u3092\u6982\u8aac\u3057\u3001\u8ca1\u52d9\u5831\u544a\u57fa\u6e96\u306e\u9075\u5b88\u3092\u78ba\u4fdd\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u91d1\u878d\u30b7\u30b9\u30c6\u30e0\u306e\u5065\u5168\u6027\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u4e0d\u53ef\u6b20\u3067\u3059[\u30c7\u30fc\u30bf\uff1a\u5831\u544a\u66f8\uff0816\u30014\uff09]\u3002<\/p>\r\n<b>\u7d50\u8ad6<\/b>\r\n<p>\u307e\u3068\u3081\u308b\u3068\u3001\u8cb7\u639b\u91d1\u76e3\u67fb\u3092\u5b9f\u65bd\u3059\u308b\u306b\u306f\u3001\u76e3\u67fb\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u4f1a\u8a08\u58eb\u306e\u5f79\u5272\u3001\u56fa\u6709\u306e\u30ea\u30b9\u30af\u3001\u6cd5\u7684\u57fa\u6e96\u306e\u9075\u5b88\u3001\u4e0d\u6b63\u691c\u51fa\u306e\u65b9\u6cd5\u8ad6\u3001\u30ea\u30b9\u30af\u4f4e\u6e1b\u6226\u7565\u3001IT\u7d71\u5408\u3001\u305d\u3057\u3066\u898f\u5236\u67a0\u7d44\u307f\u306b\u3064\u3044\u3066\u5305\u62ec\u7684\u306a\u7406\u89e3\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u8981\u7d20\u3092\u8003\u616e\u3059\u308b\u3053\u3068\u3067\u3001\u76e3\u67fb\u4eba\u306f\u76e3\u67fb\u306e\u6709\u52b9\u6027\u3092\u9ad8\u3081\u3001\u8ca1\u52d9\u5831\u544a\u5168\u4f53\u306e\u6574\u5408\u6027\u306b\u8ca2\u732e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059[\u30c7\u30fc\u30bf\uff1a\u30ec\u30dd\u30fc\u30c8\uff0815\u30014\u300114\u30011\u30015\u300113\u30012\u300116\u3001\u305d\u306e\u4ed6\uff09]\u3002<!-- notionvc: 2f352d77-d3c3-45ca-877e-7f4b87689000 --><\/p>\r\n<hr \/>\r\n<p>&nbsp;<\/p>\r\n<p><code><\/code><strong>\u4ed5\u7d44\u307f\uff08\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u4e2d\u5fc3\u306e\u691c\u7d22\uff09:<\/strong><\/p>\r\n<pre><code><\/code><\/pre>\r\n<pre><code>1. \u8cea\u554f\u306b\u95a2\u9023\u3059\u308b\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3092\u7279\u5b9a\r\n2. \u95a2\u9023\u3059\u308b\u95a2\u4fc2\u6027\u30fb\u5c5e\u6027\u30fb\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53d6\u5f97\r\n3. \u30b0\u30e9\u30d5\u69cb\u9020\u3092\u305f\u3069\u3063\u3066\u60c5\u5831\u53ce\u96c6\r\n4. \u512a\u5148\u9806\u4f4d\u4ed8\u3051\u3057\u3066\u56de\u7b54\u751f\u6210\r\n<\/code><\/pre>\r\n<pre><code><\/code><\/pre>\r\n<p><strong>\u4f8b:<\/strong> \u300cACFE\u3068\u306f\uff1f\u300d\u300cJoseph Wells\u306e\u8a73\u7d30\u306f\uff1f\u300d<\/p>\r\n<p>&nbsp;<\/p>\r\n<b>2. Local Search\uff08\u30ed\u30fc\u30ab\u30eb\u691c\u7d22\uff09<\/b>\r\n<p><strong>\u7528\u9014:<\/strong> \u7279\u5b9a\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u306e\u8a73\u7d30\u306a\u8cea\u554f<\/p>\r\n<p><strong>\u4ed5\u7d44\u307f\uff08\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u4e2d\u5fc3\u306e\u691c\u7d22\uff09:<\/strong><\/p>\r\n<pre><code>1. \u8cea\u554f\u306b\u95a2\u9023\u3059\u308b\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3092\u7279\u5b9a\r\n2. \u95a2\u9023\u3059\u308b\u95a2\u4fc2\u6027\u30fb\u5c5e\u6027\u30fb\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53d6\u5f97\r\n3. \u30b0\u30e9\u30d5\u69cb\u9020\u3092\u305f\u3069\u3063\u3066\u60c5\u5831\u53ce\u96c6\r\n4. \u512a\u5148\u9806\u4f4d\u4ed8\u3051\u3057\u3066\u56de\u7b54\u751f\u6210\r\n<\/code><\/pre>\r\n<p><strong>\u4f8b:<\/strong> \u300cACFE\u3068\u306f\uff1f\u300d\u300cJoseph Wells\u306e\u8a73\u7d30\u306f\uff1f\u300d<\/p>\r\n<hr \/>\r\n<b>\u4f7f\u3044\u5206\u3051<\/b>\r\n<p>Global\uff1a\u300c\u5168\u4f53\u7684\u306b\u301c\u300d\u300c\u4e3b\u306a\u301c\u300d<\/p>\r\n<p>Local\uff1a\u300cXXX\u3068\u306f\uff1f\u300d\u300cXXX\u306e\u8a73\u7d30\u306f\uff1f\u300d<\/p>\n\n<h2>\u30d7\u30ed\u30f3\u30d7\u30c8\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/h2>\n<p>GraphRAG\u306e<strong>Prompt Tuning<\/strong>\u306f\u3001LLM\u3078\u306e\u6307\u793a\u6587\u3092\u30c7\u30fc\u30bf\u3084\u30c9\u30e1\u30a4\u30f3\u306b\u5408\u308f\u305b\u3066\u6700\u9069\u5316\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3001\u307e\u305a\u306f<strong>\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8<\/strong>\u3067\u305d\u306e\u307e\u307e\u52d5\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002<strong>Auto Tuning<\/strong>\u3067\u306f\u3001\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066LLM\u304c\u81ea\u52d5\u3067\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8abf\u6574\u3057\u3001\u7cbe\u5ea6\u3092\u4e0a\u3052\u3001<strong>Manual Tuning<\/strong>\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u76f4\u63a5\u7de8\u96c6\u3057\u3066\u7d30\u304b\u304f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u3002<\/p>\r\n<p>\u3053\u306e3\u6bb5\u968e\uff08\u30c7\u30d5\u30a9\u30eb\u30c8 \u2192 \u81ea\u52d5 \u2192 \u624b\u52d5\uff09\u3067\u3001\u6c4e\u7528\u304b\u3089\u5c02\u9580\u307e\u3067\u67d4\u8edf\u306b\u5bfe\u5fdc\u53ef\u80fd\u3002<\/p>\r\n<p><!-- notionvc: 00cbccb5-7a57-4629-8f7b-c7be81c4c200 --><\/p>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<b>GraphRAG\u306e\u672c\u8cea<\/b>\r\n<p>GraphRAG\u306f\u3001<strong>\u30c6\u30ad\u30b9\u30c8\u3092\u7406\u89e3\u3057\u3066\u77e5\u8b58\u30b0\u30e9\u30d5\u3092\u69cb\u7bc9\u3057\u3001\u69cb\u9020\u7684\u306a\u691c\u7d22\u3092\u53ef\u80fd\u306b\u3059\u308b<\/strong>\u6b21\u4e16\u4ee3RAG\u30b7\u30b9\u30c6\u30e0\u3002\u5f93\u6765\u306eRAG\u304c\u6587\u7ae0\u3092\u5358\u7d14\u306b\u5206\u5272\u3057\u3066\u30d9\u30af\u30c8\u30eb\u5316\u3059\u308b\u306e\u306b\u5bfe\u3057\u3001GraphRAG\u306f\u300c\u8ab0\u304c\u30fb\u4f55\u3092\u30fb\u3069\u3046\u3057\u305f\u300d\u3068\u3044\u3046\u95a2\u4fc2\u6027\u3092\u7406\u89e3\u3057\u3066\u304b\u3089\u57cb\u3081\u8fbc\u3080\u3002<\/p>\r\n<b>\u9069\u7528\u5834\u9762<\/b>\r\n<p><strong>\u5411\u3044\u3066\u3044\u308b:<\/strong><\/p>\r\n<ul>\r\n\t<li>\u8907\u96d1\u306a\u95a2\u4fc2\u6027\u306e\u7406\u89e3\uff08\u76e3\u67fb\u3001\u6cd5\u52d9\u3001\u533b\u7642\uff09<\/li>\r\n\t<li>\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u306e\u4fef\u77b0\u5206\u6790<\/li>\r\n\t<li>\u300c\u306a\u305c\u300d\u300c\u3069\u306e\u3088\u3046\u306b\u300d\u3068\u3044\u3046\u6df1\u3044\u8cea\u554f<\/li>\r\n<\/ul>\r\n<p><strong>\u5411\u3044\u3066\u3044\u306a\u3044:<\/strong><\/p>\r\n<ul>\r\n\t<li>\u5358\u7d14\u306a\u4e8b\u5b9f\u691c\u7d22<\/li>\r\n\t<li>\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u66f4\u65b0\u304c\u5fc5\u8981<\/li>\r\n\t<li>\u5c0f\u898f\u6a21\u30c7\u30fc\u30bf\uff08\u30b3\u30b9\u30c8\u904e\u591a\uff09<\/li>\r\n<\/ul>\r\n<b>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u30dd\u30a4\u30f3\u30c8<\/b>\r\n<ul>\r\n\t<li><strong>Prompt Tuning<\/strong>: \u30c7\u30d5\u30a9\u30eb\u30c8 \u2192 Auto \u2192 Manual<\/li>\r\n\t<li><strong>Entity Types<\/strong>: \u30c9\u30e1\u30a4\u30f3\u306b\u5408\u308f\u305b\u3066\u8abf\u6574<\/li>\r\n\t<li><strong>Community Level<\/strong>: \u8cea\u554f\u306e\u62bd\u8c61\u5ea6\u3067\u9078\u629e\uff080-2\uff09<\/li>\r\n<\/ul>\r\n<p><strong>\u7d50\u8ad6:<\/strong> GraphRAG\u306f\u7406\u89e3\u2192\u69cb\u9020\u5316\u2192\u691c\u7d22\u3068\u3044\u3046\u6d41\u308c\u3067\u3001\u5f93\u6765RAG\u3088\u308a\u8ce2\u3044\u60c5\u5831\u53d6\u5f97\u3092\u5b9f\u73fe\u3059\u308b\u3002\u521d\u671f\u30b3\u30b9\u30c8\u306f\u9ad8\u3044\u304c\u3001\u8907\u96d1\u306a\u30c9\u30e1\u30a4\u30f3\u3067\u306f\u5727\u5012\u7684\u306a\u4fa1\u5024\u3092\u63d0\u4f9b\u3002<\/p>\r\n<p><!-- notionvc: 84765c26-d143-4a8c-8314-26a85bfb7bd8 --><\/p>\n\n<h2>\u53c2\u8003\u8cc7\u6599<\/h2>\n<p><a href=\"https:\/\/github.com\/adhazel\/graphrag_demo\/tree\/main?tab=readme-ov-file\">https:\/\/github.com\/adhazel\/graphrag_demo\/tree\/main?tab=readme-ov-file<\/a><\/p>\r\n<p><a href=\"https:\/\/microsoft.github.io\/graphrag\/prompt_tuning\/overview\/\">https:\/\/microsoft.github.io\/graphrag\/prompt_tuning\/overview\/<\/a><\/p>\r\n<p><a href=\"https:\/\/microsoft.github.io\/graphrag\/\">https:\/\/microsoft.github.io\/graphrag\/<\/a><\/p>\r\n<p><a href=\"https:\/\/techcommunity.microsoft.com\/blog\/azure-ai-foundry-blog\/your-first-graphrag-demo---a-video-walkthrough\/4410246\">https:\/\/techcommunity.microsoft.com\/blog\/azure-ai-foundry-blog\/your-first-graphrag-demo&#8212;a-video-walkthrough\/4410246<\/a><\/p>\r\n<p><!-- notionvc: fbfe1b6b-e55f-46f5-a02a-dc8095a02ac8 --><\/p>","protected":false},"excerpt":{"rendered":"<p>\u5f93\u6765\u306eRAG\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u5206\u5272\u3057\u3066\u30d9\u30af\u30c8\u30eb\u5316\u3059\u308b\u3060\u3051\u3067\u3001\u6587\u8108\u3084\u95a2\u4fc2\u6027\u304c\u5931\u308f\u308c\u3066\u3057\u307e\u3046\u8ab2\u984c\u304c\u3042\u308a\u307e\u3057\u305f\u3002GraphRAG\u306f\u3001\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u6b21\u4e16\u4ee3\u306eRAG\u6280\u8853\u3067\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001GraphRAG\u306e\u4ed5\u7d44\u307f\u304b\u3089\u5b9f\u88c5\u65b9\u6cd5 [&hellip;]<\/p>\n","protected":false},"author":56,"featured_media":7381,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1249],"tags":[1195,564,563],"class_list":["post-7380","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-knowledge-graph","tag-llm","tag-rag"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/7380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=7380"}],"version-history":[{"count":1,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/7380\/revisions"}],"predecessor-version":[{"id":7383,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/7380\/revisions\/7383"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/7381"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=7380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=7380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=7380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}