Response message for Recommend method.
JSON representation |
---|
{
"results": [
{
object ( |
Fields | |
---|---|
results[] |
A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least). |
attribution |
A unique attribution token. This should be included in the |
missing |
IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig. |
validate |
True if |
RecommendationResult
RecommendationResult represents a generic recommendation result with associated metadata.
JSON representation |
---|
{
"id": string,
"document": {
object ( |
Fields | |
---|---|
id |
Resource ID of the recommended Document. |
document |
Set if |
metadata |
Additional Document metadata or annotations. Possible values:
|