added embeddings,tanns to summarizeInstance