@@ -33,8 +33,7 @@ export interface GetEvaluationJobCommandInput extends GetEvaluationJobRequest {}
33
33
export interface GetEvaluationJobCommandOutput extends GetEvaluationJobResponse , __MetadataBearer { }
34
34
35
35
/**
36
- * <p>Retrieves the properties associated with a model evaluation job, including the
37
- * status of the job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation.html">Model evaluation</a>.</p>
36
+ * <p>Gets information about an evaluation job, such as the status of the job.</p>
38
37
* @example
39
38
* Use a bare-bones client and the command you need to make an API call.
40
39
* ```javascript
@@ -54,6 +53,7 @@ export interface GetEvaluationJobCommandOutput extends GetEvaluationJobResponse,
54
53
* // roleArn: "STRING_VALUE", // required
55
54
* // customerEncryptionKeyId: "STRING_VALUE",
56
55
* // jobType: "Human" || "Automated", // required
56
+ * // applicationType: "ModelEvaluation" || "RagEvaluation",
57
57
* // evaluationConfig: { // EvaluationConfig Union: only one key present
58
58
* // automated: { // AutomatedEvaluationConfig
59
59
* // datasetMetricConfigs: [ // EvaluationDatasetMetricConfigs // required
@@ -70,6 +70,13 @@ export interface GetEvaluationJobCommandOutput extends GetEvaluationJobResponse,
70
70
* // ],
71
71
* // },
72
72
* // ],
73
+ * // evaluatorModelConfig: { // EvaluatorModelConfig Union: only one key present
74
+ * // bedrockEvaluatorModels: [ // BedrockEvaluatorModels
75
+ * // { // BedrockEvaluatorModel
76
+ * // modelIdentifier: "STRING_VALUE", // required
77
+ * // },
78
+ * // ],
79
+ * // },
73
80
* // },
74
81
* // human: { // HumanEvaluationConfig
75
82
* // humanWorkflowConfig: { // HumanWorkflowConfig
@@ -104,7 +111,153 @@ export interface GetEvaluationJobCommandOutput extends GetEvaluationJobResponse,
104
111
* // { // EvaluationModelConfig Union: only one key present
105
112
* // bedrockModel: { // EvaluationBedrockModel
106
113
* // modelIdentifier: "STRING_VALUE", // required
107
- * // inferenceParams: "STRING_VALUE", // required
114
+ * // inferenceParams: "STRING_VALUE",
115
+ * // },
116
+ * // },
117
+ * // ],
118
+ * // ragConfigs: [ // RagConfigs
119
+ * // { // RAGConfig Union: only one key present
120
+ * // knowledgeBaseConfig: { // KnowledgeBaseConfig Union: only one key present
121
+ * // retrieveConfig: { // RetrieveConfig
122
+ * // knowledgeBaseId: "STRING_VALUE", // required
123
+ * // knowledgeBaseRetrievalConfiguration: { // KnowledgeBaseRetrievalConfiguration
124
+ * // vectorSearchConfiguration: { // KnowledgeBaseVectorSearchConfiguration
125
+ * // numberOfResults: Number("int"),
126
+ * // overrideSearchType: "HYBRID" || "SEMANTIC",
127
+ * // filter: { // RetrievalFilter Union: only one key present
128
+ * // equals: { // FilterAttribute
129
+ * // key: "STRING_VALUE", // required
130
+ * // value: "DOCUMENT_VALUE", // required
131
+ * // },
132
+ * // notEquals: {
133
+ * // key: "STRING_VALUE", // required
134
+ * // value: "DOCUMENT_VALUE", // required
135
+ * // },
136
+ * // greaterThan: {
137
+ * // key: "STRING_VALUE", // required
138
+ * // value: "DOCUMENT_VALUE", // required
139
+ * // },
140
+ * // greaterThanOrEquals: {
141
+ * // key: "STRING_VALUE", // required
142
+ * // value: "DOCUMENT_VALUE", // required
143
+ * // },
144
+ * // lessThan: {
145
+ * // key: "STRING_VALUE", // required
146
+ * // value: "DOCUMENT_VALUE", // required
147
+ * // },
148
+ * // lessThanOrEquals: "<FilterAttribute>",
149
+ * // in: "<FilterAttribute>",
150
+ * // notIn: "<FilterAttribute>",
151
+ * // startsWith: "<FilterAttribute>",
152
+ * // listContains: "<FilterAttribute>",
153
+ * // stringContains: "<FilterAttribute>",
154
+ * // andAll: [ // RetrievalFilterList
155
+ * // {// Union: only one key present
156
+ * // equals: "<FilterAttribute>",
157
+ * // notEquals: "<FilterAttribute>",
158
+ * // greaterThan: "<FilterAttribute>",
159
+ * // greaterThanOrEquals: "<FilterAttribute>",
160
+ * // lessThan: "<FilterAttribute>",
161
+ * // lessThanOrEquals: "<FilterAttribute>",
162
+ * // in: "<FilterAttribute>",
163
+ * // notIn: "<FilterAttribute>",
164
+ * // startsWith: "<FilterAttribute>",
165
+ * // listContains: "<FilterAttribute>",
166
+ * // stringContains: "<FilterAttribute>",
167
+ * // andAll: [
168
+ * // "<RetrievalFilter>",
169
+ * // ],
170
+ * // orAll: [
171
+ * // "<RetrievalFilter>",
172
+ * // ],
173
+ * // },
174
+ * // ],
175
+ * // orAll: [
176
+ * // "<RetrievalFilter>",
177
+ * // ],
178
+ * // },
179
+ * // },
180
+ * // },
181
+ * // },
182
+ * // retrieveAndGenerateConfig: { // RetrieveAndGenerateConfiguration
183
+ * // type: "KNOWLEDGE_BASE" || "EXTERNAL_SOURCES", // required
184
+ * // knowledgeBaseConfiguration: { // KnowledgeBaseRetrieveAndGenerateConfiguration
185
+ * // knowledgeBaseId: "STRING_VALUE", // required
186
+ * // modelArn: "STRING_VALUE", // required
187
+ * // retrievalConfiguration: {
188
+ * // vectorSearchConfiguration: {
189
+ * // numberOfResults: Number("int"),
190
+ * // overrideSearchType: "HYBRID" || "SEMANTIC",
191
+ * // filter: "<RetrievalFilter>",
192
+ * // },
193
+ * // },
194
+ * // generationConfiguration: { // GenerationConfiguration
195
+ * // promptTemplate: { // PromptTemplate
196
+ * // textPromptTemplate: "STRING_VALUE",
197
+ * // },
198
+ * // guardrailConfiguration: { // GuardrailConfiguration
199
+ * // guardrailId: "STRING_VALUE", // required
200
+ * // guardrailVersion: "STRING_VALUE", // required
201
+ * // },
202
+ * // kbInferenceConfig: { // KbInferenceConfig
203
+ * // textInferenceConfig: { // TextInferenceConfig
204
+ * // temperature: Number("float"),
205
+ * // topP: Number("float"),
206
+ * // maxTokens: Number("int"),
207
+ * // stopSequences: [ // RAGStopSequences
208
+ * // "STRING_VALUE",
209
+ * // ],
210
+ * // },
211
+ * // },
212
+ * // additionalModelRequestFields: { // AdditionalModelRequestFields
213
+ * // "<keys>": "DOCUMENT_VALUE",
214
+ * // },
215
+ * // },
216
+ * // orchestrationConfiguration: { // OrchestrationConfiguration
217
+ * // queryTransformationConfiguration: { // QueryTransformationConfiguration
218
+ * // type: "QUERY_DECOMPOSITION", // required
219
+ * // },
220
+ * // },
221
+ * // },
222
+ * // externalSourcesConfiguration: { // ExternalSourcesRetrieveAndGenerateConfiguration
223
+ * // modelArn: "STRING_VALUE", // required
224
+ * // sources: [ // ExternalSources // required
225
+ * // { // ExternalSource
226
+ * // sourceType: "S3" || "BYTE_CONTENT", // required
227
+ * // s3Location: { // S3ObjectDoc
228
+ * // uri: "STRING_VALUE", // required
229
+ * // },
230
+ * // byteContent: { // ByteContentDoc
231
+ * // identifier: "STRING_VALUE", // required
232
+ * // contentType: "STRING_VALUE", // required
233
+ * // data: new Uint8Array(), // required
234
+ * // },
235
+ * // },
236
+ * // ],
237
+ * // generationConfiguration: { // ExternalSourcesGenerationConfiguration
238
+ * // promptTemplate: {
239
+ * // textPromptTemplate: "STRING_VALUE",
240
+ * // },
241
+ * // guardrailConfiguration: {
242
+ * // guardrailId: "STRING_VALUE", // required
243
+ * // guardrailVersion: "STRING_VALUE", // required
244
+ * // },
245
+ * // kbInferenceConfig: {
246
+ * // textInferenceConfig: {
247
+ * // temperature: Number("float"),
248
+ * // topP: Number("float"),
249
+ * // maxTokens: Number("int"),
250
+ * // stopSequences: [
251
+ * // "STRING_VALUE",
252
+ * // ],
253
+ * // },
254
+ * // },
255
+ * // additionalModelRequestFields: {
256
+ * // "<keys>": "DOCUMENT_VALUE",
257
+ * // },
258
+ * // },
259
+ * // },
260
+ * // },
108
261
* // },
109
262
* // },
110
263
* // ],
0 commit comments