Hello @Owais_Iqbal ,
I have more complex requirement for metadata. I want to store metadata filed which maps to a value as array of string.
To use above example:
docs = text_splitter.split_documents([data], metadatas = [{'"user_id"' : ["user_id1", "user_id2", "user_id3"]}] )