jayeshdesai4520 / chatbot-ng-internal

MIT License
3 stars 0 forks source link

Store QANARY status in the user session #10

Open RicardoUsbeck opened 3 years ago

RicardoUsbeck commented 3 years ago

Store user session information for uniquely handling each user's conversation. One way to go about this is to have a hashmap on the server with the key being a User Id probably supplied from DialogFlow.

  1. Have a list of available components for each level (NER, Query Building, etc.) as a global variable.
  2. Have a set of defaults for each
  3. When a user converses with the chatbot for the first time initialize the defaults and store using the User Id in the hash map
  4. Use the user preferences to dynamically modify the query to QANARY
  5. Then in subsequent requests modify the hash map based on changes requested by the user
Perevalov commented 3 years ago

@anbo-de will we have a solution from Qanary side about item num. 1? (tags for components)

anbo-de commented 3 years ago

@jayeshdesai4520 Please split the issue. Document the tasks that were done and how they were done. For all other things, please create new issues that we will address these action items after the project.

jayeshdesai4520 commented 3 years ago

Hi, @anbo-de point num. 3,4,5 is done so now should I make another issue for point num. 1 and 2 here in this repository or here https://github.com/WDAqua/Qanary-question-answering-components ?