I am following this graph rag tutorial using Neo4j, and have question to the Neo4jVector's API:
https://api.python.langchain.com/en/latest/vectorstores/langchain_community.vectorstores.neo4j_vector.Neo4jVector.html
when creating a vector index:
vector_index = Neo4jVector.from_existing_graph(
embedding,
url=uri,
username=user,
password=password,
index_name='vectorIndex',
node_label="Product",
text_node_properties=['name', 'description'],
embedding_node_property='embedding',
)
And after creating the index, to load the index:
vector_index = Neo4jVector.from_existing_index(
embedding,
url=uri,
username=user,
password=password,
index_name='vectorIndex',
text_node_property = 'name'
)
My question is, when in loading the index, why is it a single 'text_node_property', not a list of properties of text when comparing this field to text_node_properties=['name', 'description'],?