ShareChatRequest
Properties
Name |
Type |
Description |
Notes |
|---|---|---|---|
chat_session_id |
str |
ID of the chat session to share. |
|
is_private |
bool |
Whether the shared chat requires authentication to view. |
[optional] [default to False] |
is_frozen |
bool |
Whether to capture a snapshot of the chat at share time. |
[optional] [default to True] |
includes_artifacts |
bool |
Whether to include file artifacts in the shared chat. |
[optional] [default to False] |
Example
from h2ogpte.rest_sync.models.share_chat_request import ShareChatRequest
# TODO update the JSON string below
json = "{}"
# create an instance of ShareChatRequest from a JSON string
share_chat_request_instance = ShareChatRequest.from_json(json)
# print the JSON string representation of the object
print(ShareChatRequest.to_json())
# convert the object into a dict
share_chat_request_dict = share_chat_request_instance.to_dict()
# create an instance of ShareChatRequest from a dict
share_chat_request_from_dict = ShareChatRequest.from_dict(share_chat_request_dict)