@google-cloud/discoveryengine 2.5.0 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,7 @@ package google.cloud.discoveryengine.v1;
19
19
  import "google/api/field_behavior.proto";
20
20
  import "google/api/resource.proto";
21
21
  import "google/cloud/discoveryengine/v1/answer.proto";
22
+ import "google/cloud/discoveryengine/v1/assist_answer.proto";
22
23
  import "google/protobuf/timestamp.proto";
23
24
 
24
25
  option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1";
@@ -67,6 +68,15 @@ message Session {
67
68
  // session.
68
69
  Answer detailed_answer = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
69
70
 
71
+ // Output only. In
72
+ // [ConversationalSearchService.GetSession][google.cloud.discoveryengine.v1.ConversationalSearchService.GetSession]
73
+ // API, if
74
+ // [GetSessionRequest.include_answer_details][google.cloud.discoveryengine.v1.GetSessionRequest.include_answer_details]
75
+ // is set to true, this field will be populated when getting assistant
76
+ // session.
77
+ AssistAnswer detailed_assist_answer = 8
78
+ [(google.api.field_behavior) = OUTPUT_ONLY];
79
+
70
80
  // Optional. Represents metadata related to the query config, for example
71
81
  // LLM model and version used, model parameters (temperature, grounding
72
82
  // parameters, etc.). The prefix "google." is reserved for Google-developed
@@ -103,6 +113,10 @@ message Session {
103
113
  // Turns.
104
114
  repeated Turn turns = 4;
105
115
 
116
+ // Optional. The labels for the session.
117
+ // Can be set as filter in ListSessionsRequest.
118
+ repeated string labels = 9 [(google.api.field_behavior) = OPTIONAL];
119
+
106
120
  // Output only. The time the session started.
107
121
  google.protobuf.Timestamp start_time = 5
108
122
  [(google.api.field_behavior) = OUTPUT_ONLY];