Hi community, Maybe someone did this, so I need to add full document to context instead of nodes. is it possible with Llamaindex? did ahyone do this? if yes, how...thanks
Tried this but doesn't work:
Create Document Store Create docstore for original documents. Embed each document, and put in docstore. We will refer to this later in our hybrid retrieval algorithm!
from llama_index.core.storage.docstore import SimpleDocumentStore
for doc in docs: embedding = embed_model.get_text_embedding(doc.get_content()) doc.embedding = embedding