Find answers from the community

n
namin
Offline, last seen 3 months ago
Joined September 25, 2024
n
namin
·

Embeddings

Hi, how can I create a Property Graph with embeddings directly? If I use the simple recipe here: https://github.com/run-llama/llama_index/blob/main/docs/docs/module_guides/indexing/lpg_index_guide.md?plain=1#L430 I get entities with no embeddings. I tried looking at the code for _insert_nodes in https://github.com/run-llama/llama_index/blob/main/llama-index-core/llama_index/core/indices/property_graph/base.py#L191, and I suppose I could attempt to repliace the embdding section but I was wondering whether there was an expected way to ingest a knowledge graph and have embeddings.
29 comments
n
L