agentData = $agentData; } /** * @deprecated * @return GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentData */ public function getAgentData() { return $this->agentData; } /** * Optional. Other data used to populate placeholders based on their key. If a * key conflicts with a field in the EvaluationInstance (e.g. `prompt`), the * value of the field will take precedence over the value in other_data. * * @param GoogleCloudAiplatformV1EvaluationInstanceMapInstance $otherData */ public function setOtherData(GoogleCloudAiplatformV1EvaluationInstanceMapInstance $otherData) { $this->otherData = $otherData; } /** * @return GoogleCloudAiplatformV1EvaluationInstanceMapInstance */ public function getOtherData() { return $this->otherData; } /** * Optional. Data used to populate placeholder `prompt` in a metric prompt * template. * * @param GoogleCloudAiplatformV1EvaluationInstanceInstanceData $prompt */ public function setPrompt(GoogleCloudAiplatformV1EvaluationInstanceInstanceData $prompt) { $this->prompt = $prompt; } /** * @return GoogleCloudAiplatformV1EvaluationInstanceInstanceData */ public function getPrompt() { return $this->prompt; } /** * Optional. Data used to populate placeholder `reference` in a metric prompt * template. * * @param GoogleCloudAiplatformV1EvaluationInstanceInstanceData $reference */ public function setReference(GoogleCloudAiplatformV1EvaluationInstanceInstanceData $reference) { $this->reference = $reference; } /** * @return GoogleCloudAiplatformV1EvaluationInstanceInstanceData */ public function getReference() { return $this->reference; } /** * Optional. Data used to populate placeholder `response` in a metric prompt * template. * * @param GoogleCloudAiplatformV1EvaluationInstanceInstanceData $response */ public function setResponse(GoogleCloudAiplatformV1EvaluationInstanceInstanceData $response) { $this->response = $response; } /** * @return GoogleCloudAiplatformV1EvaluationInstanceInstanceData */ public function getResponse() { return $this->response; } /** * Optional. Named groups of rubrics associated with the prompt. This is used * for rubric-based evaluations where rubrics can be referenced by a key. The * key could represent versions, associated metrics, etc. * * @param GoogleCloudAiplatformV1RubricGroup[] $rubricGroups */ public function setRubricGroups($rubricGroups) { $this->rubricGroups = $rubricGroups; } /** * @return GoogleCloudAiplatformV1RubricGroup[] */ public function getRubricGroups() { return $this->rubricGroups; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1EvaluationInstance::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1EvaluationInstance');