Skip to content

Commit 9eb1fef

Browse files
fix: [discoveryengine] Include AssistAnswer as a part of the Session (#6824)
* fix: Include AssistAnswer as a part of the Session fix: Add labels for additional Sessions identification PiperOrigin-RevId: 820710306 Source-Link: googleapis/googleapis@b153a91 Source-Link: googleapis/googleapis-gen@d4fb22f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpc2NvdmVyeWVuZ2luZS8uT3dsQm90LnlhbWwiLCJoIjoiZDRmYjIyZmU3Nzg1ODQyYjFmNzM4ZDc0MjkyNjE2ODIyZTNiY2E5YyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent eeaccdb commit 9eb1fef

4 files changed

Lines changed: 110 additions & 1 deletion

File tree

packages/google-cloud-discoveryengine/protos/google/cloud/discoveryengine/v1/session.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package google.cloud.discoveryengine.v1;
1919
import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
2121
import "google/cloud/discoveryengine/v1/answer.proto";
22+
import "google/cloud/discoveryengine/v1/assist_answer.proto";
2223
import "google/protobuf/timestamp.proto";
2324

2425
option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1";
@@ -67,6 +68,15 @@ message Session {
6768
// session.
6869
Answer detailed_answer = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
6970

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+
7080
// Optional. Represents metadata related to the query config, for example
7181
// LLM model and version used, model parameters (temperature, grounding
7282
// parameters, etc.). The prefix "google." is reserved for Google-developed
@@ -103,6 +113,10 @@ message Session {
103113
// Turns.
104114
repeated Turn turns = 4;
105115

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+
106120
// Output only. The time the session started.
107121
google.protobuf.Timestamp start_time = 5
108122
[(google.api.field_behavior) = OUTPUT_ONLY];

0 commit comments

Comments
 (0)