AugmentPromptRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)Request message for AugmentPrompt.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
vertex_rag_store |
google.cloud.aiplatform_v1.types.VertexRagStore
Optional. Retrieves contexts from the Vertex RagStore. This field is a member of oneof_ data_source.
|
parent |
str
Required. The resource name of the Location from which to augment prompt. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.
|
contents |
MutableSequence[google.cloud.aiplatform_v1.types.Content]
Optional. Input content to augment, only text format is supported for now. |
model |
google.cloud.aiplatform_v1.types.AugmentPromptRequest.Model
Optional. Metadata of the backend deployed model. |
Classes
Model
Model(mapping=None, *, ignore_unknown_fields=False, **kwargs)Metadata of the backend deployed model.
Methods
AugmentPromptRequest
AugmentPromptRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)Request message for AugmentPrompt.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields