Retaining document ID after document vector applier

How do I retain my original ID (not row ID) after document vector applier?

I have a string column which I have converted to document using strings to document.

String to document → Dictionary Replacer → Bag of words creator → Term to string → Document vector → Document vector applier.

I loose my ID after Document Vector applier.

Can someone help?

Thanks

@ace2131 Could you share an example workflow with some dummy data so we can reproduce the issue and better understand how to help?

1 Like

HI, I solved it.

So basically, when you create a document, only strings are allowed as meta variables. So i converted my Id into a string and made it pass through. At later stage, I converted ID back into number.

Thanks

2 Likes