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

Add session identifier #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

bencomp
Copy link

@bencomp bencomp commented May 22, 2023

When the main page is loaded, a random code is inserted. The code is included with every question and logged to the ChatLog.

Note that you probably do not want to commit the ChatLog.txt file, as it is (anonymous) user data.

I had to change import chatbot to from . import chatbot, because the module could otherwise not be found.

And @app.route('/', methods=['POST']) did not appear to do anything, or could lead to unexpected results. Commenting out this line did not change the application's functionality.

When the main page is loaded, a random code is inserted.
The code is included with every question and logged to the ChatLog
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

Successfully merging this pull request may close these issues.

1 participant