Find answers from the community

Updated 6 months ago

Can someone help clarify my doubts?

At a glance

The community member has created nodes using splitter.get_nodes_from_documents(documents), but the node embeddings have not yet been generated. They understand that embeddings are created when an index is made, as shown in the code where they create a VectorStoreIndex. The community member is wondering how they can view the embeddings, and why in Qdrant the 'embedding' field shows 'null'.

Another community member responds that the embeddings are indeed created during indexing, and that the embeddings are shown at the bottom of the point in Qdrant, not on the nodes themselves.

Can someone help clarify my doubts?

After creating nodes:
Plain Text
nodes = splitter.get_nodes_from_documents(documents)


At this stage, node embeddings have not yet been generated.

Embeddings are created when we make an index. Right?

Plain Text
vector_store = QdrantVectorStore(client=QDRANT_CLIENT, collection_name=collection_name)
storage_context = StorageContext.from_defaults(vector_store=vector_store)
index = VectorStoreIndex(
    nodes,
    storage_context=storage_context,
    insert_batch_size=10,
    embed_model = embed_model,
)


So how can we view our embeddings? Also, in Qdrant, it shows 'embedding:null'. Why is that?
Attachment
image.png
W
U
2 comments
Yes embeddings are created during indexing.
For not showing embedding on the nodes, They show it at the bottom of the point. Check this screenshot below
Attachment
image.png
Thank you so much
Add a reply
Sign up and join the conversation on Discord