(content: &Value)
| 1011 | } |
| 1012 | |
| 1013 | fn content_kind(content: &Value) -> Option<&'static str> { |
| 1014 | if content.is_array() { |
| 1015 | Some("message") |
| 1016 | } else if content.is_string() { |
| 1017 | Some("text") |
| 1018 | } else { |
| 1019 | None |
| 1020 | } |
| 1021 | } |
| 1022 | |
| 1023 | fn event_session_id(event: &Value, transcript_path: &Path) -> String { |
| 1024 | event |