You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To lift the weight of the computation needed to do the parsing after any question is requested to the bot, it would be simpler to keep all these data in memory after an initialization in a dict such as:
qacs: Dict[int, Dict[str, str]] = {
1: {
'q': 'This is a question',
'a': 'C',
'c': 'This is a comment'
},
...
}
The text was updated successfully, but these errors were encountered:
To lift the weight of the computation needed to do the parsing after any question is requested to the bot, it would be simpler to keep all these data in memory after an initialization in a dict such as:
The text was updated successfully, but these errors were encountered: