Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User session in Telegram supported ? #5

Open
GraphGrailAi opened this issue Apr 4, 2020 · 2 comments
Open

User session in Telegram supported ? #5

GraphGrailAi opened this issue Apr 4, 2020 · 2 comments

Comments

@GraphGrailAi
Copy link

Hi, cool work.
Does it support a session for every user that talk to bot in Telegram?

This is vital, because we should store conversation history for every user separated. I inspect code but did not found these

@polakowo
Copy link
Owner

polakowo commented Apr 4, 2020

Hi, it stores messages per chat (see chat_data in documentation), which makes sense since bot must be able to communicate to multiple users in a group. If you want to limit the bot to always communicate to one single user (even in a group with multiple users), you can fork the library and store messages in user_data.

@GraphGrailAi
Copy link
Author

thanx.
could you suggest a solution in this issue: microsoft/DialoGPT#38
(not related to your repo, but belongs to model fine-tuning in Colab)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants