You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/retail_v2.projects.locations.catalogs.html
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -455,11 +455,21 @@ <h3>Method Details</h3>
455
455
],
456
456
"example": [ # Optional. A list of examples for intent classification.
457
457
{ # An example for intent classification.
458
+
"classifiedPositive": True or False, # Required. Whether the example is classified positively.
458
459
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
459
460
"query": "A String", # Required. Example query.
460
461
"reason": "A String", # Optional. The reason for the intent classification. This is used to explain the intent classification decision.
461
462
},
462
463
],
464
+
"inlineSource": { # Inline source for intent classifications. # Optional. Inline source for intent classifications.
465
+
"inlineForceIntents": [ # Optional. A list of inline force intent classifications.
466
+
{ # An inline force intent classification configuration.
467
+
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
468
+
"operation": "A String", # Optional. The operation to perform for the query.
469
+
"query": "A String", # Optional. A example query.
470
+
},
471
+
],
472
+
},
463
473
"modelPreamble": "A String", # Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.
464
474
},
465
475
"retailerDisplayName": "A String", # Optional. The retailer's display name that could be used in our LLM answers. Example - "Google"
@@ -887,11 +897,21 @@ <h3>Method Details</h3>
887
897
],
888
898
"example": [ # Optional. A list of examples for intent classification.
889
899
{ # An example for intent classification.
900
+
"classifiedPositive": True or False, # Required. Whether the example is classified positively.
890
901
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
891
902
"query": "A String", # Required. Example query.
892
903
"reason": "A String", # Optional. The reason for the intent classification. This is used to explain the intent classification decision.
893
904
},
894
905
],
906
+
"inlineSource": { # Inline source for intent classifications. # Optional. Inline source for intent classifications.
907
+
"inlineForceIntents": [ # Optional. A list of inline force intent classifications.
908
+
{ # An inline force intent classification configuration.
909
+
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
910
+
"operation": "A String", # Optional. The operation to perform for the query.
911
+
"query": "A String", # Optional. A example query.
912
+
},
913
+
],
914
+
},
895
915
"modelPreamble": "A String", # Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.
896
916
},
897
917
"retailerDisplayName": "A String", # Optional. The retailer's display name that could be used in our LLM answers. Example - "Google"
@@ -917,11 +937,21 @@ <h3>Method Details</h3>
917
937
],
918
938
"example": [ # Optional. A list of examples for intent classification.
919
939
{ # An example for intent classification.
940
+
"classifiedPositive": True or False, # Required. Whether the example is classified positively.
920
941
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
921
942
"query": "A String", # Required. Example query.
922
943
"reason": "A String", # Optional. The reason for the intent classification. This is used to explain the intent classification decision.
923
944
},
924
945
],
946
+
"inlineSource": { # Inline source for intent classifications. # Optional. Inline source for intent classifications.
947
+
"inlineForceIntents": [ # Optional. A list of inline force intent classifications.
948
+
{ # An inline force intent classification configuration.
949
+
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
950
+
"operation": "A String", # Optional. The operation to perform for the query.
951
+
"query": "A String", # Optional. A example query.
952
+
},
953
+
],
954
+
},
925
955
"modelPreamble": "A String", # Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.
926
956
},
927
957
"retailerDisplayName": "A String", # Optional. The retailer's display name that could be used in our LLM answers. Example - "Google"
Copy file name to clipboardExpand all lines: docs/dyn/retail_v2.projects.locations.catalogs.placements.html
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -484,6 +484,13 @@ <h3>Method Details</h3>
484
484
],
485
485
"tileNavigationRequested": True or False, # This field specifies whether the customer would like to request tile navigation.
486
486
},
487
+
"userAttributes": { # Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplcate keys are not allowed within a single query. Example: user_attributes: [ { key: "pets" value { values: "dog" values: "cat" } }, { key: "state" value { values: "CA" } } ]
488
+
"a_key": { # A list of string values.
489
+
"values": [ # String values.
490
+
"A String",
491
+
],
492
+
},
493
+
},
487
494
"userInfo": { # Information of an end user. # User information.
488
495
"directUserRequest": True or False, # True if the request is made directly from the end user, in which case the ip_address and user_agent can be populated from the HTTP request. This flag should be set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is processing and pushing the user events). This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent.
489
496
"ipAddress": "A String", # The end user's IP address. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. "104.133.9.80") or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when: * setting SearchRequest.user_info. * using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.
Copy file name to clipboardExpand all lines: docs/dyn/retail_v2.projects.locations.catalogs.servingConfigs.html
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1035,6 +1035,13 @@ <h3>Method Details</h3>
1035
1035
],
1036
1036
"tileNavigationRequested": True or False, # This field specifies whether the customer would like to request tile navigation.
1037
1037
},
1038
+
"userAttributes": { # Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplcate keys are not allowed within a single query. Example: user_attributes: [ { key: "pets" value { values: "dog" values: "cat" } }, { key: "state" value { values: "CA" } } ]
1039
+
"a_key": { # A list of string values.
1040
+
"values": [ # String values.
1041
+
"A String",
1042
+
],
1043
+
},
1044
+
},
1038
1045
"userInfo": { # Information of an end user. # User information.
1039
1046
"directUserRequest": True or False, # True if the request is made directly from the end user, in which case the ip_address and user_agent can be populated from the HTTP request. This flag should be set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is processing and pushing the user events). This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent.
1040
1047
"ipAddress": "A String", # The end user's IP address. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. "104.133.9.80") or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when: * setting SearchRequest.user_info. * using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.
Copy file name to clipboardExpand all lines: docs/dyn/retail_v2alpha.projects.locations.catalogs.html
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -482,11 +482,21 @@ <h3>Method Details</h3>
482
482
],
483
483
"example": [ # Optional. A list of examples for intent classification.
484
484
{ # An example for intent classification.
485
+
"classifiedPositive": True or False, # Required. Whether the example is classified positively.
485
486
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
486
487
"query": "A String", # Required. Example query.
487
488
"reason": "A String", # Optional. The reason for the intent classification. This is used to explain the intent classification decision.
488
489
},
489
490
],
491
+
"inlineSource": { # Inline source for intent classifications. # Optional. Inline source for intent classifications.
492
+
"inlineForceIntents": [ # Optional. A list of inline force intent classifications.
493
+
{ # An inline force intent classification configuration.
494
+
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
495
+
"operation": "A String", # Optional. The operation to perform for the query.
496
+
"query": "A String", # Optional. A example query.
497
+
},
498
+
],
499
+
},
490
500
"modelPreamble": "A String", # Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.
491
501
},
492
502
"retailerDisplayName": "A String", # Optional. The retailer's display name that could be used in our LLM answers. Example - "Google"
@@ -976,11 +986,21 @@ <h3>Method Details</h3>
976
986
],
977
987
"example": [ # Optional. A list of examples for intent classification.
978
988
{ # An example for intent classification.
989
+
"classifiedPositive": True or False, # Required. Whether the example is classified positively.
979
990
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
980
991
"query": "A String", # Required. Example query.
981
992
"reason": "A String", # Optional. The reason for the intent classification. This is used to explain the intent classification decision.
982
993
},
983
994
],
995
+
"inlineSource": { # Inline source for intent classifications. # Optional. Inline source for intent classifications.
996
+
"inlineForceIntents": [ # Optional. A list of inline force intent classifications.
997
+
{ # An inline force intent classification configuration.
998
+
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
999
+
"operation": "A String", # Optional. The operation to perform for the query.
1000
+
"query": "A String", # Optional. A example query.
1001
+
},
1002
+
],
1003
+
},
984
1004
"modelPreamble": "A String", # Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.
985
1005
},
986
1006
"retailerDisplayName": "A String", # Optional. The retailer's display name that could be used in our LLM answers. Example - "Google"
@@ -1006,11 +1026,21 @@ <h3>Method Details</h3>
1006
1026
],
1007
1027
"example": [ # Optional. A list of examples for intent classification.
1008
1028
{ # An example for intent classification.
1029
+
"classifiedPositive": True or False, # Required. Whether the example is classified positively.
1009
1030
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
1010
1031
"query": "A String", # Required. Example query.
1011
1032
"reason": "A String", # Optional. The reason for the intent classification. This is used to explain the intent classification decision.
1012
1033
},
1013
1034
],
1035
+
"inlineSource": { # Inline source for intent classifications. # Optional. Inline source for intent classifications.
1036
+
"inlineForceIntents": [ # Optional. A list of inline force intent classifications.
1037
+
{ # An inline force intent classification configuration.
1038
+
"intentType": "A String", # Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
1039
+
"operation": "A String", # Optional. The operation to perform for the query.
1040
+
"query": "A String", # Optional. A example query.
1041
+
},
1042
+
],
1043
+
},
1014
1044
"modelPreamble": "A String", # Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.
1015
1045
},
1016
1046
"retailerDisplayName": "A String", # Optional. The retailer's display name that could be used in our LLM answers. Example - "Google"
0 commit comments