node_embedding = embed_model.get_text_embedding(
node.get_content(metadata_mode="all")
) Does this code also embed the metdata in the resulting vector?
I find it a bit weird that they recommend that in the RAG from scratch page. It would skew the vector space towards context irrelevant data. Shouldn’t it be better to embed only what is context relevant?
source_doc for example, in most cases it wouldnt improve the embedding. Ideally one would want to only select the metadata fields that are relvant, not all. I'm building the node content manually because of that