Target(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Defines the parameters of the query's expected outcome.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
uri |
str
Expected uri of the target. This field must be a UTF-8 encoded string with a length limit of 2048 characters. Example of valid uris: https://example.com/abc ,
gcs://example/example.pdf .
|
page_numbers |
MutableSequence[int]
Expected page numbers of the target. Each page number must be non negative. |
score |
float
Relevance score of the target. This field is a member of oneof _ _score .
|