vector_store
in the storage context before creating your index, then it will be saved to Qdrantvector_store
object to point to an existing qdrant collection/index, and then you can do thisindex = VectorStoreIndex.from_vector_store(vector_store, service_context=service_context)
response.source_nodes
, I got two nodes as the result. I want to check if the chunk size of each node matches the parameter chunk_size=1024
. How can I do that? Thank you for your time and guidance.from llama_index.utils import GlobalsHelper from llama_index.schema import MetadataMode tokens = GlobalsHelper.tokenizer(response.source_nodes[0].get_content(metadata_mode=MetadataMode.LLM)) print(len(tokens))