Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::AugmentPromptResponse.
Response message for AugmentPrompt.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#augmented_prompt
def augmented_prompt() -> ::Array<::Google::Cloud::AIPlatform::V1::Content>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Content>) — Augmented prompt, only text format is supported for now.
#augmented_prompt=
def augmented_prompt=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Content>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::Content>) — Augmented prompt, only text format is supported for now.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Content>) — Augmented prompt, only text format is supported for now.
#facts
def facts() -> ::Array<::Google::Cloud::AIPlatform::V1::Fact>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Fact>) — Retrieved facts from RAG data sources.
#facts=
def facts=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Fact>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::Fact>) — Retrieved facts from RAG data sources.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Fact>) — Retrieved facts from RAG data sources.