Find answers from the community

Updated 4 months ago

Hey anyone can help me in understanding

At a glance

The post is asking about the difference in creating a Knowledge Graph Index with and without the "include_embeddings" field. The comments explain that including the embeddings can help with retrieval, but if the embeddings are not included, the system will still be able to answer questions using a keyword lookup on the extracted entities. There is no explicitly marked answer in the comments.

Hey anyone can help me in understanding the difference in creating Knowledge Graph Index with and without "include_embeddings" field
index = KnowledgeGraphIndex.from_documents(
documents,
max_triplets_per_chunk=2,
storage_context=storage_context,
)
L
S
4 comments
it will optionally embedt the extracted triples
which can somewhat help with retrieval
Hey @Logan M what happens if I do not do the embeddings, then also we are able to ask questions and get answers
Then it just uses a sort of keyword lookup on the extracted entities vs the user query
Add a reply
Sign up and join the conversation on Discord