how to generate embeddings using your library if my input is in grapson(json) or graphml(xml) format?