chartSpec = $chartSpec; } /** * @return array[] */ public function getChartSpec() { return $this->chartSpec; } /** * The generated SQL query from the LLM. Will be populated during the chart * building phase. The generated SQL will be cached in the corresponding chart * resource. * * @param string $generatedSqlQuery */ public function setGeneratedSqlQuery($generatedSqlQuery) { $this->generatedSqlQuery = $generatedSqlQuery; } /** * @return string */ public function getGeneratedSqlQuery() { return $this->generatedSqlQuery; } /** * The text output from the LLM. Will be populated during the chart building * phase. For a reloaded chart, this will NOT be populated. May contain * THOUGHT or a FINAL response or some in-progress response. * * @param GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput $textMessage */ public function setTextMessage(GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput $textMessage) { $this->textMessage = $textMessage; } /** * @return GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput */ public function getTextMessage() { return $this->textMessage; } /** * The text output from the LLM. Will be populated during the chart building * phase. For a reloaded chart, this will NOT be populated. May contain * THOUGHT or a FINAL response or some in-progress response. * * @deprecated * @param string $textOutput */ public function setTextOutput($textOutput) { $this->textOutput = $textOutput; } /** * @deprecated * @return string */ public function getTextOutput() { return $this->textOutput; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse');