Class AugmentPromptRequest (1.74.0)

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

Attributes

Name Description
vertex_rag_store google.cloud.aiplatform_v1beta1.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_v1beta1.types.Content]
Optional. Input content to augment, only text format is supported for now.
model google.cloud.aiplatform_v1beta1.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)