chunk = $chunk; } /** * @return GoogleCloudAiplatformV1RagChunk */ public function getChunk() { return $this->chunk; } public function setScore($score) { $this->score = $score; } public function getScore() { return $this->score; } /** * The file display name. * * @param string $sourceDisplayName */ public function setSourceDisplayName($sourceDisplayName) { $this->sourceDisplayName = $sourceDisplayName; } /** * @return string */ public function getSourceDisplayName() { return $this->sourceDisplayName; } /** * If the file is imported from Cloud Storage or Google Drive, source_uri will * be original file URI in Cloud Storage or Google Drive; if file is uploaded, * source_uri will be file display name. * * @param string $sourceUri */ public function setSourceUri($sourceUri) { $this->sourceUri = $sourceUri; } /** * @return string */ public function getSourceUri() { return $this->sourceUri; } /** * The text chunk. * * @param string $text */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1RagContextsContext::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1RagContextsContext');