diff --git a/AiPlatform/metadata/V1/Content.php b/AiPlatform/metadata/V1/Content.php index 2f518197707f..08bfd7dfd1f0 100644 Binary files a/AiPlatform/metadata/V1/Content.php and b/AiPlatform/metadata/V1/Content.php differ diff --git a/AiPlatform/src/V1/GroundingChunk/RetrievedContext.php b/AiPlatform/src/V1/GroundingChunk/RetrievedContext.php index add14f056d98..d827b5940307 100644 --- a/AiPlatform/src/V1/GroundingChunk/RetrievedContext.php +++ b/AiPlatform/src/V1/GroundingChunk/RetrievedContext.php @@ -27,6 +27,12 @@ class RetrievedContext extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string title = 2; */ protected $title = null; + /** + * Text of the attribution. + * + * Generated from protobuf field optional string text = 3; + */ + protected $text = null; /** * Constructor. @@ -38,6 +44,8 @@ class RetrievedContext extends \Google\Protobuf\Internal\Message * URI reference of the attribution. * @type string $title * Title of the attribution. + * @type string $text + * Text of the attribution. * } */ public function __construct($data = NULL) { @@ -117,6 +125,42 @@ public function setTitle($var) return $this; } + /** + * Text of the attribution. + * + * Generated from protobuf field optional string text = 3; + * @return string + */ + public function getText() + { + return isset($this->text) ? $this->text : ''; + } + + public function hasText() + { + return isset($this->text); + } + + public function clearText() + { + unset($this->text); + } + + /** + * Text of the attribution. + * + * Generated from protobuf field optional string text = 3; + * @param string $var + * @return $this + */ + public function setText($var) + { + GPBUtil::checkString($var, True); + $this->text = $var; + + return $this; + } + } diff --git a/AiPlatform/src/V1/RetrievalMetadata.php b/AiPlatform/src/V1/RetrievalMetadata.php index 8cf571a16f22..9c32e59b9ef9 100644 --- a/AiPlatform/src/V1/RetrievalMetadata.php +++ b/AiPlatform/src/V1/RetrievalMetadata.php @@ -16,11 +16,11 @@ class RetrievalMetadata extends \Google\Protobuf\Internal\Message { /** - * Optional. Score indicating how likely information from google search could + * Optional. Score indicating how likely information from Google Search could * help answer the prompt. The score is in the range `[0, 1]`, where 0 is the * least likely and 1 is the most likely. This score is only populated when - * google search grounding and dynamic retrieval is enabled. It will be - * compared to the threshold to determine whether to trigger google search. + * Google Search grounding and dynamic retrieval is enabled. It will be + * compared to the threshold to determine whether to trigger Google Search. * * Generated from protobuf field float google_search_dynamic_retrieval_score = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -33,11 +33,11 @@ class RetrievalMetadata extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type float $google_search_dynamic_retrieval_score - * Optional. Score indicating how likely information from google search could + * Optional. Score indicating how likely information from Google Search could * help answer the prompt. The score is in the range `[0, 1]`, where 0 is the * least likely and 1 is the most likely. This score is only populated when - * google search grounding and dynamic retrieval is enabled. It will be - * compared to the threshold to determine whether to trigger google search. + * Google Search grounding and dynamic retrieval is enabled. It will be + * compared to the threshold to determine whether to trigger Google Search. * } */ public function __construct($data = NULL) { @@ -46,11 +46,11 @@ public function __construct($data = NULL) { } /** - * Optional. Score indicating how likely information from google search could + * Optional. Score indicating how likely information from Google Search could * help answer the prompt. The score is in the range `[0, 1]`, where 0 is the * least likely and 1 is the most likely. This score is only populated when - * google search grounding and dynamic retrieval is enabled. It will be - * compared to the threshold to determine whether to trigger google search. + * Google Search grounding and dynamic retrieval is enabled. It will be + * compared to the threshold to determine whether to trigger Google Search. * * Generated from protobuf field float google_search_dynamic_retrieval_score = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return float @@ -61,11 +61,11 @@ public function getGoogleSearchDynamicRetrievalScore() } /** - * Optional. Score indicating how likely information from google search could + * Optional. Score indicating how likely information from Google Search could * help answer the prompt. The score is in the range `[0, 1]`, where 0 is the * least likely and 1 is the most likely. This score is only populated when - * google search grounding and dynamic retrieval is enabled. It will be - * compared to the threshold to determine whether to trigger google search. + * Google Search grounding and dynamic retrieval is enabled. It will be + * compared to the threshold to determine whether to trigger Google Search. * * Generated from protobuf field float google_search_dynamic_retrieval_score = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param float $var diff --git a/AiPlatform/src/V1/VertexAISearch.php b/AiPlatform/src/V1/VertexAISearch.php index 9c1e78170308..f1e9f9157e9f 100644 --- a/AiPlatform/src/V1/VertexAISearch.php +++ b/AiPlatform/src/V1/VertexAISearch.php @@ -10,14 +10,14 @@ /** * Retrieve from Vertex AI Search datastore for grounding. - * See https://cloud.google.com/vertex-ai-search-and-conversation + * See https://cloud.google.com/products/agent-builder * * Generated from protobuf message google.cloud.aiplatform.v1.VertexAISearch */ class VertexAISearch extends \Google\Protobuf\Internal\Message { /** - * Required. Fully-qualified Vertex AI Search's datastore resource ID. + * Required. Fully-qualified Vertex AI Search data store resource ID. * Format: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` * @@ -32,7 +32,7 @@ class VertexAISearch extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $datastore - * Required. Fully-qualified Vertex AI Search's datastore resource ID. + * Required. Fully-qualified Vertex AI Search data store resource ID. * Format: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` * } @@ -43,7 +43,7 @@ public function __construct($data = NULL) { } /** - * Required. Fully-qualified Vertex AI Search's datastore resource ID. + * Required. Fully-qualified Vertex AI Search data store resource ID. * Format: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` * @@ -56,7 +56,7 @@ public function getDatastore() } /** - * Required. Fully-qualified Vertex AI Search's datastore resource ID. + * Required. Fully-qualified Vertex AI Search data store resource ID. * Format: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` *