|
1 | 1 | /**
|
2 |
| -* (C) Copyright IBM Corp. 2018, 2021. |
| 2 | +* (C) Copyright IBM Corp. 2021. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
@@ -136,12 +136,31 @@ public class LocaleValue
|
136 | 136 | /// `tomorrow`. This can be useful for simulating past or future times for testing purposes, or when analyzing
|
137 | 137 | /// documents such as news articles.
|
138 | 138 | ///
|
139 |
| - /// This value must be a UTC time value formatted according to ISO 8601 (for example, `2019-06-26T12:00:00Z` for |
140 |
| - /// noon on 26 June 2019. |
| 139 | + /// This value must be a UTC time value formatted according to ISO 8601 (for example, `2021-06-26T12:00:00Z` for |
| 140 | + /// noon UTC on 26 June 2021). |
141 | 141 | ///
|
142 | 142 | /// This property is included only if the new system entities are enabled for the skill.
|
143 | 143 | /// </summary>
|
144 | 144 | [JsonProperty("reference_time", NullValueHandling = NullValueHandling.Ignore)]
|
145 | 145 | public string ReferenceTime { get; set; }
|
| 146 | + /// <summary> |
| 147 | + /// The time at which the session started. With the stateful `message` method, the start time is always present, |
| 148 | + /// and is set by the service based on the time the session was created. With the stateless `message` method, |
| 149 | + /// the start time is set by the service in the response to the first message, and should be returned as part of |
| 150 | + /// the context with each subsequent message in the session. |
| 151 | + /// |
| 152 | + /// This value is a UTC time value formatted according to ISO 8601 (for example, `2021-06-26T12:00:00Z` for noon |
| 153 | + /// UTC on 26 June 2021). |
| 154 | + /// </summary> |
| 155 | + [JsonProperty("session_start_time", NullValueHandling = NullValueHandling.Ignore)] |
| 156 | + public string SessionStartTime { get; set; } |
| 157 | + /// <summary> |
| 158 | + /// An encoded string that represents the configuration state of the assistant at the beginning of the |
| 159 | + /// conversation. If you are using the stateless `message` method, save this value and then send it in the |
| 160 | + /// context of the subsequent message request to avoid disruptions if there are configuration changes during the |
| 161 | + /// conversation (such as a change to a skill the assistant uses). |
| 162 | + /// </summary> |
| 163 | + [JsonProperty("state", NullValueHandling = NullValueHandling.Ignore)] |
| 164 | + public string State { get; set; } |
146 | 165 | }
|
147 | 166 | }
|
0 commit comments