Google Cloud Ai Platform V1 Client - Class AugmentPromptResponse (1.26.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class AugmentPromptResponse.

Response message for AugmentPrompt.

Generated from protobuf message google.cloud.aiplatform.v1.AugmentPromptResponse

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ augmented_prompt
array< Content >

Augmented prompt, only text format is supported for now.

↳ facts
array< Fact >

Retrieved facts from RAG data sources.

getAugmentedPrompt

Augmented prompt, only text format is supported for now.

Returns
Type
Description

setAugmentedPrompt

Augmented prompt, only text format is supported for now.

Parameter
Name
Description
var
array< Content >
Returns
Type
Description
$this

getFacts

Retrieved facts from RAG data sources.

Returns
Type
Description

setFacts

Retrieved facts from RAG data sources.

Parameter
Name
Description
var
array< Fact >
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: