{"id":6237,"date":"2025-01-30T14:49:26","date_gmt":"2025-01-30T05:49:26","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=6237"},"modified":"2026-07-31T15:30:43","modified_gmt":"2026-07-31T06:30:43","slug":"pgvector_glossary","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/pgvector_glossary\/","title":{"rendered":"PGVector\u3068\u306f\uff1f2026\u5e74\u6700\u65b0\u7248\uff5cPostgreSQL\u3067\u5b9f\u73fe\u3059\u308bAI\u30fbRAG\u6642\u4ee3\u306e\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3092\u5fb9\u5e95\u89e3\u8aac"},"content":{"rendered":"\n<p>\u751f\u6210AI\u306e\u666e\u53ca\u306b\u3088\u3063\u3066\u3001\u4f01\u696d\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u5358\u306a\u308bSQL\u691c\u7d22\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u300c\u610f\u5473\u300d\u3067\u691c\u7d22\u3059\u308b<strong>Semantic Search\uff08\u610f\u5473\u691c\u7d22\uff09<\/strong>\u304c\u6a19\u6e96\u306b\u306a\u308a\u3064\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5f93\u6765\u306e\u691c\u7d22\u3067\u306f\u3001<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u300c\u58f2\u4e0a\u5206\u6790\u300d<\/p>\n<\/blockquote>\n\n\n\n<p>\u3068\u3044\u3046\u691c\u7d22\u8a9e\u306b\u5bfe\u3057\u3066<\/p>\n\n\n\n<p>\u300c\u8ca9\u58f2\u5206\u6790\u300d<br>\u300c\u55b6\u696d\u30ec\u30dd\u30fc\u30c8\u300d<br>\u300cRevenue Dashboard\u300d<\/p>\n\n\n\n<p>\u306a\u3069\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u306f\u5bb9\u6613\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057Embedding\u3092\u5229\u7528\u3057\u305f\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3067\u306f\u3001<strong>\u610f\u5473\u304c\u8fd1\u3044\u6587\u7ae0<\/strong>\u3092\u691c\u7d22\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3092PostgreSQL\u3060\u3051\u3067\u5b9f\u73fe\u3067\u304d\u308b\u306e\u304c<strong>PGVector\uff08pgvector\uff09<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>2026\u5e74\u73fe\u5728\u3067\u306f\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>RAG<\/li>\n\n\n\n<li>AI Agent<\/li>\n\n\n\n<li>Enterprise Search<\/li>\n\n\n\n<li>\u793e\u5185\u30ca\u30ec\u30c3\u30b8\u691c\u7d22<\/li>\n\n\n\n<li>FAQ<\/li>\n\n\n\n<li>\u985e\u4f3c\u5546\u54c1\u691c\u7d22<\/li>\n\n\n\n<li>\u30ec\u30b3\u30e1\u30f3\u30c9<\/li>\n\n\n\n<li>\u30de\u30eb\u30c1\u30e2\u30fc\u30c0\u30eb\u691c\u7d22<\/li>\n<\/ul>\n\n\n\n<p>\u306a\u3069\u3001\u591a\u304f\u306eAI\u30b7\u30b9\u30c6\u30e0\u3067\u63a1\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8e0f\u307e\u3048\u306a\u304c\u3089PGVector\u306e\u5b9f\u8df5\u7684\u306a\u6d3b\u7528\u65b9\u6cd5\u307e\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2>PGVector\u3068\u306f\uff1f\u00a0<\/h2>\n<p data-start=\"1460\" data-end=\"1507\" class=\"PDq2pG_selectionAnchorContainer\">PGVector\u306f\u3001PostgreSQL\u306b\u30d9\u30af\u30c8\u30eb\u578b\uff08Vector\u578b\uff09\u3092\u8ffd\u52a0\u3059\u308b\u62e1\u5f35\u6a5f\u80fd\u3067\u3059\u3002<span aria-hidden=\"true\" class=\"PDq2pG_selectionAnchor\"><\/span><\/p>\n<p data-start=\"1509\" data-end=\"1528\">Embedding\u3092\u305d\u306e\u307e\u307e\u4fdd\u5b58\u3067\u304d\u3001<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"pointer-events-none absolute end-1.5 top-1 z-2 md:end-2 md:top-1\"><\/div>\n<div class=\"relative\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span>\u6587\u7ae0\n\u2193\n\nEmbedding\n\n\u2193\n\nVector\n\n\u2193\n\n\u985e\u4f3c\u691c\u7d22<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"1579\" data-end=\"1598\">\u3068\u3044\u3046\u6d41\u308c\u3092SQL\u3060\u3051\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p data-start=\"1600\" data-end=\"1604\">\u3064\u307e\u308a\u3001<\/p>\n<p data-start=\"1606\" data-end=\"1649\"><strong data-start=\"1606\" data-end=\"1649\">AI\u5c02\u7528DB\u3092\u65b0\u305f\u306b\u69cb\u7bc9\u3057\u306a\u304f\u3066\u3082PostgreSQL\u3060\u3051\u3067RAG\u57fa\u76e4\u3092\u4f5c\u308c\u308b<\/strong><\/p>\n<p data-start=\"1651\" data-end=\"1662\">\u3053\u3068\u304c\u6700\u5927\u306e\u9b45\u529b\u3067\u3059\u3002<\/p>\n<p><!-- notionvc: 1bd0db02-eaf9-44ef-bda2-cd6a548ac320 --><\/p>\n<h2>\u306a\u305cPGVector\u304c\u3053\u3053\u307e\u3067\u666e\u53ca\u3057\u305f\u306e\u304b<\/h2>\n<p data-start=\"1694\" data-end=\"1704\" class=\"PDq2pG_selectionAnchorContainer\">2023\u5e74\u9803\u307e\u3067\u306f\u3001<span aria-hidden=\"true\" class=\"PDq2pG_selectionAnchor\"><\/span><\/p>\n<ul data-start=\"1706\" data-end=\"1745\">\n<li data-section-id=\"16jr54t\" data-start=\"1706\" data-end=\"1716\">Pinecone<\/li>\n<li data-section-id=\"1tq1how\" data-start=\"1717\" data-end=\"1725\">Milvus<\/li>\n<li data-section-id=\"15bg1f8\" data-start=\"1726\" data-end=\"1736\">Weaviate<\/li>\n<li data-section-id=\"7os2d0\" data-start=\"1737\" data-end=\"1745\">Qdrant<\/li>\n<\/ul>\n<p data-start=\"1747\" data-end=\"1776\">\u306a\u3069\u5c02\u7528Vector DB\u3092\u63a1\u7528\u3059\u308b\u30b1\u30fc\u30b9\u304c\u4e00\u822c\u7684\u3067\u3057\u305f\u3002<\/p>\n<p data-start=\"1778\" data-end=\"1807\">\u3057\u304b\u30572025\u301c2026\u5e74\u306b\u306a\u308b\u3068\u72b6\u6cc1\u306f\u5927\u304d\u304f\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p data-start=\"1809\" data-end=\"1813\">\u4f01\u696d\u3067\u306f<\/p>\n<ul data-start=\"1815\" data-end=\"1869\">\n<li data-section-id=\"xtfc3b\" data-start=\"1815\" data-end=\"1834\">PostgreSQL\u304c\u65e2\u306b\u5c0e\u5165\u6e08\u307f<\/li>\n<li data-section-id=\"c2uw94\" data-start=\"1835\" data-end=\"1845\">SQL\u8cc7\u7523\u304c\u8c4a\u5bcc<\/li>\n<li data-section-id=\"ovtm5m\" data-start=\"1846\" data-end=\"1856\">\u904b\u7528\u30c1\u30fc\u30e0\u304c\u5b58\u5728<\/li>\n<li data-section-id=\"x7g80m\" data-start=\"1857\" data-end=\"1869\">\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u904b\u7528\u6e08\u307f<\/li>\n<\/ul>\n<p data-start=\"1871\" data-end=\"1879\">\u3068\u3044\u3046\u7406\u7531\u304b\u3089\u3001<\/p>\n<p data-start=\"1881\" data-end=\"1901\"><strong data-start=\"1881\" data-end=\"1901\">&#8220;\u307e\u305aPGVector\u3067\u59cb\u3081\u308b&#8221;<\/strong><\/p>\n<p data-start=\"1903\" data-end=\"1918\">\u3068\u3044\u3046\u30b1\u30fc\u30b9\u304c\u6025\u5897\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p data-start=\"1920\" data-end=\"1929\">RAG\u30b7\u30b9\u30c6\u30e0\u3067\u3082<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"pointer-events-none absolute end-1.5 top-1 z-2 md:end-2 md:top-1\"><\/div>\n<div class=\"relative\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span>PostgreSQL\n\n\uff0b\n\npgvector\n\n\uff0b\n\nOpenAI Embeddings\n\n\uff0b\n\nLLM<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"1994\" data-end=\"2014\">\u3068\u3044\u3046\u69cb\u6210\u304c\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!-- notionvc: f90539d4-6042-45e1-bba5-a818371976df --><\/p>\n<h1 data-section-id=\"17xqzby\" data-start=\"2021\" data-end=\"2035\" class=\"PDq2pG_selectionAnchorContainer\">2026\u5e74\u73fe\u5728\u306e\u6700\u65b0\u6a5f\u80fd<span aria-hidden=\"true\" class=\"PDq2pG_selectionAnchor\"><\/span><\/h1>\n<p data-start=\"2037\" data-end=\"2057\">\u6700\u65b0\u7248\u3067\u306f\u6a5f\u80fd\u304c\u5927\u5e45\u306b\u5f37\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3 data-section-id=\"1r3lkca\" data-start=\"2059\" data-end=\"2070\">HNSW\u304c\u4e3b\u6d41\u306b<\/h3>\n<p data-start=\"2072\" data-end=\"2089\">\u4ee5\u524d\u306fIVFFlat\u304c\u4e2d\u5fc3\u3067\u3057\u305f\u304c\u3001\u73fe\u5728\u306f<strong data-start=\"2096\" data-end=\"2140\">HNSW\uff08Hierarchical Navigable Small World\uff09<\/strong>\u304c\u30c7\u30d5\u30a1\u30af\u30c8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p data-start=\"2158\" data-end=\"2161\">\u7406\u7531\u306f<\/p>\n<ul data-start=\"2163\" data-end=\"2198\">\n<li data-section-id=\"yi4lf3\" data-start=\"2163\" data-end=\"2167\">\u9ad8\u901f<\/li>\n<li data-section-id=\"24uey0\" data-start=\"2168\" data-end=\"2173\">\u9ad8\u7cbe\u5ea6<\/li>\n<li data-section-id=\"e2tpl9\" data-start=\"2174\" data-end=\"2185\">Recall\u304c\u9ad8\u3044<\/li>\n<li data-section-id=\"1v5qaie\" data-start=\"2186\" data-end=\"2198\">\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3057\u3084\u3059\u3044<\/li>\n<\/ul>\n<p data-start=\"2200\" data-end=\"2205\">\u305f\u3081\u3067\u3059\u3002<\/p>\n<p data-start=\"2207\" data-end=\"2238\">\u7279\u306b\u6570\u767e\u4e07\u4ef6\u4ee5\u4e0a\u3067\u306fHNSW\u304c\u9078\u629e\u3055\u308c\u308b\u30b1\u30fc\u30b9\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3 data-section-id=\"1ajn8al\" data-start=\"2245\" data-end=\"2261\">Half Vector\u5bfe\u5fdc<\/h3>\n<p data-start=\"2263\" data-end=\"2279\">\u8fd1\u5e74\u306eEmbedding\u30e2\u30c7\u30eb\u306f<\/p>\n<ul data-start=\"2281\" data-end=\"2307\">\n<li data-section-id=\"dmc3rh\" data-start=\"2281\" data-end=\"2289\">1024\u6b21\u5143<\/li>\n<li data-section-id=\"dqijor\" data-start=\"2290\" data-end=\"2298\">1536\u6b21\u5143<\/li>\n<li data-section-id=\"exo4fg\" data-start=\"2299\" data-end=\"2307\">3072\u6b21\u5143<\/li>\n<\/ul>\n<p data-start=\"2309\" data-end=\"2320\">\u306a\u3069\u5de8\u5927\u5316\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p data-start=\"2322\" data-end=\"2353\">\u6700\u65b0\u7248\u3067\u306fHalf Precision\u306b\u3088\u308b\u4fdd\u5b58\u3082\u53ef\u80fd\u306b\u306a\u308a\u3001<\/p>\n<ul data-start=\"2355\" data-end=\"2384\">\n<li data-section-id=\"17lnv4w\" data-start=\"2355\" data-end=\"2364\">\u30b9\u30c8\u30ec\u30fc\u30b8\u524a\u6e1b<\/li>\n<li data-section-id=\"1rq0y4y\" data-start=\"2365\" data-end=\"2376\">\u30ad\u30e3\u30c3\u30b7\u30e5\u52b9\u7387\u5411\u4e0a<\/li>\n<li data-section-id=\"mdeqxz\" data-start=\"2377\" data-end=\"2384\">\u691c\u7d22\u9ad8\u901f\u5316<\/li>\n<\/ul>\n<p data-start=\"2386\" data-end=\"2394\">\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3 data-section-id=\"17n6v3v\" data-start=\"2401\" data-end=\"2423\">Binary Quantization<\/h3>\n<p data-start=\"2425\" data-end=\"2444\">Embedding\u3092\u91cf\u5b50\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u524a\u6e1b\u3067\u304d\u307e\u3059\u3002\u5927\u898f\u6a21RAG\u3067\u306f\u975e\u5e38\u306b\u91cd\u8981\u306a\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<h3 data-section-id=\"1ul8q7s\" data-start=\"2488\" data-end=\"2506\">Sparse Vector\u5bfe\u5fdc<\/h3>\n<p data-start=\"2508\" data-end=\"2529\">\u5f93\u6765\u306fDense Vector\u306e\u307f\u3067\u3057\u305f\u304c\u3001\u73fe\u5728\u3067\u306fSparse Embedding\u306b\u3082\u5bfe\u5fdc\u3057\u3001BM25\u3068\u306e\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u304c\u5bb9\u6613\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2 data-section-id=\"1baweha\" data-start=\"2591\" data-end=\"2611\">\u6700\u65b0Embedding\u30e2\u30c7\u30eb\u3068\u306e\u76f8\u6027<\/h2>\n<p data-start=\"2613\" data-end=\"2647\">2026\u5e74\u73fe\u5728\u3001\u5229\u7528\u3055\u308c\u308bEmbedding\u30e2\u30c7\u30eb\u3082\u9032\u5316\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p data-start=\"2649\" data-end=\"2661\">\u4ee3\u8868\u4f8b\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul data-start=\"2663\" data-end=\"2819\">\n<li data-section-id=\"1772tj\" data-start=\"2663\" data-end=\"2694\">OpenAI text-embedding-3-small<\/li>\n<li data-section-id=\"1cdw2t\" data-start=\"2695\" data-end=\"2726\">OpenAI text-embedding-3-large<\/li>\n<li data-section-id=\"165bbhi\" data-start=\"2727\" data-end=\"2745\">Gemini Embedding<\/li>\n<li data-section-id=\"mylacj\" data-start=\"2746\" data-end=\"2757\">Voyage AI<\/li>\n<li data-section-id=\"1yoxyj9\" data-start=\"2758\" data-end=\"2772\">Cohere Embed<\/li>\n<li data-section-id=\"b1yjsz\" data-start=\"2773\" data-end=\"2783\">BAAI BGE<\/li>\n<li data-section-id=\"131xnu3\" data-start=\"2784\" data-end=\"2801\">NVIDIA NV-Embed<\/li>\n<li data-section-id=\"lalfg8\" data-start=\"2802\" data-end=\"2819\">Jina Embeddings<\/li>\n<\/ul>\n<p data-start=\"2821\" data-end=\"2860\">\u9ad8\u6027\u80fd\u306aEmbedding\u30e2\u30c7\u30eb\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u691c\u7d22\u7cbe\u5ea6\u304c\u5927\u304d\u304f\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<h2 data-section-id=\"qm5h7k\" data-start=\"2867\" data-end=\"2875\">\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"relative h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"pointer-events-none absolute inset-x-4 top-12 bottom-4\">\n<div class=\"pointer-events-none sticky z-40 shrink-0 z-1!\">\n<div class=\"sticky bg-token-border-light\"><\/div>\n<\/div>\n<\/div>\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span class=\"\u037cg\">CREATE<\/span><span> EXTENSION vector;<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"2914\" data-end=\"2920\">\u30c6\u30fc\u30d6\u30eb\u4f5c\u6210<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"relative h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"pointer-events-none absolute inset-x-4 top-12 bottom-4\">\n<div class=\"pointer-events-none sticky z-40 shrink-0 z-1!\">\n<div class=\"sticky bg-token-border-light\"><\/div>\n<\/div>\n<\/div>\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span class=\"\u037cg\">CREATE<\/span><span> <\/span><span class=\"\u037cg\">TABLE<\/span><span> documents (\n\n id BIGSERIAL <\/span><span class=\"\u037cg\">PRIMARY<\/span><span> <\/span><span class=\"\u037cg\">KEY<\/span><span>,\n\n content TEXT,\n\n embedding vector(<\/span><span class=\"\u037cj\">1536<\/span><span>)\n\n);<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3032\" data-end=\"3076\">\u73fe\u5728\u3067\u306f1536\u6b21\u5143\u30843072\u6b21\u5143Embedding\u3092\u5229\u7528\u3059\u308b\u30b1\u30fc\u30b9\u3082\u73cd\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2 data-section-id=\"1uev1kx\" data-start=\"3083\" data-end=\"3095\">HNSW\u30a4\u30f3\u30c7\u30c3\u30af\u30b9<\/h2>\n<p data-start=\"3097\" data-end=\"3113\">\u73fe\u5728\u306f\u3053\u3061\u3089\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"relative h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"pointer-events-none absolute inset-x-4 top-12 bottom-4\">\n<div class=\"pointer-events-none sticky z-40 shrink-0 z-1!\">\n<div class=\"sticky bg-token-border-light\"><\/div>\n<\/div>\n<\/div>\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span class=\"\u037cg\">CREATE<\/span><span> INDEX\n\n<\/span><span class=\"\u037cg\">ON<\/span><span> documents\n\n<\/span><span class=\"\u037cg\">USING<\/span><span> hnsw\n\n(embedding vector_cosine_ops);<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3198\" data-end=\"3200\">\u691c\u7d22<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"relative h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span class=\"\u037cg\">SELECT<\/span><span> <\/span><span class=\"\u037cg\">*<\/span><span>\n\n<\/span><span class=\"\u037cg\">FROM<\/span><span> documents\n\n<\/span><span class=\"\u037cg\">ORDER<\/span><span> <\/span><span class=\"\u037cg\">BY<\/span><span> embedding <\/span><span class=\"\u037cg\">&lt;=&gt;<\/span><span> $<\/span><span class=\"\u037cj\">1<\/span><span>\n\n<\/span><span class=\"\u037cg\">LIMIT<\/span><span> <\/span><span class=\"\u037cj\">10<\/span><span>;<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3277\" data-end=\"3295\">\u30b3\u30b5\u30a4\u30f3\u8ddd\u96e2\u306b\u3088\u308b\u691c\u7d22\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n<h2 data-section-id=\"it2bk8\" data-start=\"3302\" data-end=\"3311\">RAG\u3067\u306e\u6d3b\u7528<\/h2>\n<p data-start=\"3313\" data-end=\"3336\">\u73fe\u5728\u306ePGVector\u6700\u5927\u306e\u7528\u9014\u306fRAG\u3067\u3059\u3002<\/p>\n<p data-start=\"3338\" data-end=\"3351\">\u6d41\u308c\u306f\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"pointer-events-none absolute end-1.5 top-1 z-2 md:end-2 md:top-1\"><\/div>\n<div class=\"relative\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span>PDF\n\n\u2193\n\nChunking\n\n\u2193\n\nEmbedding\u751f\u6210\n\n\u2193\n\nPGVector\u4fdd\u5b58\n\n\u2193\n\n\u985e\u4f3c\u691c\u7d22\n\n\u2193\n\nLLM\u3078\u6e21\u3059\n\n\u2193\n\n\u56de\u7b54\u751f\u6210<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3439\" data-end=\"3443\">\u4f01\u696d\u3067\u306f<\/p>\n<ul data-start=\"3445\" data-end=\"3506\">\n<li data-section-id=\"1kd2hx3\" data-start=\"3445\" data-end=\"3451\">\u793e\u5185\u898f\u7a0b<\/li>\n<li data-section-id=\"1ulflx\" data-start=\"3452\" data-end=\"3457\">\u5951\u7d04\u66f8<\/li>\n<li data-section-id=\"5h8s8h\" data-start=\"3458\" data-end=\"3465\">\u30de\u30cb\u30e5\u30a2\u30eb<\/li>\n<li data-section-id=\"1o4jha\" data-start=\"3466\" data-end=\"3471\">FAQ<\/li>\n<li data-section-id=\"q8k69k\" data-start=\"3472\" data-end=\"3484\">Confluence<\/li>\n<li data-section-id=\"ek1961\" data-start=\"3485\" data-end=\"3497\">SharePoint<\/li>\n<li data-section-id=\"1xdrp7x\" data-start=\"3498\" data-end=\"3506\">GitHub<\/li>\n<\/ul>\n<p data-start=\"3508\" data-end=\"3531\">\u306a\u3069\u3092Embedding\u5316\u3057\u3066\u691c\u7d22\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2 data-section-id=\"1f4erfs\" data-start=\"3538\" data-end=\"3552\">AI Agent\u3068\u306e\u9023\u643a<\/h2>\n<p data-start=\"3554\" data-end=\"3569\">2026\u5e74\u306fRAG\u3060\u3051\u3067\u306a\u304f\u3001AI Agent\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u6025\u901f\u306b\u666e\u53ca\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p data-start=\"3600\" data-end=\"3603\">\u4f8b\u3048\u3070\u55b6\u696d\u652f\u63f4Agent\u306a\u3089<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"pointer-events-none absolute end-1.5 top-1 z-2 md:end-2 md:top-1\"><\/div>\n<div class=\"relative\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span>\u8cea\u554f\n\n\u2193\n\nPGVector\u691c\u7d22\n\n\u2193\n\nCRM\u691c\u7d22\n\n\u2193\n\n\u58f2\u4e0aDB\u691c\u7d22\n\n\u2193\n\nLLM\u63a8\u8ad6\n\n\u2193\n\n\u56de\u7b54<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3683\" data-end=\"3694\">\u3068\u3044\u3046\u6d41\u308c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p data-start=\"3696\" data-end=\"3742\">AI Agent\u306f\u8a18\u61b6\uff08Memory\uff09\u3068\u3057\u3066PGVector\u3092\u5229\u7528\u3059\u308b\u30b1\u30fc\u30b9\u3082\u5897\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2 data-section-id=\"13dgfpw\" data-start=\"3749\" data-end=\"3775\">PostgreSQL\u5168\u6587\u691c\u7d22\u3068\u306e\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22<\/h2>\n<p data-start=\"3777\" data-end=\"3785\">2026\u5e74\u73fe\u5728\u3001\u6700\u3082\u7cbe\u5ea6\u304c\u9ad8\u3044\u69cb\u6210\u306f<strong data-start=\"3799\" data-end=\"3816\">Hybrid Search<\/strong>\u3067\u3059\u3002<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"pointer-events-none absolute end-1.5 top-1 z-2 md:end-2 md:top-1\"><\/div>\n<div class=\"relative\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span>\u5168\u6587\u691c\u7d22(BM25)\n\n\uff0b\n\nVector Search\n\n\u2193\n\nRRF\n\n\u2193\n\nLLM<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3877\" data-end=\"3900\">\u30ad\u30fc\u30ef\u30fc\u30c9\u691c\u7d22\u3068\u610f\u5473\u691c\u7d22\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u691c\u7d22\u6f0f\u308c\u3092\u5927\u5e45\u306b\u6e1b\u3089\u305b\u307e\u3059\u3002<\/p>\n<p data-start=\"3918\" data-end=\"3953\">\u4f01\u696d\u5411\u3051\u691c\u7d22\u3067\u306f\u3001\u3053\u306e\u69cb\u6210\u304c\u30c7\u30d5\u30a1\u30af\u30c8\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u306b\u306a\u308a\u3064\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2 data-section-id=\"1sbqogy\" data-start=\"3960\" data-end=\"3977\">\u5c02\u7528Vector DB\u3068\u306e\u6bd4\u8f03<\/h2>\n<div class=\"TyagGW_tableContainer\">\n<div class=\"group TyagGW_tableWrapper flex flex-col-reverse w-fit\" tabindex=\"-1\">\n<table data-start=\"3979\" data-end=\"4163\" class=\"w-fit min-w-(--thread-content-width)\">\n<thead data-start=\"3979\" data-end=\"4004\">\n<tr data-start=\"3979\" data-end=\"4004\">\n<th data-start=\"3979\" data-end=\"3982\" data-col-size=\"sm\" class=\"last:pe-10\">\u9805\u76ee<\/th>\n<th data-start=\"3982\" data-end=\"3991\" data-col-size=\"sm\" class=\"last:pe-10\">PGVector<\/th>\n<th data-start=\"3991\" data-end=\"4004\" data-col-size=\"sm\" class=\"last:pe-10\">\u5c02\u7528Vector DB<\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"4041\" data-end=\"4163\">\n<tr data-start=\"4041\" data-end=\"4058\">\n<td data-start=\"4041\" data-end=\"4047\" data-col-size=\"sm\">\u5c0e\u5165\u5bb9\u6613\u6027<\/td>\n<td data-start=\"4047\" data-end=\"4053\" data-col-size=\"sm\">\u2605\u2605\u2605\u2605\u2605<\/td>\n<td data-col-size=\"sm\" data-start=\"4053\" data-end=\"4058\">\u2605\u2605\u2605<\/td>\n<\/tr>\n<tr data-start=\"4059\" data-end=\"4074\">\n<td data-start=\"4059\" data-end=\"4065\" data-col-size=\"sm\">SQL\u5229\u7528<\/td>\n<td data-col-size=\"sm\" data-start=\"4065\" data-end=\"4071\">\u2605\u2605\u2605\u2605\u2605<\/td>\n<td data-col-size=\"sm\" data-start=\"4071\" data-end=\"4074\">\u2605<\/td>\n<\/tr>\n<tr data-start=\"4075\" data-end=\"4094\">\n<td data-start=\"4075\" data-end=\"4084\" data-col-size=\"sm\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/td>\n<td data-col-size=\"sm\" data-start=\"4084\" data-end=\"4090\">\u2605\u2605\u2605\u2605\u2605<\/td>\n<td data-col-size=\"sm\" data-start=\"4090\" data-end=\"4094\">\u2605\u2605<\/td>\n<\/tr>\n<tr data-start=\"4095\" data-end=\"4110\">\n<td data-start=\"4095\" data-end=\"4101\" data-col-size=\"sm\">RDB\u7d71\u5408<\/td>\n<td data-col-size=\"sm\" data-start=\"4101\" data-end=\"4107\">\u2605\u2605\u2605\u2605\u2605<\/td>\n<td data-col-size=\"sm\" data-start=\"4107\" data-end=\"4110\">\u2605<\/td>\n<\/tr>\n<tr data-start=\"4111\" data-end=\"4128\">\n<td data-start=\"4111\" data-end=\"4117\" data-col-size=\"sm\">\u6570\u5104\u4ef6\u4ee5\u4e0a<\/td>\n<td data-start=\"4117\" data-end=\"4121\" data-col-size=\"sm\">\u2605\u2605\u2605<\/td>\n<td data-start=\"4121\" data-end=\"4128\" data-col-size=\"sm\">\u2605\u2605\u2605\u2605\u2605<\/td>\n<\/tr>\n<tr data-start=\"4129\" data-end=\"4146\">\n<td data-start=\"4129\" data-end=\"4136\" data-col-size=\"sm\">GPU\u6700\u9069\u5316<\/td>\n<td data-col-size=\"sm\" data-start=\"4136\" data-end=\"4139\">\u2605\u2605<\/td>\n<td data-col-size=\"sm\" data-start=\"4139\" data-end=\"4146\">\u2605\u2605\u2605\u2605\u2605<\/td>\n<\/tr>\n<tr data-start=\"4147\" data-end=\"4163\">\n<td data-start=\"4147\" data-end=\"4152\" data-col-size=\"sm\">\u5206\u6563\u6027\u80fd<\/td>\n<td data-col-size=\"sm\" data-start=\"4152\" data-end=\"4156\">\u2605\u2605\u2605<\/td>\n<td data-col-size=\"sm\" data-start=\"4156\" data-end=\"4163\">\u2605\u2605\u2605\u2605\u2605<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p data-start=\"4165\" data-end=\"4169\">\u8fd1\u5e74\u306f\u3001<strong data-start=\"4171\" data-end=\"4201\">100\u4e07\u301c\u6570\u5343\u4e07\u4ef6\u7a0b\u5ea6\u307e\u3067\u306a\u3089PGVector\u3067\u5341\u5206<\/strong>\u3068\u3044\u3046\u8a55\u4fa1\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p data-start=\"4218\" data-end=\"4221\">\u4e00\u65b9\u3001\u6570\u5104\u301c\u6570\u5341\u5104\u30d9\u30af\u30c8\u30eb\u898f\u6a21\u3067\u306f\u5c02\u7528Vector DB\u304c\u4f9d\u7136\u3068\u3057\u3066\u512a\u4f4d\u3067\u3059\u3002<\/p>\n<h2 data-section-id=\"233sek\" data-start=\"4266\" data-end=\"4281\">\u904b\u7528\u6642\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h2>\n<h3 data-section-id=\"17lw9mc\" data-start=\"4283\" data-end=\"4305\">Embedding\u30e2\u30c7\u30eb\u306f\u6df7\u5728\u3055\u305b\u306a\u3044<\/h3>\n<p data-start=\"4307\" data-end=\"4337\">Embedding\u30e2\u30c7\u30eb\u304c\u5909\u308f\u308b\u3068\u30d9\u30af\u30c8\u30eb\u7a7a\u9593\u3082\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p data-start=\"4339\" data-end=\"4346\">\u30e2\u30c7\u30eb\u66f4\u65b0\u6642\u306f<\/p>\n<ul data-start=\"4348\" data-end=\"4377\">\n<li data-section-id=\"1d0mqza\" data-start=\"4348\" data-end=\"4356\">\u65b0\u30ab\u30e9\u30e0\u4f5c\u6210<\/li>\n<li data-section-id=\"19uy096\" data-start=\"4357\" data-end=\"4369\">\u518dEmbedding<\/li>\n<li data-section-id=\"j6o1j4\" data-start=\"4370\" data-end=\"4377\">\u6bb5\u968e\u7684\u79fb\u884c<\/li>\n<\/ul>\n<p data-start=\"4379\" data-end=\"4387\">\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3 data-section-id=\"1yl9ma2\" data-start=\"4394\" data-end=\"4411\">Chunk\u30b5\u30a4\u30ba\u3092\u6700\u9069\u5316\u3059\u308b<\/h3>\n<p data-start=\"4413\" data-end=\"4418\">RAG\u3067\u306fChunk\u30b5\u30a4\u30ba\u304c\u691c\u7d22\u7cbe\u5ea6\u3092\u5de6\u53f3\u3057\u307e\u3059\u3002<\/p>\n<p data-start=\"4442\" data-end=\"4447\">\u4e00\u822c\u7684\u306b\u306f<\/p>\n<ul data-start=\"4449\" data-end=\"4484\">\n<li data-section-id=\"rcyu9l\" data-start=\"4449\" data-end=\"4462\">300\u301c600\u30c8\u30fc\u30af\u30f3<\/li>\n<li data-section-id=\"ephhen\" data-start=\"4463\" data-end=\"4484\">20\u301c50\u30c8\u30fc\u30af\u30f3\u7a0b\u5ea6\u306e\u30aa\u30fc\u30d0\u30fc\u30e9\u30c3\u30d7<\/li>\n<\/ul>\n<p data-start=\"4486\" data-end=\"4529\">\u304b\u3089\u691c\u8a3c\u3092\u59cb\u3081\u308b\u30b1\u30fc\u30b9\u304c\u591a\u304f\u3001\u30c9\u30e1\u30a4\u30f3\u3084\u5229\u7528\u3059\u308bLLM\u306b\u5fdc\u3058\u3066\u8abf\u6574\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h3 data-section-id=\"14gpyeq\" data-start=\"4536\" data-end=\"4551\">\u30e1\u30bf\u30c7\u30fc\u30bf\u691c\u7d22\u3092\u6d3b\u7528\u3059\u308b<\/h3>\n<p data-start=\"4553\" data-end=\"4565\">\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3060\u3051\u3067\u306a\u304f\u3001<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"contents\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"relative h-full w-full border-radius-3xl bg-(--code-block-surface) corner-superellipse\/1.1 overflow-clip rounded-3xl [--code-block-surface:var(--bg-elevated-secondary)] dark:[--code-block-surface:var(--composer-surface-primary)] lxnfua_clipPathFallback\">\n<div class=\"pointer-events-none absolute inset-x-4 top-12 bottom-4\">\n<div class=\"pointer-events-none sticky z-40 shrink-0 z-1!\">\n<div class=\"sticky bg-token-border-light\"><\/div>\n<\/div>\n<\/div>\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" dir=\"ltr\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037cd \u037cr\">\n<div class=\"cm-scroller\">\n<pre class=\"cm-content q9tKkq_readonly m-0\"><code><span class=\"\u037cg\">WHERE<\/span><span>\n\ndepartment<\/span><span class=\"\u037cg\">=<\/span><span class=\"\u037ck\">'\u55b6\u696d'<\/span><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"4602\" data-end=\"4619\">\u306e\u3088\u3046\u306a\u6761\u4ef6\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u691c\u7d22\u7cbe\u5ea6\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p data-start=\"4638\" data-end=\"4658\">\u3053\u308c\u306f\u4f01\u696d\u5411\u3051RAG\u3067\u306f\u5fc5\u9808\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<h2 data-section-id=\"ppozfk\" data-start=\"4665\" data-end=\"4672\">\u4eca\u5f8c\u306e\u5c55\u671b<\/h2>\n<p data-start=\"4674\" data-end=\"4692\">\u4eca\u5f8c\u306fPGVector\u5358\u4f53\u3067\u306f\u306a\u304f\u3001<\/p>\n<ul data-start=\"4694\" data-end=\"4790\">\n<li data-section-id=\"7y3as9\" data-start=\"4694\" data-end=\"4704\">AI Agent<\/li>\n<li data-section-id=\"1rjzchd\" data-start=\"4705\" data-end=\"4734\">MCP\uff08Model Context Protocol\uff09<\/li>\n<li data-section-id=\"1bz31of\" data-start=\"4735\" data-end=\"4751\">PostgreSQL\u5168\u6587\u691c\u7d22<\/li>\n<li data-section-id=\"93d8r4\" data-start=\"4752\" data-end=\"4762\">GraphRAG<\/li>\n<li data-section-id=\"6cj6lz\" data-start=\"4763\" data-end=\"4774\">\u30de\u30eb\u30c1\u30e2\u30fc\u30c0\u30eb\u691c\u7d22<\/li>\n<li data-section-id=\"19evuh7\" data-start=\"4775\" data-end=\"4790\">\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0<\/li>\n<\/ul>\n<p data-start=\"4792\" data-end=\"4810\">\u3068\u306e\u9023\u643a\u304c\u3055\u3089\u306b\u9032\u3080\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<p data-start=\"4812\" data-end=\"4944\">\u307e\u305f\u3001PostgreSQL\u672c\u4f53\u306e\u9032\u5316\u3084\u5468\u8fba\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306e\u5145\u5b9f\u306b\u4f34\u3044\u3001\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u30fb\u534a\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u30fb\u30d9\u30af\u30c8\u30eb\u30c7\u30fc\u30bf\u3092\u5358\u4e00\u57fa\u76e4\u3067\u6271\u3046\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u304c\u4e00\u822c\u5316\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002PGVector\u306f\u3001\u305d\u306e\u4e2d\u6838\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u3057\u3066\u4f01\u696d\u30b7\u30b9\u30c6\u30e0\u3078\u306e\u63a1\u7528\u304c\u3055\u3089\u306b\u5e83\u304c\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2 data-section-id=\"1end81\" data-start=\"4951\" data-end=\"4956\">\u307e\u3068\u3081<\/h2>\n<p data-start=\"4958\" data-end=\"5062\">PGVector\u306f\u3001PostgreSQL\u306b\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u306e\u62e1\u5f35\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u30022026\u5e74\u73fe\u5728\u3067\u306f\u3001<strong data-start=\"5015\" data-end=\"5052\">RAG\u30fbAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30fb\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u691c\u7d22\u3092\u652f\u3048\u308b\u91cd\u8981\u306a\u57fa\u76e4\u6280\u8853<\/strong>\u3078\u3068\u9032\u5316\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p data-start=\"5064\" data-end=\"5079\">\u4e3b\u306a\u30dd\u30a4\u30f3\u30c8\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul data-start=\"5081\" data-end=\"5324\">\n<li data-section-id=\"1a20rkl\" data-start=\"5081\" data-end=\"5117\">PostgreSQL\u3060\u3051\u3067\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3068\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u4e00\u5143\u7ba1\u7406\u3067\u304d\u308b<\/li>\n<li data-section-id=\"11ljcix\" data-start=\"5118\" data-end=\"5148\">HNSW\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u9ad8\u901f\u304b\u3064\u9ad8\u7cbe\u5ea6\u306a\u985e\u4f3c\u691c\u7d22\u3092\u5b9f\u73fe<\/li>\n<li data-section-id=\"gtt69s\" data-start=\"5149\" data-end=\"5200\">OpenAI\u3001Gemini\u3001Voyage AI\u306a\u3069\u6700\u65b0\u306eEmbedding\u30e2\u30c7\u30eb\u3068\u9ad8\u3044\u89aa\u548c\u6027\u3092\u6301\u3064<\/li>\n<li data-section-id=\"1gt8p1d\" data-start=\"5201\" data-end=\"5241\">PostgreSQL\u5168\u6587\u691c\u7d22\u3068\u306e\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u304c\u5b9f\u904b\u7528\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/li>\n<li data-section-id=\"1x6maqn\" data-start=\"5242\" data-end=\"5279\">100\u4e07\u301c\u6570\u5343\u4e07\u4ef6\u898f\u6a21\u306eRAG\u3084AI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u5341\u5206\u306a\u6027\u80fd\u3092\u767a\u63ee<\/li>\n<li data-section-id=\"msr3rv\" data-start=\"5280\" data-end=\"5324\">AI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3084MCP\u3068\u306e\u9023\u643a\u306b\u3088\u308a\u3001\u4f01\u696d\u5411\u3051AI\u57fa\u76e4\u3068\u3057\u3066\u306e\u91cd\u8981\u6027\u304c\u9ad8\u307e\u3063\u3066\u3044\u308b<\/li>\n<\/ul>\n<p data-start=\"5326\" data-end=\"5489\">2026\u5e74\u306f\u300c<strong data-start=\"5333\" data-end=\"5366\">\u5c02\u7528\u30d9\u30af\u30c8\u30ebDB\u3092\u5c0e\u5165\u3059\u308b\u304b\u3001PGVector\u3092\u63a1\u7528\u3059\u308b\u304b<\/strong>\u300d\u3067\u306f\u306a\u304f\u3001\u300c<strong data-start=\"5373\" data-end=\"5397\">\u30c7\u30fc\u30bf\u898f\u6a21\u3084\u8981\u4ef6\u306b\u5fdc\u3058\u3066\u6700\u9069\u306a\u69cb\u6210\u3092\u9078\u3076<\/strong>\u300d\u6642\u4ee3\u3067\u3059\u3002\u65e2\u5b58\u306ePostgreSQL\u8cc7\u7523\u3092\u6d3b\u304b\u3057\u306a\u304c\u3089AI\u6a5f\u80fd\u3092\u6bb5\u968e\u7684\u306b\u5c0e\u5165\u3057\u305f\u3044\u4f01\u696d\u306b\u3068\u3063\u3066\u3001PGVector\u306f\u30b3\u30b9\u30c8\u30fb\u904b\u7528\u6027\u30fb\u62e1\u5f35\u6027\u306e\u30d0\u30e9\u30f3\u30b9\u306b\u512a\u308c\u305f\u6709\u529b\u306a\u9078\u629e\u80a2\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!-- notionvc: c44d0026-d8d6-4930-b3fd-75a5ae10094a --><\/p>","protected":false},"excerpt":{"rendered":"<p>\u751f\u6210AI\u306e\u666e\u53ca\u306b\u3088\u3063\u3066\u3001\u4f01\u696d\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u5358\u306a\u308bSQL\u691c\u7d22\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u300c\u610f\u5473\u300d\u3067\u691c\u7d22\u3059\u308bSemantic Search\uff08\u610f\u5473\u691c\u7d22\uff09\u304c\u6a19\u6e96\u306b\u306a\u308a\u3064\u3064\u3042\u308a\u307e\u3059\u3002 \u5f93\u6765\u306e\u691c\u7d22\u3067\u306f\u3001 \u300c\u58f2\u4e0a\u5206\u6790\u300d \u3068\u3044\u3046\u691c\u7d22\u8a9e\u306b\u5bfe\u3057\u3066 \u300c\u8ca9\u58f2\u5206 [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":6220,"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":[604,148,473],"class_list":["post-6237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-postgresql","tag-sql","tag-473"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/6237","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\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=6237"}],"version-history":[{"count":1,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/6237\/revisions"}],"predecessor-version":[{"id":9306,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/6237\/revisions\/9306"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/6220"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=6237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=6237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=6237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}