Class RankingRecord (0.11.11)

RankingRecord(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Record message for RankService.Rank method.

Attributes

NameDescription
id str
The unique ID to represent the record.
title str
The title of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.
content str
The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.
score float
The score of this record based on the given query and selected model.