Class RefineInstructions (0.4.0)

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

The instructions to be used to refine a part of the resource. The part of the resource can be specified with a start index, end index and a field mask. For example, if you want to refine a part of the agent instructions you can specify the index of the first character of the instructions, the index of the last character of the instructions and the field mask as "instructions".

Attributes

Name Description
start_index int
Required. The first character (inclusive) of the text to refine.
end_index int
Required. The last character (inclusive) of the text to refine.
field_mask google.protobuf.field_mask_pb2.FieldMask
Required. The field of the resource being refined. Only one field is allowed per RefineInstructions. If refining agent instructions, the field mask should be "instructions".
instructions str
Required. The instructions to refine the resource.