SessionConfig
SessionConfigDict
get_session_config_dict
Name | Description |
---|---|
config | The config to convert. |
Session
__init__
Name | Description |
---|---|
config | The configuration for the session. |
trace
Name | Description |
---|---|
config | The configuration for the trace. |
trace_
Name | Description |
---|---|
writer | The LogWriter instance to use. |
session_id | The ID of the session to create the trace for. |
config | The configuration for the trace. |
feedback
Name | Description |
---|---|
feedback | The feedback to add. |
add_attachment
Name | Description |
---|---|
attachment | The attachment to add. |
add_attachment_
Name | Description |
---|---|
writer | The LogWriter instance to use. |
session_id | The ID of the session to add the attachment to. |
attachment | The attachment to add. |
add_tag_
Name | Description |
---|---|
writer | The LogWriter instance to use. |
session_id | The ID of the session to add the tag to. |
key | The tag key. |
value | The tag value. |
end_
Name | Description |
---|---|
writer | The LogWriter instance to use. |
session_id | The ID of the session to end. |
data | Optional data to add to the session. |
event_
Name | Description |
---|---|
writer | The LogWriter instance to use. |
session_id | The ID of the session to add the event to. |
id | The ID of the event. |
event | The event. |
data | Optional data to add to the event. |