UpdateChatSessionKeepForeverRequest
Properties
Name |
Type |
Description |
Notes |
|---|---|---|---|
keep_forever |
bool |
Whether to preserve the chat session from auto-archival. |
Example
from h2ogpte.rest_async.models.update_chat_session_keep_forever_request import UpdateChatSessionKeepForeverRequest
# TODO update the JSON string below
json = "{}"
# create an instance of UpdateChatSessionKeepForeverRequest from a JSON string
update_chat_session_keep_forever_request_instance = UpdateChatSessionKeepForeverRequest.from_json(json)
# print the JSON string representation of the object
print(UpdateChatSessionKeepForeverRequest.to_json())
# convert the object into a dict
update_chat_session_keep_forever_request_dict = update_chat_session_keep_forever_request_instance.to_dict()
# create an instance of UpdateChatSessionKeepForeverRequest from a dict
update_chat_session_keep_forever_request_from_dict = UpdateChatSessionKeepForeverRequest.from_dict(update_chat_session_keep_forever_request_dict)