Skip to content

Commit eb57852

Browse files
Add a client_id field for custom servables.
PiperOrigin-RevId: 602442561
1 parent 39b5d8f commit eb57852

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tensorflow_serving/apis/predict.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ message PredictRequest {
3636
// Options for streaming requests to control how multiple requests/responses
3737
// are handled within a single stream.
3838
PredictStreamedOptions predict_streamed_options = 5;
39+
40+
// Client identifier to group requests belonging to a specific entity.
41+
// Example entities can be product ids, service names, user ids etc.
42+
// Servers can use this to optimize placement, caching and colocation.
43+
optional bytes client_id = 6;
3944
}
4045

4146
// Options only used for streaming requests that control how inputs/ouputs are

0 commit comments

Comments
 (0)