| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ba7ab5e commit 39d9d44
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -131,6 +131,10 @@ message SessionEvent { | |||
| 131 | 131 | ||
| 132 | 132 | // Optional. Metadata relating to this event. | |
| 133 | 133 | EventMetadata event_metadata = 11 [(google.api.field_behavior) = OPTIONAL]; | |
| 134 | + | ||
| 135 | + // Optional. Weakly typed raw event data in proto struct format. | ||
| 136 | + google.protobuf.Struct raw_event = 12 | ||
| 137 | + [(google.api.field_behavior) = OPTIONAL]; | ||
| 134 | 138 | } | |
| 135 | 139 | ||
| 136 | 140 | // Metadata relating to a LLM response event. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -48,6 +48,7 @@ service SessionService { | |||
| 48 | 48 | body: "session" | |
| 49 | 49 | }; | |
| 50 | 50 | option (google.api.method_signature) = "parent,session"; | |
| 51 | + option (google.api.method_signature) = "parent,session,session_id"; | ||
| 51 | 52 | option (google.longrunning.operation_info) = { | |
| 52 | 53 | response_type: "Session" | |
| 53 | 54 | metadata_type: "CreateSessionOperationMetadata" | |
@@ -127,6 +128,15 @@ message CreateSessionRequest { | |||
| 127 | 128 | ||
| 128 | 129 | // Required. The session to create. | |
| 129 | 130 | Session session = 2 [(google.api.field_behavior) = REQUIRED]; | |
| 131 | + | ||
| 132 | + // Optional. The user defined ID to use for session, which will become the | ||
| 133 | + // final component of the session resource name. If not provided, Vertex AI | ||
| 134 | + // will generate a value for this ID. | ||
| 135 | + // | ||
| 136 | + // This value may be up to 63 characters, and valid characters are | ||
| 137 | + // `[a-z0-9-]`. The first character must be a letter, and the last character | ||
| 138 | + // must be a letter or number. | ||
| 139 | + string session_id = 3 [(google.api.field_behavior) = OPTIONAL]; | ||
| 130 | 140 | } | |
| 131 | 141 | ||
| 132 | 142 | // Metadata associated with the | |
| Back | FazBrowse Home | New Git URL |
0 commit comments