Код: Выделить всё
from llama_index.core import PropertyGraphIndex
index = PropertyGraphIndex(
nodes=nodes,
property_graph_store=GraphRAGStore(),
kg_extractors=[kg_extractor],
show_progress=True,
)
Код: Выделить всё
Extracting paths from text: 100%|██████████| 3/3 [00:36
Подробнее здесь: [url]https://stackoverflow.com/questions/79117370/generating-embeddings-0it-0000-it-s[/url]
Мобильная версия