source: vendor/google/apiclient-services/src/Aiplatform/GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Aiplatform;
19
20class GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata extends \Google\Collection
21{
22 protected $collection_key = 'stopSequences';
23 /**
24 * @var string
25 */
26 public $candidateCount;
27 /**
28 * @var string
29 */
30 public $gcsUri;
31 protected $groundingConfigType = GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig::class;
32 protected $groundingConfigDataType = '';
33 /**
34 * @var bool
35 */
36 public $hasPromptVariable;
37 /**
38 * @var bool
39 */
40 public $logprobs;
41 /**
42 * @var string
43 */
44 public $maxOutputTokens;
45 /**
46 * @var string
47 */
48 public $note;
49 protected $promptApiSchemaType = GoogleCloudAiplatformV1SchemaPromptApiSchema::class;
50 protected $promptApiSchemaDataType = '';
51 /**
52 * @var string
53 */
54 public $promptType;
55 /**
56 * @var bool
57 */
58 public $seedEnabled;
59 /**
60 * @var string
61 */
62 public $seedValue;
63 /**
64 * @var string[]
65 */
66 public $stopSequences;
67 /**
68 * @var string
69 */
70 public $systemInstruction;
71 /**
72 * @var string
73 */
74 public $systemInstructionGcsUri;
75 /**
76 * @var float
77 */
78 public $temperature;
79 /**
80 * @var string
81 */
82 public $text;
83 /**
84 * @var string
85 */
86 public $topK;
87 /**
88 * @var float
89 */
90 public $topP;
91
92 /**
93 * @param string
94 */
95 public function setCandidateCount($candidateCount)
96 {
97 $this->candidateCount = $candidateCount;
98 }
99 /**
100 * @return string
101 */
102 public function getCandidateCount()
103 {
104 return $this->candidateCount;
105 }
106 /**
107 * @param string
108 */
109 public function setGcsUri($gcsUri)
110 {
111 $this->gcsUri = $gcsUri;
112 }
113 /**
114 * @return string
115 */
116 public function getGcsUri()
117 {
118 return $this->gcsUri;
119 }
120 /**
121 * @param GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
122 */
123 public function setGroundingConfig(GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig $groundingConfig)
124 {
125 $this->groundingConfig = $groundingConfig;
126 }
127 /**
128 * @return GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
129 */
130 public function getGroundingConfig()
131 {
132 return $this->groundingConfig;
133 }
134 /**
135 * @param bool
136 */
137 public function setHasPromptVariable($hasPromptVariable)
138 {
139 $this->hasPromptVariable = $hasPromptVariable;
140 }
141 /**
142 * @return bool
143 */
144 public function getHasPromptVariable()
145 {
146 return $this->hasPromptVariable;
147 }
148 /**
149 * @param bool
150 */
151 public function setLogprobs($logprobs)
152 {
153 $this->logprobs = $logprobs;
154 }
155 /**
156 * @return bool
157 */
158 public function getLogprobs()
159 {
160 return $this->logprobs;
161 }
162 /**
163 * @param string
164 */
165 public function setMaxOutputTokens($maxOutputTokens)
166 {
167 $this->maxOutputTokens = $maxOutputTokens;
168 }
169 /**
170 * @return string
171 */
172 public function getMaxOutputTokens()
173 {
174 return $this->maxOutputTokens;
175 }
176 /**
177 * @param string
178 */
179 public function setNote($note)
180 {
181 $this->note = $note;
182 }
183 /**
184 * @return string
185 */
186 public function getNote()
187 {
188 return $this->note;
189 }
190 /**
191 * @param GoogleCloudAiplatformV1SchemaPromptApiSchema
192 */
193 public function setPromptApiSchema(GoogleCloudAiplatformV1SchemaPromptApiSchema $promptApiSchema)
194 {
195 $this->promptApiSchema = $promptApiSchema;
196 }
197 /**
198 * @return GoogleCloudAiplatformV1SchemaPromptApiSchema
199 */
200 public function getPromptApiSchema()
201 {
202 return $this->promptApiSchema;
203 }
204 /**
205 * @param string
206 */
207 public function setPromptType($promptType)
208 {
209 $this->promptType = $promptType;
210 }
211 /**
212 * @return string
213 */
214 public function getPromptType()
215 {
216 return $this->promptType;
217 }
218 /**
219 * @param bool
220 */
221 public function setSeedEnabled($seedEnabled)
222 {
223 $this->seedEnabled = $seedEnabled;
224 }
225 /**
226 * @return bool
227 */
228 public function getSeedEnabled()
229 {
230 return $this->seedEnabled;
231 }
232 /**
233 * @param string
234 */
235 public function setSeedValue($seedValue)
236 {
237 $this->seedValue = $seedValue;
238 }
239 /**
240 * @return string
241 */
242 public function getSeedValue()
243 {
244 return $this->seedValue;
245 }
246 /**
247 * @param string[]
248 */
249 public function setStopSequences($stopSequences)
250 {
251 $this->stopSequences = $stopSequences;
252 }
253 /**
254 * @return string[]
255 */
256 public function getStopSequences()
257 {
258 return $this->stopSequences;
259 }
260 /**
261 * @param string
262 */
263 public function setSystemInstruction($systemInstruction)
264 {
265 $this->systemInstruction = $systemInstruction;
266 }
267 /**
268 * @return string
269 */
270 public function getSystemInstruction()
271 {
272 return $this->systemInstruction;
273 }
274 /**
275 * @param string
276 */
277 public function setSystemInstructionGcsUri($systemInstructionGcsUri)
278 {
279 $this->systemInstructionGcsUri = $systemInstructionGcsUri;
280 }
281 /**
282 * @return string
283 */
284 public function getSystemInstructionGcsUri()
285 {
286 return $this->systemInstructionGcsUri;
287 }
288 /**
289 * @param float
290 */
291 public function setTemperature($temperature)
292 {
293 $this->temperature = $temperature;
294 }
295 /**
296 * @return float
297 */
298 public function getTemperature()
299 {
300 return $this->temperature;
301 }
302 /**
303 * @param string
304 */
305 public function setText($text)
306 {
307 $this->text = $text;
308 }
309 /**
310 * @return string
311 */
312 public function getText()
313 {
314 return $this->text;
315 }
316 /**
317 * @param string
318 */
319 public function setTopK($topK)
320 {
321 $this->topK = $topK;
322 }
323 /**
324 * @return string
325 */
326 public function getTopK()
327 {
328 return $this->topK;
329 }
330 /**
331 * @param float
332 */
333 public function setTopP($topP)
334 {
335 $this->topP = $topP;
336 }
337 /**
338 * @return float
339 */
340 public function getTopP()
341 {
342 return $this->topP;
343 }
344}
345
346// Adding a class alias for backwards compatibility with the previous class name.
347class_alias(GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata');
Note: See TracBrowser for help on using the repository browser.