-
Notifications
You must be signed in to change notification settings - Fork 2
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
[CAI-183] Chatbot Patch query api #1198
Conversation
|
Jira Pull Request LinkThis Pull Request refers to the following Jira issue CAI-183 |
@@ -115,12 +119,12 @@ def find_or_create_session(userId: str, now: datetime.datetime): | |||
if userId is None: | |||
userId = '-' | |||
|
|||
SESSION_MAX_DURATION_DAYS = int(os.getenv('SESSION_MAX_DURATION_DAYS', '1')) | |||
SESSION_MAX_DURATION_DAYS = float(os.getenv('CHB_SESSION_MAX_DURATION_DAYS', '1')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why float
?
List of Changes
Update
badAnswer
query field.curl example:
Motivation and Context
We want to save the feedback about the answer.