source: vendor/google/apiclient-services/src/DiscoveryEngine/GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec.php

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

Upload project files

  • Property mode set to 100644
File size: 4.2 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\DiscoveryEngine;
19
20class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $answerLanguageCode;
26 /**
27 * @var bool
28 */
29 public $ignoreAdversarialQuery;
30 /**
31 * @var bool
32 */
33 public $ignoreJailBreakingQuery;
34 /**
35 * @var bool
36 */
37 public $ignoreLowRelevantContent;
38 /**
39 * @var bool
40 */
41 public $ignoreNonAnswerSeekingQuery;
42 /**
43 * @var bool
44 */
45 public $includeCitations;
46 protected $modelSpecType = GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec::class;
47 protected $modelSpecDataType = '';
48 protected $promptSpecType = GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec::class;
49 protected $promptSpecDataType = '';
50
51 /**
52 * @param string
53 */
54 public function setAnswerLanguageCode($answerLanguageCode)
55 {
56 $this->answerLanguageCode = $answerLanguageCode;
57 }
58 /**
59 * @return string
60 */
61 public function getAnswerLanguageCode()
62 {
63 return $this->answerLanguageCode;
64 }
65 /**
66 * @param bool
67 */
68 public function setIgnoreAdversarialQuery($ignoreAdversarialQuery)
69 {
70 $this->ignoreAdversarialQuery = $ignoreAdversarialQuery;
71 }
72 /**
73 * @return bool
74 */
75 public function getIgnoreAdversarialQuery()
76 {
77 return $this->ignoreAdversarialQuery;
78 }
79 /**
80 * @param bool
81 */
82 public function setIgnoreJailBreakingQuery($ignoreJailBreakingQuery)
83 {
84 $this->ignoreJailBreakingQuery = $ignoreJailBreakingQuery;
85 }
86 /**
87 * @return bool
88 */
89 public function getIgnoreJailBreakingQuery()
90 {
91 return $this->ignoreJailBreakingQuery;
92 }
93 /**
94 * @param bool
95 */
96 public function setIgnoreLowRelevantContent($ignoreLowRelevantContent)
97 {
98 $this->ignoreLowRelevantContent = $ignoreLowRelevantContent;
99 }
100 /**
101 * @return bool
102 */
103 public function getIgnoreLowRelevantContent()
104 {
105 return $this->ignoreLowRelevantContent;
106 }
107 /**
108 * @param bool
109 */
110 public function setIgnoreNonAnswerSeekingQuery($ignoreNonAnswerSeekingQuery)
111 {
112 $this->ignoreNonAnswerSeekingQuery = $ignoreNonAnswerSeekingQuery;
113 }
114 /**
115 * @return bool
116 */
117 public function getIgnoreNonAnswerSeekingQuery()
118 {
119 return $this->ignoreNonAnswerSeekingQuery;
120 }
121 /**
122 * @param bool
123 */
124 public function setIncludeCitations($includeCitations)
125 {
126 $this->includeCitations = $includeCitations;
127 }
128 /**
129 * @return bool
130 */
131 public function getIncludeCitations()
132 {
133 return $this->includeCitations;
134 }
135 /**
136 * @param GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
137 */
138 public function setModelSpec(GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec $modelSpec)
139 {
140 $this->modelSpec = $modelSpec;
141 }
142 /**
143 * @return GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
144 */
145 public function getModelSpec()
146 {
147 return $this->modelSpec;
148 }
149 /**
150 * @param GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec
151 */
152 public function setPromptSpec(GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec $promptSpec)
153 {
154 $this->promptSpec = $promptSpec;
155 }
156 /**
157 * @return GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec
158 */
159 public function getPromptSpec()
160 {
161 return $this->promptSpec;
162 }
163}
164
165// Adding a class alias for backwards compatibility with the previous class name.
166class_alias(GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec');
Note: See TracBrowser for help on using the repository browser.