Input in text and document for recommendation system

Hello colleagues, I hope you are all safe and well.

I’m creating a flow for a recommendation system and I’m having difficulty finding the best solution to create a field for inputting a keyword or a document that will be used to cross-reference the recommendation data.

Does anyone have an example, or could help me?

Thank you in advance for all your attention!