userId for Amazon Lex

0

A project I'm going to be working on will be utilizing Amazon Lex exclusively for the purposes of intent matching. Looking at the docs for PostText, I can see that we're required to send a userId to Lex in order to use this method. For our use-case we don't really care about the conversational capabilities of Lex, so we have a few options as to how we could approach the userId field:

  1. Just use a global userId that every single lex query would have
  2. Generate a random userId each time we query lex
  3. Generate a userId per specific user of our system and use that each time that user queries lex

My gut feeling is that approach 3 is probably the "correct" way of doing this but maintaining an id for our users may be cumbersome if we don't have to do it. Between these three approaches what makes the most sense for our use-case? Thanks!

Nathan
질문됨 8달 전57회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠