51 template <
typename KnowledgeBaseIdT = Aws::String>
53 m_knowledgeBaseIdHasBeenSet =
true;
54 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
56 template <
typename KnowledgeBaseIdT = Aws::String>
72 template <
typename ModelIdT = Aws::String>
74 m_modelIdHasBeenSet =
true;
75 m_modelId = std::forward<ModelIdT>(value);
77 template <
typename ModelIdT = Aws::String>
91 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
93 m_guardrailConfigurationHasBeenSet =
true;
94 m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value);
96 template <
typename GuardrailConfigurationT = GuardrailConfiguration>
110 m_numberOfResultsHasBeenSet =
true;
111 m_numberOfResults = value;
126 template <
typename PromptTemplateT = KnowledgeBasePromptTemplate>
128 m_promptTemplateHasBeenSet =
true;
129 m_promptTemplate = std::forward<PromptTemplateT>(value);
131 template <
typename PromptTemplateT = KnowledgeBasePromptTemplate>
144 template <
typename InferenceConfigurationT = PromptInferenceConfiguration>
146 m_inferenceConfigurationHasBeenSet =
true;
147 m_inferenceConfiguration = std::forward<InferenceConfigurationT>(value);
149 template <
typename InferenceConfigurationT = PromptInferenceConfiguration>
163 template <
typename RerankingConfigurationT = VectorSearchRerankingConfiguration>
165 m_rerankingConfigurationHasBeenSet =
true;
166 m_rerankingConfiguration = std::forward<RerankingConfigurationT>(value);
168 template <
typename RerankingConfigurationT = VectorSearchRerankingConfiguration>
182 template <
typename OrchestrationConfigurationT = KnowledgeBaseOrchestrationConfiguration>
184 m_orchestrationConfigurationHasBeenSet =
true;
185 m_orchestrationConfiguration = std::forward<OrchestrationConfigurationT>(value);
187 template <
typename OrchestrationConfigurationT = KnowledgeBaseOrchestrationConfiguration>
200 int m_numberOfResults{0};
202 KnowledgeBasePromptTemplate m_promptTemplate;
204 PromptInferenceConfiguration m_inferenceConfiguration;
206 VectorSearchRerankingConfiguration m_rerankingConfiguration;
208 KnowledgeBaseOrchestrationConfiguration m_orchestrationConfiguration;
209 bool m_knowledgeBaseIdHasBeenSet =
false;
210 bool m_modelIdHasBeenSet =
false;
211 bool m_guardrailConfigurationHasBeenSet =
false;
212 bool m_numberOfResultsHasBeenSet =
false;
213 bool m_promptTemplateHasBeenSet =
false;
214 bool m_inferenceConfigurationHasBeenSet =
false;
215 bool m_rerankingConfigurationHasBeenSet =
false;
216 bool m_orchestrationConfigurationHasBeenSet =
false;