Slide 15
Slide 15 text
Property Graph Index でインデックス生成
postgres=# SELECT id, text, name, label, properties FROM public.pg_nodes LIMIT 1;
(中略)
id | 9035ea97-bd3d-449e-a7c6-4905ce223bd2
text | 私が取り組んできたこと
(中略)
| 大学に入る前、学校以外で私が取り組んでいた主なことは、文章を書くこととプログラミングだった。エッセイは書かなかった。
当時、そして今もおそらく初心者の作家が書くべきとされている短編小説を書いていた。私の小説はひどい出来だった。ほとんど筋がなく、感情
の強い登場人物がいるだけで、それが作品に深みを与えているのだと思い込んでいた
(中略)
name |
label | text_chunk
properties | {"doc_id": "4442846b-2d07-41e6-9dab-3cdea250595a", "file_name": "example_ja.txt","file_path":
"/Users/hmatsu47/llama_index_property_graph_test/data/example_ja.txt", "file_size": 44432, "file_type":
"text/plain", "_node_type": "TextNode", "ref_doc_id": "4442846b-2d07-41e6-9dab-3cdea250595a",
"document_id": "4442846b-2d07-41e6-9dab-3cdea250595a",
(中略)
\"metadata_seperator\": \"\\n\", \"text_template\": \"{metadata_str}\\n\\n{content}\", \"class_name\":
\"TextNode\"}", "creation_date": "2025-05-22", "last_modified_date": "2025-05-22"}
15