{"id":80093,"date":"2025-10-21T10:00:00","date_gmt":"2025-10-21T01:00:00","guid":{"rendered":"https:\/\/www.creationline.com\/tech-blog\/?p=80093"},"modified":"2025-11-11T16:13:17","modified_gmt":"2025-11-11T07:13:17","slug":"%e5%a4%a7%e8%a6%8f%e6%a8%a1%e8%a8%80%e8%aa%9e%e3%83%a2%e3%83%87%e3%83%ab%e3%81%ab%e3%82%88%e3%82%8b%e3%83%8a%e3%83%ac%e3%83%83%e3%82%b8%e3%82%b0%e3%83%a9%e3%83%95%e8%87%aa%e5%8b%95%e5%8c%96%e3%81%ae-4","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093","title":{"rendered":"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4]"},"content":{"rendered":"\n<p>\u30fc \u81ea\u7136\u8a00\u8a9e\u3067\u63a2\u7d22\u3059\u308b GraphRAG \u691c\u7d22\u306e\u5b9f\u8df5 \u30fc<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u3053\u306e\u9023\u8f09\u3067\u306f\u3001\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff08LLM\uff09\u3092\u6d3b\u7528\u3057\u306a\u304c\u3089\u3001\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u81ea\u52d5\u751f\u6210\u30fb\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u6982\u5ff5\u691c\u8a3c\u3092\u9032\u3081\u3066\u304d\u307e\u3057\u305f\u3002\u3082\u3061\u308d\u3093\u3001LLM\u6d3b\u7528\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u63a2\u3063\u3066\u3044\u305f\u306e\u3067\u3042\u3063\u3066\u3001\u672c\u6c17\u306b\u81ea\u52d5\u5316\u3057\u3088\u3046\u3068\u8003\u3048\u3066\u3044\u305f\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u30e2\u30c7\u30eb\u3092\u5b9a\u7fa9\u3057\u3001<\/li>\n\n\n\n<li>\u30d6\u30ed\u30b0\u8a18\u4e8b\u304b\u3089\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30fb\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u62bd\u51fa\u3057\u3001<\/li>\n\n\n\n<li>Neo4j \u3092\u4f7f\u3063\u3066\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f<\/li>\n<\/ul>\n\n\n\n<p>\u305d\u3057\u3066\u4eca\u56de\u306f\u3001GraphRAG \u306e\u300c\u5165\u53e3\u300d\u3068\u306a\u308bVector Index\u309250\u672c\u306e\u30b5\u30f3\u30d7\u30eb\u30b0\u30e9\u30d5\u306b\u5c0e\u5165\u3057\u3001\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u5b8c\u6210\u3057\u305f\u4e0a\u3067\u3001<strong>\u81ea\u7136\u8a00\u8a9e\u306b\u3088\u308b\u610f\u5473\u691c\u7d22<\/strong>\uff08semantic search\uff09\u3092\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u3067\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b0\u30e9\u30d5\u30d5\u30a1\u30fc\u30b9\u30c8\u306eVector Index\u4f5c\u6210<\/h2>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u524d\u56de\u307e\u3067\u306b\u4f5c\u6210\u3057\u305f\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\uff08<code>graph_extract\/*.json<\/code> \u306b\u683c\u7d0d\u3055\u308c\u305f 50 \u672c\u5206\u306e Tech Blog \u30c7\u30fc\u30bf\uff09\u3092\u4f7f\u3063\u3066\u3001\u65e2\u5b58\u30b0\u30e9\u30d5\u306b\u5bfe\u3057\u3066 Vector Index \u3092\u8ffd\u52a0\u3057\u3001Embedding \u3092\u4ed8\u4e0e\u3059\u308b\u51e6\u7406\u3092\u5b9f\u884c\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3059\u3067\u306b\u30ce\u30fc\u30c9\u3068\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u304c\u5b9a\u7fa9\u3055\u308c\u305f\u72b6\u614b\uff08\uff1d\u30b0\u30e9\u30d5\u30d5\u30a1\u30fc\u30b9\u30c8\uff09\u304b\u3089\u3001\u610f\u5473\u691c\u7d22\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u6574\u5099\u3059\u308b\u624b\u9806\u3092\u3001Python \u30b3\u30fc\u30c9\u3092\u4ea4\u3048\u306a\u304c\u3089\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>50\u672c\u306e\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u304b\u3089Vector Index\u3092\u5b9f\u88c5<\/summary>\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nimport json\nimport boto3\nfrom dotenv import load_dotenv\nimport os\nfrom neo4j import GraphDatabase\nimport glob\n\n# \u74b0\u5883\u5909\u6570\u306e\u8aad\u307f\u8fbc\u307f\nload_dotenv()\n\n# AWS Bedrock\u521d\u671f\u5316\nbedrock_runtime = boto3.client(\n    service_name='bedrock-runtime',\n    region_name=os.getenv(\"AWS_REGION\", \"ap-northeast-1\"),\n    aws_access_key_id=os.getenv(\"AWS_ACCESS_KEY_ID\"),\n    aws_secret_access_key=os.getenv(\"AWS_SECRET_ACCESS_KEY\")\n)\n\n# Neo4j\u521d\u671f\u5316\nneo4j_driver = GraphDatabase.driver(\n    \"bolt:\/\/localhost:7687\", \n    auth=(\"neo4j\", os.getenv('NEO4J_PASSWORD'))\n)\n\ndef generate_embedding(text, dimensions=None):\n    \"\"\"\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u3092\u751f\u6210 (Titan Text Embeddings V2)\"\"\"\n    # \u5165\u529b\u691c\u8a3c\n    if not text or not isinstance(text, str):\n        raise ValueError(f\"Invalid text input: {repr(text)}\")\n    \n    # \u7a7a\u767d\u306e\u307f\u306e\u6587\u5b57\u5217\u3092\u30c1\u30a7\u30c3\u30af\n    if not text.strip():\n        raise ValueError(f\"Text is empty or whitespace only: {repr(text)}\")\n    \n    # \u30ea\u30af\u30a8\u30b9\u30c8\u30dc\u30c7\u30a3 (\u30b7\u30f3\u30d7\u30eb\u7248 - normalize\u3092\u524a\u9664)\n    body_dict = {\"inputText\": text}\n    \n    # \u6b21\u5143\u6570\u6307\u5b9a\u304c\u3042\u308b\u5834\u5408\u306e\u307f\u8ffd\u52a0\n    if dimensions:\n        body_dict&#91;\"dimensions\"] = dimensions\n    \n    body = json.dumps(body_dict)\n    \n    try:\n        response = bedrock_runtime.invoke_model(\n            modelId='amazon.titan-embed-text-v2:0',\n            body=body\n        )\n        \n        response_body = json.loads(response&#91;'body'].read())\n        return response_body&#91;'embedding']\n    except Exception as e:\n        print(f\"ERROR generating embedding for text: {text&#91;:100]}...\")\n        print(f\"Dimensions: {dimensions}\")\n        raise e\n\ndef add_embeddings_from_json(json_file_path):\n    \"\"\"JSON\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3066\u65e2\u5b58\u30b0\u30e9\u30d5\u306b\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u3092\u8ffd\u52a0\"\"\"\n    try:\n        # \u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u3092\u8aad\u3080\n        with open(json_file_path, 'r', encoding='utf-8') as f:\n            data = json.load(f)\n        \n        with neo4j_driver.session() as session:\n            # 1. BlogPost\u30ce\u30fc\u30c9\u306b\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u8ffd\u52a0(1\u3064\u306e\u307f)\n            blog_post_node = next((node for node in data&#91;'nodes'] if 'BlogPost' in node&#91;'labels']), None)\n            \n            if blog_post_node:\n                # url(\u691c\u7d22\u30ad\u30fc)\u3068abstract(Embedding\u5bfe\u8c61)\u3092\u62bd\u51fa\n                url = blog_post_node&#91;'properties']&#91;'url']\n                abstract = blog_post_node&#91;'properties'].get('abstract')\n                \n                if abstract:\n                    # Embedding\u3092\u4f9d\u983c (\u30c7\u30d5\u30a9\u30eb\u30c8\u6b21\u5143\u6570\u3092\u4f7f\u7528)\n                    embedding = generate_embedding(abstract)\n                    \n                    # url\u3067\u30ce\u30fc\u30c9\u3092\u691c\u7d22\u3057\u3066abstract_embedding\u5c5e\u6027\u3092\u8ffd\u52a0\n                    session.run(\"\"\"\n                        MATCH (bp:BlogPost {url: $url})\n                        SET bp.abstract_embedding = $embedding\n                    \"\"\", url=url, embedding=embedding)\n                    \n                    print(f\"\u2713 BlogPost \u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u8ffd\u52a0: {blog_post_node&#91;'properties']&#91;'title']}\")\n            \n            # 2. \u5168\u3066\u306eKeyword\u30ce\u30fc\u30c9\u306b\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u8ffd\u52a0(\u8907\u6570\u306e\u305f\u3081\u306b)\n            # \u5404Keyword\u30ce\u30fc\u30c9\u3092\u51e6\u7406\n            for node in data&#91;'nodes']:\n                if 'Keyword' in node&#91;'labels']:\n                    word = node&#91;'properties']&#91;'word']\n                    \n                    # Embedding\u3092\u4f9d\u983c (\u30c7\u30d5\u30a9\u30eb\u30c8\u6b21\u5143\u6570\u3092\u4f7f\u7528)\n                    embedding = generate_embedding(word)\n                    \n                    # \u30ef\u30fc\u30c9\u3067\u691c\u7d22\u3057\u3001word_embedding\u5c5e\u6027\u3092\u8ffd\u52a0\n                    session.run(\"\"\"\n                        MATCH (k:Keyword {word: $word})\n                        SET k.word_embedding = $embedding\n                    \"\"\", word=word, embedding=embedding)\n        \n        return True\n        \n    except Exception as e:\n        print(f\"\u2717 \u30a8\u30e9\u30fc: {json_file_path} - {str(e)}\")\n        return False\n\ndef process_multiple_files(file_pattern):\n    \"\"\"\u8907\u6570\u306eJSON\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\"\"\"\n    # \u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\n    json_files = glob.glob(file_pattern)\n    \n    if not json_files:\n        print(f\"\u8b66\u544a: \u30d1\u30bf\u30fc\u30f3 '{file_pattern}' \u306b\u4e00\u81f4\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\")\n        return\n    \n    print(f\"\\n{len(json_files)} \u500b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3057\u307e\u3059\\n\")\n    \n    success_count = 0\n    fail_count = 0\n    \n    for idx, json_file in enumerate(json_files, 1):\n        print(f\"&#91;{idx}\/{len(json_files)}] \u51e6\u7406\u4e2d: {os.path.basename(json_file)}\")\n        \n        if add_embeddings_from_json(json_file):\n            success_count += 1\n        else:\n            fail_count += 1\n        \n        print()  # \u7a7a\u884c\n    \n    # \u30b5\u30de\u30ea\u30fc\u8868\u793a\n    print(\"=\" * 50)\n    print(f\"\u51e6\u7406\u5b8c\u4e86: \u6210\u529f {success_count} \/ \u5931\u6557 {fail_count} \/ \u5408\u8a08 {len(json_files)}\")\n    print(\"=\" * 50)\n\n# \u30e1\u30a4\u30f3\u51e6\u7406\nif __name__ == \"__main__\":\n    # \u8907\u6570JSON\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u53d6\u5f97\u3057\u3066\u65e2\u5b58\u30b0\u30e9\u30d5\u306b\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u8ffd\u52a0\n    process_multiple_files('..\/graph_extract\/*.json')\n    \n    # \u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\n    neo4j_driver.close()\n    \n    print(\"\\n\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u51e6\u7406\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f!\")\n<\/code><\/pre>\n<\/details>\n\n\n\n<p><a href=\"https:\/\/github.com\/awk256\/neo4j-lab-semantic-model\">https:\/\/github.com\/awk256\/neo4j-lab-semantic-model<\/a><\/p>\n\n\n\n<p><br>\u7d50\u679c\u306f\u3001\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u300250\u672c\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3059\u3079\u3066\u306b\u5bfe\u3057\u3066\u3001Embedding \u3092\u8ffd\u52a0\u3057\u3001Vector Index \u3092\u6d3b\u7528\u3067\u304d\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>BlogPost.abstracty(\u8981\u65e8)<\/li>\n\n\n\n<li>Keyword.word<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$ python vector_index_set_with_aws_all.py\n\n50 \u500b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3057\u307e\u3059\n\n&#91;1\/50] \u51e6\u7406\u4e2d: tech-blog_chatgpt-ai_ai_69246_graph.json\n\u2713 BlogPost \u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u8ffd\u52a0: \u3010AI\u99c6\u52d5\u958b\u767a\u3011ChatGPT\u306f\u3082\u3046\u53e4\u3044\uff1fPhind(\u30d5\u30a3\u30f3\u30c9)\u306b\u4e57\u308a\u63db\u3048\u3066\u307f\u308b\uff01\n\n&#91;2\/50] \u51e6\u7406\u4e2d: tech-blog_cloudnative_chef_23515_graph.json\n\u2713 BlogPost \u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u8ffd\u52a0: &#91;\u548c\u8a33] Chef Workstation\u306e\u6b63\u898f\u7248\u30ea\u30ea\u30fc\u30b9\u306e\u304a\u77e5\u3089\u305b #getchef #chef\n\n...\u4e2d\u7565...\n\n&#91;50\/50] \u51e6\u7406\u4e2d: tech-blog_others_kaizen_70055_graph.json\n\u2713 BlogPost \u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u8ffd\u52a0: \u30ef\u30fc\u30af\u30b7\u30e7\u30c3\u30d7\u652f\u63f4\u30b5\u30fc\u30d3\u30b9\u5c0e\u5165\u4e8b\u4f8b\uff08\u682a\u5f0f\u4f1a\u793eMonotaRO\u69d8\uff09\u3092\u767a\u8868\uff1a\u6025\u6210\u9577\u4f01\u696d\u306e\u5171\u901a\u76ee\u7684\u5f62\u6210\u3078\u306e\u8ca2\u732e\u3001\u53c2\u52a0\u8005\u304b\u3089\u306f\u9ad8\u3044\u5b9f\u611f\u3068\u4fa1\u5024\u306e\u58f0\n\n==================================================\n\u51e6\u7406\u5b8c\u4e86: \u6210\u529f 50 \/ \u5931\u6557 0 \/ \u5408\u8a08 50\n==================================================\n\n\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u51e6\u7406\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f!\n<\/code><\/pre>\n\n\n\n<p>\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u3001\u5b9f\u969b\u306b\u30ce\u30fc\u30c9\u306b\u8ffd\u52a0\u3055\u308c\u305f\u30d9\u30af\u30c8\u30eb\uff08Embedding\uff09\u3092\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MATCH (n:BlogPost) RETURN n LIMIT 25<\/code><\/pre>\n\n\n\n<p>\u8868\u793a\u3055\u308c\u305f\u30ce\u30fc\u30c9\u306e\u4e2d\u304b\u3089\u4efb\u610f\u306e <code>BlogPost<\/code> \u30ce\u30fc\u30c9\u3092\u9078\u3073\u3001\u4e0a\u306e <strong>[Table]<\/strong> \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001<br><code>properties.abstract_embedding<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u3057\u3066\u3001\u975e\u5e38\u306b\u9577\u3044\u6570\u5024\u306e\u30ea\u30b9\u30c8\uff08\u30d9\u30af\u30c8\u30eb\uff09\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f\u3001LLM \u306b\u3088\u3063\u3066\u751f\u6210\u3055\u308c\u305f\u610f\u5473\u30d9\u30af\u30c8\u30eb\uff08\u57cb\u3081\u8fbc\u307f\uff09\u304c\u30ce\u30fc\u30c9\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"965\" height=\"586\" src=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-47.png\" alt=\"\" class=\"wp-image-80124\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-47.png 965w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-47-360x219.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-47-768x466.png 768w\" sizes=\"auto, (max-width: 965px) 100vw, 965px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u81ea\u7136\u8a00\u8a9e\u3067\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u691c\u7d22\u3059\u308b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u81ea\u7136\u8a00\u8a9e\u304b\u3089 Cypher \u3078\uff1aLLM \u3092\u6d3b\u7528\u3057\u305f\u30b0\u30e9\u30d5\u691c\u7d22\u306e\u5165\u308a\u53e3<\/h3>\n\n\n\n<p>\u30d9\u30af\u30c8\u30eb\u5316\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306f\u3001\u81ea\u7136\u8a00\u8a9e\u3067\u691c\u7d22\u3067\u304d\u307e\u3059\u3002<br>\u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u306f\u300c\u25ef\u25ef\u306e\u3088\u3046\u306a\u60c5\u5831\u304c\u77e5\u308a\u305f\u3044\u300d\u3068\u3044\u3063\u305f\u3056\u3063\u304f\u308a\u3068\u3057\u305f\u554f\u3044\u3092\u81ea\u7136\u8a00\u8a9e\u3067\u6295\u3052\u308b\u3068\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u305d\u308c\u3092\u300c\u610f\u5473\u30d9\u30af\u30c8\u30eb\uff08Embedding\uff09\u300d\u306b\u5909\u63db\u3057\u3001Neo4j \u306e <strong>Vector Index<\/strong> \u3092\u4f7f\u3063\u3066\u3001\u6700\u3082\u610f\u5473\u304c\u8fd1\u3044\u30ce\u30fc\u30c9\u3092\u63a2\u3057\u51fa\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u305d\u306e\u4ed5\u7d44\u307f\u3092\u5b9f\u969b\u306e Cypher \u30af\u30a8\u30ea\u306e\u30b9\u30cb\u30da\u30c3\u30c8\u3092\u4f7f\u3063\u3066\u89e3\u8aac\u3057\u3001\u30b3\u30fc\u30c9\u3067\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3092\u3069\u306e\u3088\u3046\u306b\u5b9f\u88c5\u3067\u304d\u308b\u306e\u304b\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> result = session.run(\"\"\"\n CALL db.index.vector.queryNodes('blog_post_embeddings', $top_k, $query_embedding)\n YIELD node, score\n RETURN node.title AS title, \n node.abstract AS abstract, \n node.url AS url,\n \u3000 score\n ORDER BY score DESC\n \"\"\", query_embedding=query_embedding, top_k=top_k)<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>CALL db.index.vector.queryNodes<\/td><td>Neo4j\u5185\u81d3\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3<\/td><\/tr><tr><td>blog_post_embeddings<\/td><td>Vector Index\u540d<\/td><\/tr><tr><td>$top_k<\/td><td>\u691c\u7d22\u3059\u308b\u30ce\u30fc\u30c9\u306e\u4ef6\u6570\u3002\u985e\u4f3c\u5ea6\u306e\u30c8\u30c3\u30d7\u4f55\u4ef6\u3092\u62bd\u51fa\u3059\u308b\u304b\u3001\u6570\u5b57\u3092\u8a2d\u5b9a(\u4f8b:top_k=3)<\/td><\/tr><tr><td>$query_embedding<\/td><td>\u81ea\u7136\u8a00\u8a9e\u306e\u8cea\u554f\u3092\u30d9\u30af\u30c8\u30eb\u5316\u3057\u3066\u3044\u308b\u5909\u6570<\/td><\/tr><tr><td>YIELD node<\/td><td>\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u8fd4\u9084\u5024\u306e\u8b58\u5225\u5b50<br>\u2192node.&lt;\u5c5e\u6027\u540d&gt;\u306e\u3088\u3046\u306b\u4f7f\u7528<\/td><\/tr><tr><td>score<\/td><td>\u985e\u4f3c\u5ea6\u306e\u30b9\u30b3\u30a2(\u6570\u5b57)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b7\u30f3\u30d7\u30eb\u306a\u30ce\u30fc\u30c9\u691c\u7d22\u306e\u4f8b<\/h3>\n\n\n\n<p>\u81ea\u7136\u8a00\u8a9e\u3067\u30ce\u30fc\u30c9\u3092\u691c\u7d22\u3059\u308b\u306b\u306f\u3001\u307e\u305a\u8cea\u554f\u6587\u3092Embedding\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001Neo4j \u81ea\u4f53\u306b\u306f\u30c6\u30ad\u30b9\u30c8\u3092\u30d9\u30af\u30c8\u30eb\u306b\u5909\u63db\u3059\u308b\u6a5f\u80fd\u306f\u306a\u3044\u305f\u3081\u3001\u5916\u90e8\u306e LLM\uff0fEmbedding API \u3068\u9023\u643a\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5074\u3067\u51e6\u7406\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u7c21\u5358\u306a\u554f\u3044\u304b\u3051\u3092\u4f8b\u306b\u3001\u81ea\u7136\u8a00\u8a9e\u691c\u7d22\u306e\u57fa\u672c\u7684\u306a\u6d41\u308c\u3092\u7d39\u4ecb\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>\u81ea\u7136\u8a00\u8a9e\u306b\u3088\u308b\u30ce\u30fc\u30c9\u691c\u7d22\u306e\u4f8b<\/summary>\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import json\nimport boto3\nfrom dotenv import load_dotenv\nimport os\nfrom neo4j import GraphDatabase\n\n# \u74b0\u5883\u5909\u6570\u306e\u8aad\u307f\u8fbc\u307f\nload_dotenv()\n\n# AWS Bedrock\u521d\u671f\u5316\nbedrock_runtime = boto3.client(\n    service_name='bedrock-runtime',\n    region_name=os.getenv(\"AWS_REGION\", \"ap-northeast-1\"),\n    aws_access_key_id=os.getenv(\"AWS_ACCESS_KEY_ID\"),\n    aws_secret_access_key=os.getenv(\"AWS_SECRET_ACCESS_KEY\")\n)\n\n# Neo4j\u521d\u671f\u5316\nneo4j_driver = GraphDatabase.driver(\n    \"bolt:\/\/localhost:7687\", \n    auth=(\"neo4j\", os.getenv('NEO4J_PASSWORD'))\n)\n\ndef generate_embedding(text):\n    \"\"\"\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u3092\u751f\u6210\"\"\"\n    body = json.dumps({\"inputText\": text})\n    \n    response = bedrock_runtime.invoke_model(\n        modelId='amazon.titan-embed-text-v2:0',\n        body=body\n    )\n    \n    response_body = json.loads(response&#91;'body'].read())\n    return response_body&#91;'embedding']\n\ndef vector_search(query_text, top_k=3):\n    \"\"\"Vector\u691c\u7d22\u3092\u5b9f\u884c\"\"\"\n    # \u691c\u7d22\u30af\u30a8\u30ea\u306e\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u3092\u751f\u6210\n    query_embedding = generate_embedding(query_text)\n    \n    with neo4j_driver.session() as session:\n        # Vector\u691c\u7d22\u30af\u30a8\u30ea\n        result = session.run(\"\"\"\n            CALL db.index.vector.queryNodes('blog_post_embeddings', $top_k, $query_embedding)\n            YIELD node, score\n            RETURN node.title AS title, \n                   node.abstract AS abstract, \n                   node.url AS url,\n                   score\n            ORDER BY score DESC\n        \"\"\", query_embedding=query_embedding, top_k=top_k)\n        \n        return list(result)\n\n# \u30e1\u30a4\u30f3\u51e6\u7406\nif __name__ == \"__main__\":\n    # \u691c\u7d22\u5b9f\u884c\n    query = \"Neo4j\u306e\u65b0\u6a5f\u80fd\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u308b\u30d6\u30ed\u30b0\u306f\"\n    print(f\"\u691c\u7d22\u30af\u30a8\u30ea: {query}\\n\")\n    print(\"=\" * 80)\n    \n    results = vector_search(query, top_k=3)\n    \n    # \u7d50\u679c\u8868\u793a\n    for idx, record in enumerate(results, 1):\n        print(f\"\\n\u3010\u7d50\u679c {idx}\u3011(\u985e\u4f3c\u5ea6\u30b9\u30b3\u30a2: {record&#91;'score']:.4f})\")\n        print(f\"\u30bf\u30a4\u30c8\u30eb: {record&#91;'title']}\")\n        print(f\"URL: {record&#91;'url']}\")\n        print(f\"\\nAbstract:\")\n        print(record&#91;'abstract'])\n        print(\"-\" * 80)\n    \n    # \u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\n    neo4j_driver.close()\n    \n    print(f\"\\n\u691c\u7d22\u5b8c\u4e86: {len(results)} \u4ef6\u306e\u7d50\u679c\")<\/code><\/pre>\n<\/details>\n\n\n\n<p><a href=\"https:\/\/github.com\/awk256\/neo4j-lab-semantic-model\">https:\/\/github.com\/awk256\/neo4j-lab-semantic-model<\/a><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306f\u3001\u81ea\u7136\u8a00\u8a9e\u691c\u7d22\u306b\u3088\u308b\u7d50\u679c\u3067\u3059\u3002<br>\u4eca\u56de\u306f\u300cNeo4j\u300d\u300cMongoDB\u300d\u300cGKE\u300d\u300cNASA\u306e\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u518d\u73fe\u300d\u3068\u3044\u3063\u305f\u30c8\u30d4\u30c3\u30af\u3092\u6271\u3063\u305f\u8a18\u4e8b\u304c\u30d2\u30c3\u30c8\u3057\u307e\u3057\u305f\u3002<br>\u5b9f\u969b\u306e\u904b\u7528\u3067\u306f\u3001\u8cea\u554f\u306e\u8868\u73fe\u3092\u5909\u3048\u305f\u308a\u3001\u6761\u4ef6\u3092\u8a73\u3057\u304f\u6307\u5b9a\u3057\u305f\u308a\u3068\u3044\u3063\u305f\u5de5\u592b\u304c\u3001\u3088\u308a\u6b63\u78ba\u306a\u691c\u7d22\u7d50\u679c\u3092\u5f97\u308b\u305f\u3081\u306b\u91cd\u8981\u306b\u306a\u3063\u3066\u304f\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\n$ python vector_search_simple.py\n\u691c\u7d22\u30af\u30a8\u30ea: Neo4j\u306e\u65b0\u6a5f\u80fd\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u308b\u30d6\u30ed\u30b0\u306f\n\n================================================================================\n\n\u3010\u7d50\u679c 1\u3011(\u985e\u4f3c\u5ea6\u30b9\u30b3\u30a2: 0.6577)\n\u30bf\u30a4\u30c8\u30eb: MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph\nURL: https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340\n\nAbstract:\nMongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b\u9023\u643a\u3092\u8a66\u3057\u3001JSON \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u30b0\u30e9\u30d5\u7406\u8ad6\u306b\u3088\u3063\u3066\u30b0\u30e9\u30d5\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u8868\u3059\u610f\u5473\u3092\u4eba\u9593\u304c\u76f4\u611f\u7684\u306b\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\n--------------------------------------------------------------------------------\n\n\u3010\u7d50\u679c 2\u3011(\u985e\u4f3c\u5ea6\u30b9\u30b3\u30a2: 0.6566)\n\u30bf\u30a4\u30c8\u30eb: Kubernetes(GKE)\u4e0a\u306bNeo4j\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b #Neo4j #Kubernetes\nURL: https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/52328\n\nAbstract:\nKubernetes\u4e0a\u306bNeo4j\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u65b9\u6cd5\u3092\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u624b\u9806\u306b\u6cbf\u3063\u3066\u8a66\u3057\u305f\u8a18\u9332\u3002GKE\u3092\u4f7f\u7528\u3057\u3066Helm\u30c1\u30e3\u30fc\u30c8\u3067Neo4j\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30fc\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u3001\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3084\u30aa\u30fc\u30c8\u30d2\u30fc\u30ea\u30f3\u30b0\u6a5f\u80fd\u306b\u3088\u308b\u53ef\u7528\u6027\u5411\u4e0a\u306e\u30e1\u30ea\u30c3\u30c8\u3092\u89e3\u8aac\u3002\n--------------------------------------------------------------------------------\n\n\u3010\u7d50\u679c 3\u3011(\u985e\u4f3c\u5ea6\u30b9\u30b3\u30a2: 0.6549)\n\u30bf\u30a4\u30c8\u30eb: Neo4j\u3067NASA\u306e\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u518d\u73fe\u3057\u3066\u307f\u305f #neo4j #graph #nosql\nURL: https:\/\/www.creationline.com\/tech-blog\/hr\/31338\n\nAbstract:\n\u5f0a\u793e\u306e\u674e\u30fb\u6731\u30fb\u7d30\u898b\u304c\u793e\u5185PoC\u3068\u3057\u3066\u300cNeo4j\u3092\u5229\u7528\u3057\u3066NASA\u306e\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u518d\u73fe\u3057\u3066\u307f\u305f\u300d\u30d7\u30ed\u30bb\u30b9\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3002AI\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u306e\u81ea\u52d5\u751f\u6210\u53ca\u3073\u30ca\u30ec\u30c3\u30b8\u306e\u30ec\u30b3\u30e1\u30f3\u30c9\u3001Cypher\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u958b\u767a\u306e\u305f\u3081\u306ePoC\u3092\u5b9f\u65bd\u3057\u3001MVP\u30ec\u30d9\u30eb\u3067\u306eNASA\u306e\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u306e\u518d\u73fe\u306b\u6210\u529f\u3057\u305f\u3002\n--------------------------------------------------------------------------------\n\n\u691c\u7d22\u5b8c\u4e86: 3 \u4ef6\u306e\u7d50\u679c<\/code><\/pre>\n\n\n\n<p>\u7d50\u679c\u3068\u3057\u3066\u3001\u4e0a\u8a18\u306e\u3088\u3046\u306a3\u4ef6\u306e\u8a18\u4e8b\u304c\u62bd\u51fa\u3055\u308c\u307e\u3057\u305f\u3002<br>\u671f\u5f85\u3057\u305f\u8a18\u4e8b\u3068\u306e\u985e\u4f3c\u5ea6\u306e\u8a55\u4fa1\u306b\u306f\u4e3b\u89b3\u304c\u5165\u308b\u305f\u3081\u3001\u53b3\u5bc6\u306a\u30b3\u30e1\u30f3\u30c8\u306f\u96e3\u3057\u3044\u3068\u3053\u308d\u3067\u3059\u304c\u3001\u8cea\u554f\u306e\u8868\u73fe\u3092\u5909\u3048\u305f\u308a\u5de5\u592b\u3057\u306a\u304c\u3089\u63a2\u7d22\u3057\u3066\u3044\u304f\u9762\u767d\u3055\u306f\u5341\u5206\u306b\u611f\u3058\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7279\u306b\u4eca\u56de\u306f\u3001\u5bfe\u8c61\u3068\u306a\u308b\u8a18\u4e8b\u304c\u7d0450\u4ef6\u3068\u9650\u3089\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u8003\u3048\u308b\u3068\u3001\u304b\u306a\u308a\u7d0d\u5f97\u611f\u306e\u3042\u308b\u7d50\u679c\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ce\u30fc\u30c9\u9593\u306e\u95a2\u4fc2\u3092\u305f\u3069\u308b\u63a2\u7d22<\/h3>\n\n\n\n<p>\u30b0\u30e9\u30d5\u691c\u7d22\u306e\u918d\u9190\u5473\u306f\u3001\u4f55\u3088\u308a\u3082\u3001\u30c8\u30e9\u30d0\u30fc\u30b5\u30eb\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u30ce\u30fc\u30c9\u3092\u898b\u3064\u3051\u3066\u304b\u3089\u3001\u305d\u306e\u30ce\u30fc\u30c9\u3092\u8d77\u70b9\u306b\u3057\u3066\u95a2\u4fc2\u6027\u3092\u6301\u3064\u60c5\u5831\u3092\u5f15\u304d\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>BlogPost-&#91;CONTAIN_KEYWORD]-&gt;Keyword<\/code><\/pre>\n\n\n\n<p>\u4ee5\u4e0b\u306eCyhper\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002\u81ea\u7136\u8a00\u8a9e\u3067\u691c\u7d22\u3057\u305f\u30ce\u30fc\u30c9\u306b\u5bfe\u3057\u3066\u95a2\u4fc2\u6027\u3092\u6301\u3064\u30ce\u30fc\u30c9\u3092\u63a2\u7d22\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  CALL db.index.vector.queryNodes('blog_post_embeddings', $top_k, $query_embedding)\n       YIELD node, score\n       MATCH (node)-&#91;:CONTAINS_KEYWORD]-&gt;(k:Keyword)\n       RETURN node.title AS title, \n              node.abstract AS abstract, \n              node.url AS url,\n              collect(k.word) AS keyword,\n              score\n   \u3000\u3000ORDER BY score DESC<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>YIELD node<\/td><td>\u81ea\u7136\u8a00\u8a9e\u3067\u691c\u7d22\u3057\u3066\u7d50\u679c\u5024\u306e\u8b58\u5225\u5b50<\/td><\/tr><tr><td>MATCH (node)-[:CONTAINS_KEYWORD]-&gt;(k:Keyword)<\/td><td>\u81ea\u7136\u8a00\u8a9e\u306b\u3088\u308b\u691c\u7d22\u7d50\u679c\u5024(node)\u3092\u8d77\u70b9\u306b\u3057\u3066\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7(CONTAINS_KEYWORD)\u3092\u691c\u7d22<\/td><\/tr><tr><td> collect(k.word) <\/td><td>collect\u306f\u8907\u6570\u306e\u5024\u3092\u30ea\u30b9\u30c8\u306b\u3057\u307e\u3059\u3002<br>\u2192[\"A\",\"B\",\"C\",\"D\"]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>\u30ce\u30fc\u30c9\u9593\u306e\u95a2\u4fc2\u3092\u305f\u3069\u308b\u63a2\u7d22\u306e\u4f8b<\/summary>\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import json\nimport boto3\nfrom dotenv import load_dotenv\nimport os\nfrom neo4j import GraphDatabase\n\n# \u74b0\u5883\u5909\u6570\u306e\u8aad\u307f\u8fbc\u307f\nload_dotenv()\n\n# AWS Bedrock\u521d\u671f\u5316\nbedrock_runtime = boto3.client(\n    service_name='bedrock-runtime',\n    region_name=os.getenv(\"AWS_REGION\", \"ap-northeast-1\"),\n    aws_access_key_id=os.getenv(\"AWS_ACCESS_KEY_ID\"),\n    aws_secret_access_key=os.getenv(\"AWS_SECRET_ACCESS_KEY\")\n)\n\n# Neo4j\u521d\u671f\u5316\nneo4j_driver = GraphDatabase.driver(\n    \"bolt:\/\/localhost:7687\", \n    auth=(\"neo4j\", os.getenv('NEO4J_PASSWORD'))\n)\n\ndef generate_embedding(text):\n    \"\"\"\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u3092\u751f\u6210\"\"\"\n    body = json.dumps({\"inputText\": text})\n    \n    response = bedrock_runtime.invoke_model(\n        modelId='amazon.titan-embed-text-v2:0',\n        body=body\n    )\n    \n    response_body = json.loads(response&#91;'body'].read())\n    return response_body&#91;'embedding']\n\ndef vector_search(query_text, top_k=3):\n    \"\"\"Vector\u691c\u7d22\u3092\u5b9f\u884c\"\"\"\n    # \u691c\u7d22\u30af\u30a8\u30ea\u306e\u30a8\u30f3\u30d9\u30c7\u30a3\u30f3\u30b0\u3092\u751f\u6210\n    query_embedding = generate_embedding(query_text)\n    \n    with neo4j_driver.session() as session:\n        # Vector\u691c\u7d22\u30af\u30a8\u30ea\n        result = session.run(\"\"\"\n            CALL db.index.vector.queryNodes('blog_post_embeddings', $top_k, $query_embedding)\n            YIELD node, score\n            MATCH (node)-&#91;:CONTAINS_KEYWORD]-&gt;(k:Keyword)\n            RETURN node.title AS title, \n                   node.abstract AS abstract, \n                   node.url AS url,\n                   collect(k.word) AS keyword,\n                   score\n            ORDER BY score DESC\n        \"\"\", query_embedding=query_embedding, top_k=top_k)\n        \n        return list(result)\n\n# \u30e1\u30a4\u30f3\u51e6\u7406\nif __name__ == \"__main__\":\n    # \u691c\u7d22\u5b9f\u884c\n    query = \"Neo4j\u306e\u65b0\u6a5f\u80fd\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u308b\u30d6\u30ed\u30b0\u306f\"\n    print(f\"\u691c\u7d22\u30af\u30a8\u30ea: {query}\\n\")\n    print(\"=\" * 80)\n    \n    results = vector_search(query, top_k=3)\n    \n    # \u7d50\u679c\u8868\u793a\n    for idx, record in enumerate(results, 1):\n        print(f\"\\n\u3010\u7d50\u679c {idx}\u3011(\u985e\u4f3c\u5ea6\u30b9\u30b3\u30a2: {record&#91;'score']:.4f})\")\n        print(f\"\u30bf\u30a4\u30c8\u30eb: {record&#91;'title']}\")\n        print(f\"URL: {record&#91;'url']}\")\n        print(f\"\\nAbstract:\")\n        print(record&#91;'abstract'])\n        print(f\"\\n\u30ad\u30fc\u30ef\u30fc\u30c9:\")\n        print(record&#91;'keyword'])\n        print(\"-\" * 80)\n    \n    # \u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\n    neo4j_driver.close()\n    \n    print(f\"\\n\u691c\u7d22\u5b8c\u4e86: {len(results)} \u4ef6\u306e\u7d50\u679c\")<\/code><\/pre>\n<\/details>\n\n\n\n<p><a href=\"https:\/\/github.com\/awk256\/neo4j-lab-semantic-model\">https:\/\/github.com\/awk256\/neo4j-lab-semantic-model<\/a><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u7d50\u679c\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br>\u30d6\u30ed\u30b0\u306e\u8981\u65e8\u306b\u52a0\u3048\u3066\u3001\u95a2\u9023\u3059\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u306e\u95a2\u4fc2\u6027\u3082\u305f\u3069\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u3088\u308a\u7279\u5fb4\u304c\u969b\u7acb\u3064\u60c5\u5831\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> python vector_search_traversal.py\n\u691c\u7d22\u30af\u30a8\u30ea: Neo4j\u306e\u65b0\u6a5f\u80fd\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u308b\u30d6\u30ed\u30b0\u306f\n\n================================================================================\n\n\u3010\u7d50\u679c 1\u3011(\u985e\u4f3c\u5ea6\u30b9\u30b3\u30a2: 0.6577)\n\u30bf\u30a4\u30c8\u30eb: MongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3057\u3066\u307f\u308b #Neo4j #MongoDB #Graph\nURL: https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/54340\n\nAbstract:\nMongoDB \u306e\u30c7\u30fc\u30bf\u3092 Neo4j \u3067\u53ef\u8996\u5316\u3059\u308b\u9023\u643a\u3092\u8a66\u3057\u3001JSON \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u30b0\u30e9\u30d5\u7406\u8ad6\u306b\u3088\u3063\u3066\u30b0\u30e9\u30d5\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u8868\u3059\u610f\u5473\u3092\u4eba\u9593\u304c\u76f4\u611f\u7684\u306b\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\n\n\u30ad\u30fc\u30ef\u30fc\u30c9:\n&#91;'JSON', '\u30c7\u30fc\u30bf\u53ef\u8996\u5316', 'Docker', 'APOC', 'NoSQL', '\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9', 'Neo4j', 'MongoDB']\n--------------------------------------------------------------------------------\n\n\u3010\u7d50\u679c 2\u3011(\u985e\u4f3c\u5ea6\u30b9\u30b3\u30a2: 0.6566)\n\u30bf\u30a4\u30c8\u30eb: Kubernetes(GKE)\u4e0a\u306bNeo4j\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b #Neo4j #Kubernetes\nURL: https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/52328\n\nAbstract:\nKubernetes\u4e0a\u306bNeo4j\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u65b9\u6cd5\u3092\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u624b\u9806\u306b\u6cbf\u3063\u3066\u8a66\u3057\u305f\u8a18\u9332\u3002GKE\u3092\u4f7f\u7528\u3057\u3066Helm\u30c1\u30e3\u30fc\u30c8\u3067Neo4j\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30fc\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u3001\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3084\u30aa\u30fc\u30c8\u30d2\u30fc\u30ea\u30f3\u30b0\u6a5f\u80fd\u306b\u3088\u308b\u53ef\u7528\u6027\u5411\u4e0a\u306e\u30e1\u30ea\u30c3\u30c8\u3092\u89e3\u8aac\u3002\n\n\u30ad\u30fc\u30ef\u30fc\u30c9:\n&#91;'StatefulSet', 'Persistent Volume', '\u30aa\u30fc\u30c8\u30d2\u30fc\u30ea\u30f3\u30b0', '\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0', 'Helm', 'GKE', 'Neo4j', 'Kubernetes']\n--------------------------------------------------------------------------------\n\n\u3010\u7d50\u679c 3\u3011(\u985e\u4f3c\u5ea6\u30b9\u30b3\u30a2: 0.6549)\n\u30bf\u30a4\u30c8\u30eb: Neo4j\u3067NASA\u306e\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u518d\u73fe\u3057\u3066\u307f\u305f #neo4j #graph #nosql\nURL: https:\/\/www.creationline.com\/tech-blog\/hr\/31338\n\nAbstract:\n\u5f0a\u793e\u306e\u674e\u30fb\u6731\u30fb\u7d30\u898b\u304c\u793e\u5185PoC\u3068\u3057\u3066\u300cNeo4j\u3092\u5229\u7528\u3057\u3066NASA\u306e\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u518d\u73fe\u3057\u3066\u307f\u305f\u300d\u30d7\u30ed\u30bb\u30b9\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3002AI\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u306e\u81ea\u52d5\u751f\u6210\u53ca\u3073\u30ca\u30ec\u30c3\u30b8\u306e\u30ec\u30b3\u30e1\u30f3\u30c9\u3001Cypher\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u958b\u767a\u306e\u305f\u3081\u306ePoC\u3092\u5b9f\u65bd\u3057\u3001MVP\u30ec\u30d9\u30eb\u3067\u306eNASA\u306e\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u306e\u518d\u73fe\u306b\u6210\u529f\u3057\u305f\u3002\n\n\u30ad\u30fc\u30ef\u30fc\u30c9:\n&#91;'PoC', '\u30ec\u30b3\u30e1\u30f3\u30c9\u30b7\u30b9\u30c6\u30e0', 'RDF', '\u30aa\u30f3\u30c8\u30ed\u30b8\u30fc', '\u81ea\u7136\u8a00\u8a9e\u51e6\u7406', '\u6a5f\u68b0\u5b66\u7fd2', '\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9', 'Cypher', 'Neo4j', '\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5']\n--------------------------------------------------------------------------------\n\n\u691c\u7d22\u5b8c\u4e86: 3 \u4ef6\u306e\u7d50\u679c<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u3001<strong>\u81ea\u7136\u8a00\u8a9e\u306e\u8cea\u554f\u304b\u3089\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u63a2\u7d22\u3057\u3001\u610f\u5473\u7684\u306b\u8fd1\u3044\u30d6\u30ed\u30b0\u8a18\u4e8b\u3092\u691c\u7d22<\/strong>\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br>\u3055\u3089\u306b\u3001\u305d\u3053\u304b\u3089<strong>\u95a2\u4fc2\u6027\u3092\u305f\u3069\u3063\u3066\u95a2\u9023\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u62bd\u51fa\u3059\u308b<\/strong>\u3053\u3068\u3067\u3001GraphRAG\u304c\u6301\u3064\u6587\u8108\u62e1\u5f35\u306e\u529b\u3082\u4f53\u9a13\u3057\u3066\u3044\u305f\u3060\u3051\u305f\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u3001LLM \u3092\u6d3b\u7528\u3057\u3066\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u81ea\u52d5\u69cb\u7bc9\u3057\u3001\u691c\u7d22\u30fb\u6d3b\u7528\u307e\u3067\u3092\u3064\u306a\u3052\u3066\u3044\u304f\u4e00\u9023\u306e\u6d41\u308c\u2015\u2015<br>\u3059\u306a\u308f\u3061\u3001\u300c<strong>\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c<\/strong>\u300d\u3068\u3044\u3046\u5f53\u521d\u306e\u76ee\u7684\u306f\u3001\u3072\u3068\u307e\u305a\u9054\u6210\u3067\u304d\u305f\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u611f\u3058\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u3092\u8a66\u3057\u3066\u307f\u3088\u3046\u3068\u3057\u305f\u65b9\u306e\u4e2d\u306b\u306f\u3001\u74b0\u5883\u69cb\u7bc9\u306e\u58c1\u306b\u3076\u3064\u304b\u3063\u305f\u65b9\u3082\u3044\u305f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br>\u3057\u304b\u3057\u3001\u9023\u8f09\u3067\u306f\u30b3\u30fc\u30c9\u3084\u5b9f\u884c\u7d50\u679c\u3082\u7d39\u4ecb\u3057\u3066\u304d\u305f\u306e\u3067\u3001<strong>\u7279\u5225\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u306a\u304f\u3066\u3082GraphRAG\u306f\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u308b<\/strong>\u3068\u3044\u3046\u3053\u3068\u3001\u305d\u3057\u3066\u3001<strong>GraphRAG\u306e\u8003\u3048\u65b9\u304c\u6c7a\u3057\u3066\u9060\u3044\u4e16\u754c\u306e\u8a71\u3067\u306f\u306a\u3044<\/strong>\u3068\u3044\u3046\u3053\u3068\u304c\u3001\u5c11\u3057\u3067\u3082\u4f1d\u308f\u3063\u3066\u3044\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u304a\u3001<strong>\u81ea\u7136\u8a00\u8a9e\u306e\u8cea\u554f\u304b\u3089 Cypher \u3092\u751f\u6210\u3059\u308b<\/strong>\u3068\u3044\u3063\u305f\u3055\u3089\u306a\u308b\u767a\u5c55\u7684\u306a\u30c8\u30d4\u30c3\u30af\u306b\u3064\u3044\u3066\u306f\u3001\u307e\u305f\u5225\u306e\u6a5f\u4f1a\u306b\u6271\u3063\u3066\u307f\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u304a\u8aad\u307f\u3044\u305f\u3060\u3044\u305f\u7686\u3055\u307e\u3001\u672c\u5f53\u306b\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" id=\"block-4c792672-4190-4163-821e-6319ed73fc4b\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"block-694d1f1b-cb67-4b67-a8f6-11b1690aeb52\">&#x1f9ed;\u9023\u8f09<\/h4>\n\n\n\n<p id=\"block-4ac9d85b-1693-4be1-82c4-da7ad72c9630\"><a href=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/79246\" target=\"_blank\" rel=\"noreferrer noopener\">\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c\uff3b1\uff3d<\/a><\/p>\n\n\n\n<ul id=\"block-27516db2-b37a-44a0-adf3-f6a62db9bfec\" class=\"wp-block-list\">\n<li>\u5168\u5de5\u7a0b\u3092 LLM \u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u3067\u5b8c\u7d50<\/li>\n<\/ul>\n\n\n\n<p id=\"block-ff6d4270-dc2a-4325-988b-5029c7f4298c\"><strong><a href=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/79560\">\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c\uff3b2\uff3d<\/a><\/strong><\/p>\n\n\n\n<ul id=\"block-47834a34-4d5f-4593-8a86-ce6052e24ba9\" class=\"wp-block-list\">\n<li>LLM \u3068\u30b3\u30fc\u30c9\u51e6\u7406\u3092\u5206\u96e2\u3057\u3001\u5f79\u5272\u3092\u660e\u78ba\u5316<\/li>\n<\/ul>\n\n\n\n<p id=\"block-3588ab1d-0269-4055-8aeb-40d59acfd19f\"><strong><a href=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/79699\">\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c\uff3b3\uff3d<\/a><\/strong><\/p>\n\n\n\n<ul id=\"block-7f0211b9-dc1b-4a3e-a38c-fc05082987c0\" class=\"wp-block-list\">\n<li>GraphRAG\u3078\u306e\u9053\u3068Neo4j Vector Index<\/li>\n<\/ul>\n\n\n\n<p id=\"block-ff1ab2a2-1008-48eb-bab2-103ea146921f\"><strong><a href=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093\">\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c\uff3b4\uff3d<\/a><\/strong><\/p>\n\n\n\n<ul id=\"block-e992e8f9-43b3-44d2-b9db-17f8a8ef95e0\" class=\"wp-block-list\">\n<li>\u81ea\u7136\u8a00\u8a9e\u3067\u63a2\u7d22\u3059\u308b GraphRAG \u691c\u7d22\u306e\u5b9f\u8df5<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30fc \u81ea\u7136\u8a00\u8a9e\u3067\u63a2\u7d22\u3059\u308b GraphRAG \u691c\u7d22\u306e\u5b9f\u8df5 \u30fc \u306f\u3058\u3081\u306b \u3053\u306e\u9023\u8f09\u3067\u306f\u3001\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff08LLM\uff09\u3092\u6d3b\u7528\u3057\u306a\u304c\u3089\u3001\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u3092\u81ea\u52d5\u751f\u6210\u30fb\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u6982\u5ff5\u691c\u8a3c\u3092\u9032\u3081\u3066\u304d\u307e\u3057\u305f\u3002\u3082\u3061\u308d\u3093\u3001LLM\u6d3b\u7528\u306e\u30dd\u30a4\u30f3\u30c8 [&#8230;]<\/p>\n","protected":false},"author":13,"featured_media":79709,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[779,817,1115,61,37,815],"tags":[1114],"class_list":["post-80093","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-chatgpt-ai","category-graphrag","category-lee","category-neo4j","category-data-management","tag-graphrag"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4] - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"AI, ChatGPT\uff06AI, GraphRAG, lee, Neo4j, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u30fc \u81ea\u7136\u8a00\u8a9e\u3067\u63a2\u7d22\u3059\u308b GraphRAG \u691c\u7d22\u306e\u5b9f\u8df5 \u30fc \u306f\u3058\u3081\u306b\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4] - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"AI, ChatGPT\uff06AI, GraphRAG, lee, Neo4j, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u30fc \u81ea\u7136\u8a00\u8a9e\u3067\u63a2\u7d22\u3059\u308b GraphRAG \u691c\u7d22\u306e\u5b9f\u8df5 \u30fc \u306f\u3058\u3081\u306b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-21T01:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-11T07:13:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-13.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1025\" \/>\n\t<meta property=\"og:image:height\" content=\"487\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@awk256\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"7\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093\"},\"author\":{\"name\":\"lee\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7a9c09b6fc036bd56d9a7f7264389616\"},\"headline\":\"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4]\",\"datePublished\":\"2025-10-21T01:00:00+00:00\",\"dateModified\":\"2025-11-11T07:13:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093\"},\"wordCount\":130,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/image-13.png\",\"keywords\":[\"GraphRAG\"],\"articleSection\":[\"AI\",\"ChatGPT\uff06AI\",\"GraphRAG\",\"lee\",\"Neo4j\",\"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093\",\"name\":\"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4] - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/image-13.png\",\"datePublished\":\"2025-10-21T01:00:00+00:00\",\"dateModified\":\"2025-11-11T07:13:17+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7a9c09b6fc036bd56d9a7f7264389616\"},\"description\":\"AI, ChatGPT\uff06AI, GraphRAG, lee, Neo4j, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u30fc \u81ea\u7136\u8a00\u8a9e\u3067\u63a2\u7d22\u3059\u308b GraphRAG \u691c\u7d22\u306e\u5b9f\u8df5 \u30fc \u306f\u3058\u3081\u306b\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/image-13.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/image-13.png\",\"width\":1025,\"height\":487,\"caption\":\"Neo4j GraphRAG\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/neo4j\\\/80093#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ChatGPT\uff06AI\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AI\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/chatgpt-ai\\\/ai\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7a9c09b6fc036bd56d9a7f7264389616\",\"name\":\"lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g\",\"caption\":\"lee\"},\"description\":\"\u30e2\u30c0\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\u57fa\u76e4\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c8\u3068\u3057\u3066\u6d3b\u52d5\u3057\u3066\u3044\u307e\u3059\u3002 [\u8457\u66f8] \u30fbAmazon Cloud\u30c6\u30af\u30cb\u30ab\u30eb\u30ac\u30a4\u30c9\u2015EC2\\\/S3\u304b\u3089VPC\u307e\u3067\u5fb9\u5e95\u89e3\u6790 \u30fbAmazon Elastic MapReduce\u30c6\u30af\u30cb\u30ab\u30eb\u30ac\u30a4\u30c9 \u2015\u30af\u30e9\u30a6\u30c9\u578bHadoop\u3067\u5b9f\u73fe\u3059\u308b\u5927\u898f\u6a21\u5206\u6563\u51e6\u7406 \u30fbCypher\u30af\u30a8\u30ea\u30fc\u8a00\u8a9e\u306e\u4e8b\u4f8b\u3067\u5b66\u3076\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9Neo4j \u30fbNeo4j\u3092\u4f7f\u3046\u30b0\u30e9\u30d5\u578b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5165\u9580(\u5171\u8457) \u30fbRDB\u6280\u8853\u8005\u306e\u305f\u3081\u306eNoSQL\u30ac\u30a4\u30c9(\u5171\u8457)\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/@awk256\"],\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/lee\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4] - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"AI, ChatGPT\uff06AI, GraphRAG, lee, Neo4j, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u30fc \u81ea\u7136\u8a00\u8a9e\u3067\u63a2\u7d22\u3059\u308b GraphRAG \u691c\u7d22\u306e\u5b9f\u8df5 \u30fc \u306f\u3058\u3081\u306b","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093","og_locale":"ja_JP","og_type":"article","og_title":"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4] - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"AI, ChatGPT\uff06AI, GraphRAG, lee, Neo4j, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u30fc \u81ea\u7136\u8a00\u8a9e\u3067\u63a2\u7d22\u3059\u308b GraphRAG \u691c\u7d22\u306e\u5b9f\u8df5 \u30fc \u306f\u3058\u3081\u306b","og_url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2025-10-21T01:00:00+00:00","article_modified_time":"2025-11-11T07:13:17+00:00","og_image":[{"width":1025,"height":487,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-13.png","type":"image\/png"}],"author":"lee","twitter_card":"summary_large_image","twitter_creator":"@awk256","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"lee","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"7\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093"},"author":{"name":"lee","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7a9c09b6fc036bd56d9a7f7264389616"},"headline":"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4]","datePublished":"2025-10-21T01:00:00+00:00","dateModified":"2025-11-11T07:13:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093"},"wordCount":130,"commentCount":0,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-13.png","keywords":["GraphRAG"],"articleSection":["AI","ChatGPT\uff06AI","GraphRAG","lee","Neo4j","\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093","url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093","name":"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4] - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-13.png","datePublished":"2025-10-21T01:00:00+00:00","dateModified":"2025-11-11T07:13:17+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7a9c09b6fc036bd56d9a7f7264389616"},"description":"AI, ChatGPT\uff06AI, GraphRAG, lee, Neo4j, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u30fc \u81ea\u7136\u8a00\u8a9e\u3067\u63a2\u7d22\u3059\u308b GraphRAG \u691c\u7d22\u306e\u5b9f\u8df5 \u30fc \u306f\u3058\u3081\u306b","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-13.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/10\/image-13.png","width":1025,"height":487,"caption":"Neo4j GraphRAG"},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/neo4j\/80093#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"ChatGPT\uff06AI","item":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai"},{"@type":"ListItem","position":3,"name":"AI","item":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai"},{"@type":"ListItem","position":4,"name":"\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u3088\u308b\u30ca\u30ec\u30c3\u30b8\u30b0\u30e9\u30d5\u81ea\u52d5\u5316\u306e\u6982\u5ff5\u691c\u8a3c[4]"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7a9c09b6fc036bd56d9a7f7264389616","name":"lee","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/278a9c7ed6393635496209225c69f2d6caf4f4b360cf0c2a80ada723070d4f94?s=96&d=wp_user_avatar&r=g","caption":"lee"},"description":"\u30e2\u30c0\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\u57fa\u76e4\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c8\u3068\u3057\u3066\u6d3b\u52d5\u3057\u3066\u3044\u307e\u3059\u3002 [\u8457\u66f8] \u30fbAmazon Cloud\u30c6\u30af\u30cb\u30ab\u30eb\u30ac\u30a4\u30c9\u2015EC2\/S3\u304b\u3089VPC\u307e\u3067\u5fb9\u5e95\u89e3\u6790 \u30fbAmazon Elastic MapReduce\u30c6\u30af\u30cb\u30ab\u30eb\u30ac\u30a4\u30c9 \u2015\u30af\u30e9\u30a6\u30c9\u578bHadoop\u3067\u5b9f\u73fe\u3059\u308b\u5927\u898f\u6a21\u5206\u6563\u51e6\u7406 \u30fbCypher\u30af\u30a8\u30ea\u30fc\u8a00\u8a9e\u306e\u4e8b\u4f8b\u3067\u5b66\u3076\u30b0\u30e9\u30d5\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9Neo4j \u30fbNeo4j\u3092\u4f7f\u3046\u30b0\u30e9\u30d5\u578b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5165\u9580(\u5171\u8457) \u30fbRDB\u6280\u8853\u8005\u306e\u305f\u3081\u306eNoSQL\u30ac\u30a4\u30c9(\u5171\u8457)","sameAs":["https:\/\/x.com\/@awk256"],"url":"https:\/\/www.creationline.com\/tech-blog\/author\/lee"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/80093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=80093"}],"version-history":[{"count":30,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/80093\/revisions"}],"predecessor-version":[{"id":80506,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/80093\/revisions\/80506"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/79709"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=80093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=80093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=80093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}