oci-generativeaiagent 2.99.0 → 2.100.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -4
- package/index.js +1 -4
- package/index.js.map +1 -1
- package/lib/client.d.ts +273 -337
- package/lib/client.js +279 -337
- package/lib/client.js.map +1 -1
- package/lib/generativeaiagent-waiter.d.ts +1 -4
- package/lib/generativeaiagent-waiter.js +1 -4
- package/lib/generativeaiagent-waiter.js.map +1 -1
- package/lib/model/action-type.d.ts +1 -4
- package/lib/model/action-type.js +1 -4
- package/lib/model/action-type.js.map +1 -1
- package/lib/model/agent-collection.d.ts +4 -9
- package/lib/model/agent-collection.js +1 -4
- package/lib/model/agent-collection.js.map +1 -1
- package/lib/model/agent-endpoint-collection.d.ts +4 -9
- package/lib/model/agent-endpoint-collection.js +1 -4
- package/lib/model/agent-endpoint-collection.js.map +1 -1
- package/lib/model/agent-endpoint-summary.d.ts +4 -9
- package/lib/model/agent-endpoint-summary.js +1 -4
- package/lib/model/agent-endpoint-summary.js.map +1 -1
- package/lib/model/agent-endpoint.d.ts +2 -7
- package/lib/model/agent-endpoint.js +1 -4
- package/lib/model/agent-endpoint.js.map +1 -1
- package/lib/model/agent-summary.d.ts +4 -9
- package/lib/model/agent-summary.js +1 -4
- package/lib/model/agent-summary.js.map +1 -1
- package/lib/model/agent.d.ts +2 -7
- package/lib/model/agent.js +1 -4
- package/lib/model/agent.js.map +1 -1
- package/lib/model/basic-auth-secret.d.ts +4 -9
- package/lib/model/basic-auth-secret.js +1 -4
- package/lib/model/basic-auth-secret.js.map +1 -1
- package/lib/model/change-agent-compartment-details.d.ts +4 -9
- package/lib/model/change-agent-compartment-details.js +1 -4
- package/lib/model/change-agent-compartment-details.js.map +1 -1
- package/lib/model/change-agent-endpoint-compartment-details.d.ts +4 -9
- package/lib/model/change-agent-endpoint-compartment-details.js +1 -4
- package/lib/model/change-agent-endpoint-compartment-details.js.map +1 -1
- package/lib/model/change-knowledge-base-compartment-details.d.ts +4 -9
- package/lib/model/change-knowledge-base-compartment-details.js +1 -4
- package/lib/model/change-knowledge-base-compartment-details.js.map +1 -1
- package/lib/model/content-moderation-config.d.ts +1 -4
- package/lib/model/content-moderation-config.js +1 -4
- package/lib/model/content-moderation-config.js.map +1 -1
- package/lib/model/create-agent-details.d.ts +4 -9
- package/lib/model/create-agent-details.js +1 -4
- package/lib/model/create-agent-details.js.map +1 -1
- package/lib/model/create-agent-endpoint-details.d.ts +4 -9
- package/lib/model/create-agent-endpoint-details.js +1 -4
- package/lib/model/create-agent-endpoint-details.js.map +1 -1
- package/lib/model/create-data-ingestion-job-details.d.ts +4 -9
- package/lib/model/create-data-ingestion-job-details.js +1 -4
- package/lib/model/create-data-ingestion-job-details.js.map +1 -1
- package/lib/model/create-data-source-details.d.ts +4 -9
- package/lib/model/create-data-source-details.js +1 -4
- package/lib/model/create-data-source-details.js.map +1 -1
- package/lib/model/create-knowledge-base-details.d.ts +4 -9
- package/lib/model/create-knowledge-base-details.js +1 -4
- package/lib/model/create-knowledge-base-details.js.map +1 -1
- package/lib/model/data-ingestion-job-collection.d.ts +4 -9
- package/lib/model/data-ingestion-job-collection.js +1 -4
- package/lib/model/data-ingestion-job-collection.js.map +1 -1
- package/lib/model/data-ingestion-job-statistics.d.ts +4 -9
- package/lib/model/data-ingestion-job-statistics.js +1 -4
- package/lib/model/data-ingestion-job-statistics.js.map +1 -1
- package/lib/model/data-ingestion-job-summary.d.ts +4 -9
- package/lib/model/data-ingestion-job-summary.js +1 -4
- package/lib/model/data-ingestion-job-summary.js.map +1 -1
- package/lib/model/data-ingestion-job.d.ts +6 -7
- package/lib/model/data-ingestion-job.js +1 -4
- package/lib/model/data-ingestion-job.js.map +1 -1
- package/lib/model/data-source-collection.d.ts +4 -9
- package/lib/model/data-source-collection.js +1 -4
- package/lib/model/data-source-collection.js.map +1 -1
- package/lib/model/data-source-config.d.ts +8 -9
- package/lib/model/data-source-config.js +1 -4
- package/lib/model/data-source-config.js.map +1 -1
- package/lib/model/data-source-summary.d.ts +4 -9
- package/lib/model/data-source-summary.js +1 -4
- package/lib/model/data-source-summary.js.map +1 -1
- package/lib/model/data-source.d.ts +2 -7
- package/lib/model/data-source.js +1 -4
- package/lib/model/data-source.js.map +1 -1
- package/lib/model/database-connection.d.ts +4 -9
- package/lib/model/database-connection.js +1 -4
- package/lib/model/database-connection.js.map +1 -1
- package/lib/model/database-function.d.ts +4 -9
- package/lib/model/database-function.js +1 -4
- package/lib/model/database-function.js.map +1 -1
- package/lib/model/database-tool-connection.d.ts +4 -9
- package/lib/model/database-tool-connection.js +1 -4
- package/lib/model/database-tool-connection.js.map +1 -1
- package/lib/model/default-index-config.d.ts +4 -9
- package/lib/model/default-index-config.js +1 -4
- package/lib/model/default-index-config.js.map +1 -1
- package/lib/model/idcs-secret.d.ts +4 -9
- package/lib/model/idcs-secret.js +1 -4
- package/lib/model/idcs-secret.js.map +1 -1
- package/lib/model/index-config.d.ts +4 -9
- package/lib/model/index-config.js +1 -4
- package/lib/model/index-config.js.map +1 -1
- package/lib/model/index-schema.d.ts +4 -9
- package/lib/model/index-schema.js +1 -4
- package/lib/model/index-schema.js.map +1 -1
- package/lib/model/index.d.ts +3 -4
- package/lib/model/index.js +5 -6
- package/lib/model/index.js.map +1 -1
- package/lib/model/knowledge-base-collection.d.ts +4 -9
- package/lib/model/knowledge-base-collection.js +1 -4
- package/lib/model/knowledge-base-collection.js.map +1 -1
- package/lib/model/knowledge-base-statistics.d.ts +34 -0
- package/lib/model/knowledge-base-statistics.js +38 -0
- package/lib/model/knowledge-base-statistics.js.map +1 -0
- package/lib/model/knowledge-base-summary.d.ts +4 -9
- package/lib/model/knowledge-base-summary.js +1 -4
- package/lib/model/knowledge-base-summary.js.map +1 -1
- package/lib/model/knowledge-base.d.ts +3 -7
- package/lib/model/knowledge-base.js +8 -5
- package/lib/model/knowledge-base.js.map +1 -1
- package/lib/model/model-index.d.ts +4 -9
- package/lib/model/model-index.js +1 -4
- package/lib/model/model-index.js.map +1 -1
- package/lib/model/object-storage-prefix.d.ts +4 -9
- package/lib/model/object-storage-prefix.js +1 -4
- package/lib/model/object-storage-prefix.js.map +1 -1
- package/lib/model/oci-database-config.d.ts +4 -9
- package/lib/model/oci-database-config.js +1 -4
- package/lib/model/oci-database-config.js.map +1 -1
- package/lib/model/oci-object-storage-data-source-config.d.ts +5 -10
- package/lib/model/oci-object-storage-data-source-config.js +1 -4
- package/lib/model/oci-object-storage-data-source-config.js.map +1 -1
- package/lib/model/oci-open-search-index-config.d.ts +4 -9
- package/lib/model/oci-open-search-index-config.js +1 -4
- package/lib/model/oci-open-search-index-config.js.map +1 -1
- package/lib/model/operation-status.d.ts +1 -4
- package/lib/model/operation-status.js +1 -4
- package/lib/model/operation-status.js.map +1 -1
- package/lib/model/operation-type.d.ts +4 -4
- package/lib/model/operation-type.js +4 -4
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/secret-detail.d.ts +4 -9
- package/lib/model/secret-detail.js +1 -4
- package/lib/model/secret-detail.js.map +1 -1
- package/lib/model/session-config.d.ts +4 -9
- package/lib/model/session-config.js +1 -4
- package/lib/model/session-config.js.map +1 -1
- package/lib/model/sort-order.d.ts +5 -11
- package/lib/model/sort-order.js +5 -11
- package/lib/model/sort-order.js.map +1 -1
- package/lib/model/update-agent-details.d.ts +4 -9
- package/lib/model/update-agent-details.js +1 -4
- package/lib/model/update-agent-details.js.map +1 -1
- package/lib/model/update-agent-endpoint-details.d.ts +4 -9
- package/lib/model/update-agent-endpoint-details.js +1 -4
- package/lib/model/update-agent-endpoint-details.js.map +1 -1
- package/lib/model/update-data-source-details.d.ts +4 -9
- package/lib/model/update-data-source-details.js +1 -4
- package/lib/model/update-data-source-details.js.map +1 -1
- package/lib/model/update-knowledge-base-details.d.ts +4 -9
- package/lib/model/update-knowledge-base-details.js +1 -4
- package/lib/model/update-knowledge-base-details.js.map +1 -1
- package/lib/model/work-request-error-collection.d.ts +4 -9
- package/lib/model/work-request-error-collection.js +1 -4
- package/lib/model/work-request-error-collection.js.map +1 -1
- package/lib/model/work-request-error.d.ts +4 -9
- package/lib/model/work-request-error.js +1 -4
- package/lib/model/work-request-error.js.map +1 -1
- package/lib/model/work-request-log-entry-collection.d.ts +4 -9
- package/lib/model/work-request-log-entry-collection.js +1 -4
- package/lib/model/work-request-log-entry-collection.js.map +1 -1
- package/lib/model/work-request-log-entry.d.ts +4 -9
- package/lib/model/work-request-log-entry.js +1 -4
- package/lib/model/work-request-log-entry.js.map +1 -1
- package/lib/model/work-request-resource-metadata-key.d.ts +1 -4
- package/lib/model/work-request-resource-metadata-key.js +1 -4
- package/lib/model/work-request-resource-metadata-key.js.map +1 -1
- package/lib/model/work-request-resource.d.ts +4 -9
- package/lib/model/work-request-resource.js +1 -4
- package/lib/model/work-request-resource.js.map +1 -1
- package/lib/model/work-request-summary-collection.d.ts +4 -9
- package/lib/model/work-request-summary-collection.js +1 -4
- package/lib/model/work-request-summary-collection.js.map +1 -1
- package/lib/model/work-request-summary.d.ts +4 -9
- package/lib/model/work-request-summary.js +1 -4
- package/lib/model/work-request-summary.js.map +1 -1
- package/lib/model/work-request.d.ts +6 -11
- package/lib/model/work-request.js +1 -4
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/index.d.ts +1 -4
- package/lib/request/index.js +1 -4
- package/lib/request/index.js.map +1 -1
- package/lib/response/index.d.ts +1 -4
- package/lib/response/index.js +1 -4
- package/lib/response/index.js.map +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Generative AI Agents Management API
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
|
|
4
|
+
* OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
|
|
8
5
|
|
|
9
6
|
OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
|
|
10
7
|
|
|
@@ -81,6 +78,7 @@ class GenerativeAiAgentClient {
|
|
|
81
78
|
const requestSigner = params.authenticationDetailsProvider
|
|
82
79
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
83
80
|
: null;
|
|
81
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
84
82
|
if (clientConfiguration) {
|
|
85
83
|
this._clientConfiguration = clientConfiguration;
|
|
86
84
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
@@ -202,23 +200,31 @@ class GenerativeAiAgentClient {
|
|
|
202
200
|
this._circuitBreaker.shutdown();
|
|
203
201
|
}
|
|
204
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
205
|
+
*/
|
|
206
|
+
closeProvider() {
|
|
207
|
+
if (this._authProvider) {
|
|
208
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
209
|
+
(this._authProvider).closeProvider();
|
|
210
|
+
}
|
|
211
|
+
}
|
|
205
212
|
/**
|
|
206
213
|
* Close the client once it is no longer needed
|
|
207
214
|
*/
|
|
208
215
|
close() {
|
|
209
216
|
this.shutdownCircuitBreaker();
|
|
217
|
+
this.closeProvider();
|
|
210
218
|
}
|
|
211
219
|
/**
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
221
|
-
*/
|
|
220
|
+
* Cancels a work request.
|
|
221
|
+
*
|
|
222
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
223
|
+
* @param CancelWorkRequestRequest
|
|
224
|
+
* @return CancelWorkRequestResponse
|
|
225
|
+
* @throws OciError when an error occurs
|
|
226
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
227
|
+
*/
|
|
222
228
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
223
229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
224
230
|
if (this.logger)
|
|
@@ -267,17 +273,15 @@ class GenerativeAiAgentClient {
|
|
|
267
273
|
});
|
|
268
274
|
}
|
|
269
275
|
/**
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
|
|
280
|
-
*/
|
|
276
|
+
* Moves an agent into a different compartment within the same tenancy. For information about moving resources between
|
|
277
|
+
* compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
278
|
+
*
|
|
279
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
280
|
+
* @param ChangeAgentCompartmentRequest
|
|
281
|
+
* @return ChangeAgentCompartmentResponse
|
|
282
|
+
* @throws OciError when an error occurs
|
|
283
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
|
|
284
|
+
*/
|
|
281
285
|
changeAgentCompartment(changeAgentCompartmentRequest) {
|
|
282
286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
283
287
|
if (this.logger)
|
|
@@ -333,17 +337,15 @@ class GenerativeAiAgentClient {
|
|
|
333
337
|
});
|
|
334
338
|
}
|
|
335
339
|
/**
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ChangeAgentEndpointCompartment.ts.html |here} to see how to use ChangeAgentEndpointCompartment API.
|
|
346
|
-
*/
|
|
340
|
+
* Moves an endpoint into a different compartment within the same tenancy. For information about moving resources between
|
|
341
|
+
* compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
342
|
+
*
|
|
343
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
344
|
+
* @param ChangeAgentEndpointCompartmentRequest
|
|
345
|
+
* @return ChangeAgentEndpointCompartmentResponse
|
|
346
|
+
* @throws OciError when an error occurs
|
|
347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ChangeAgentEndpointCompartment.ts.html |here} to see how to use ChangeAgentEndpointCompartment API.
|
|
348
|
+
*/
|
|
347
349
|
changeAgentEndpointCompartment(changeAgentEndpointCompartmentRequest) {
|
|
348
350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
349
351
|
if (this.logger)
|
|
@@ -399,17 +401,15 @@ class GenerativeAiAgentClient {
|
|
|
399
401
|
});
|
|
400
402
|
}
|
|
401
403
|
/**
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ChangeKnowledgeBaseCompartment.ts.html |here} to see how to use ChangeKnowledgeBaseCompartment API.
|
|
412
|
-
*/
|
|
404
|
+
* Moves a knowledge base into a different compartment within the same tenancy. For information about moving resources between
|
|
405
|
+
* compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
406
|
+
*
|
|
407
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
408
|
+
* @param ChangeKnowledgeBaseCompartmentRequest
|
|
409
|
+
* @return ChangeKnowledgeBaseCompartmentResponse
|
|
410
|
+
* @throws OciError when an error occurs
|
|
411
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ChangeKnowledgeBaseCompartment.ts.html |here} to see how to use ChangeKnowledgeBaseCompartment API.
|
|
412
|
+
*/
|
|
413
413
|
changeKnowledgeBaseCompartment(changeKnowledgeBaseCompartmentRequest) {
|
|
414
414
|
return __awaiter(this, void 0, void 0, function* () {
|
|
415
415
|
if (this.logger)
|
|
@@ -465,16 +465,14 @@ class GenerativeAiAgentClient {
|
|
|
465
465
|
});
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateAgent.ts.html |here} to see how to use CreateAgent API.
|
|
477
|
-
*/
|
|
468
|
+
* Creates an agent.
|
|
469
|
+
*
|
|
470
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
471
|
+
* @param CreateAgentRequest
|
|
472
|
+
* @return CreateAgentResponse
|
|
473
|
+
* @throws OciError when an error occurs
|
|
474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateAgent.ts.html |here} to see how to use CreateAgent API.
|
|
475
|
+
*/
|
|
478
476
|
createAgent(createAgentRequest) {
|
|
479
477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
480
478
|
if (this.logger)
|
|
@@ -546,16 +544,14 @@ class GenerativeAiAgentClient {
|
|
|
546
544
|
});
|
|
547
545
|
}
|
|
548
546
|
/**
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateAgentEndpoint.ts.html |here} to see how to use CreateAgentEndpoint API.
|
|
558
|
-
*/
|
|
547
|
+
* Creates an endpoint.
|
|
548
|
+
*
|
|
549
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
550
|
+
* @param CreateAgentEndpointRequest
|
|
551
|
+
* @return CreateAgentEndpointResponse
|
|
552
|
+
* @throws OciError when an error occurs
|
|
553
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateAgentEndpoint.ts.html |here} to see how to use CreateAgentEndpoint API.
|
|
554
|
+
*/
|
|
559
555
|
createAgentEndpoint(createAgentEndpointRequest) {
|
|
560
556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
561
557
|
if (this.logger)
|
|
@@ -627,16 +623,14 @@ class GenerativeAiAgentClient {
|
|
|
627
623
|
});
|
|
628
624
|
}
|
|
629
625
|
/**
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateDataIngestionJob.ts.html |here} to see how to use CreateDataIngestionJob API.
|
|
639
|
-
*/
|
|
626
|
+
* Creates a data ingestion job.
|
|
627
|
+
*
|
|
628
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
629
|
+
* @param CreateDataIngestionJobRequest
|
|
630
|
+
* @return CreateDataIngestionJobResponse
|
|
631
|
+
* @throws OciError when an error occurs
|
|
632
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateDataIngestionJob.ts.html |here} to see how to use CreateDataIngestionJob API.
|
|
633
|
+
*/
|
|
640
634
|
createDataIngestionJob(createDataIngestionJobRequest) {
|
|
641
635
|
return __awaiter(this, void 0, void 0, function* () {
|
|
642
636
|
if (this.logger)
|
|
@@ -708,16 +702,14 @@ class GenerativeAiAgentClient {
|
|
|
708
702
|
});
|
|
709
703
|
}
|
|
710
704
|
/**
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateDataSource.ts.html |here} to see how to use CreateDataSource API.
|
|
720
|
-
*/
|
|
705
|
+
* Creates a data source.
|
|
706
|
+
*
|
|
707
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
708
|
+
* @param CreateDataSourceRequest
|
|
709
|
+
* @return CreateDataSourceResponse
|
|
710
|
+
* @throws OciError when an error occurs
|
|
711
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateDataSource.ts.html |here} to see how to use CreateDataSource API.
|
|
712
|
+
*/
|
|
721
713
|
createDataSource(createDataSourceRequest) {
|
|
722
714
|
return __awaiter(this, void 0, void 0, function* () {
|
|
723
715
|
if (this.logger)
|
|
@@ -789,16 +781,14 @@ class GenerativeAiAgentClient {
|
|
|
789
781
|
});
|
|
790
782
|
}
|
|
791
783
|
/**
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateKnowledgeBase.ts.html |here} to see how to use CreateKnowledgeBase API.
|
|
801
|
-
*/
|
|
784
|
+
* Creates a knowledge base.
|
|
785
|
+
*
|
|
786
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
787
|
+
* @param CreateKnowledgeBaseRequest
|
|
788
|
+
* @return CreateKnowledgeBaseResponse
|
|
789
|
+
* @throws OciError when an error occurs
|
|
790
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateKnowledgeBase.ts.html |here} to see how to use CreateKnowledgeBase API.
|
|
791
|
+
*/
|
|
802
792
|
createKnowledgeBase(createKnowledgeBaseRequest) {
|
|
803
793
|
return __awaiter(this, void 0, void 0, function* () {
|
|
804
794
|
if (this.logger)
|
|
@@ -870,16 +860,14 @@ class GenerativeAiAgentClient {
|
|
|
870
860
|
});
|
|
871
861
|
}
|
|
872
862
|
/**
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
|
|
882
|
-
*/
|
|
863
|
+
* Deletes an agent.
|
|
864
|
+
*
|
|
865
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
866
|
+
* @param DeleteAgentRequest
|
|
867
|
+
* @return DeleteAgentResponse
|
|
868
|
+
* @throws OciError when an error occurs
|
|
869
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
|
|
870
|
+
*/
|
|
883
871
|
deleteAgent(deleteAgentRequest) {
|
|
884
872
|
return __awaiter(this, void 0, void 0, function* () {
|
|
885
873
|
if (this.logger)
|
|
@@ -933,16 +921,14 @@ class GenerativeAiAgentClient {
|
|
|
933
921
|
});
|
|
934
922
|
}
|
|
935
923
|
/**
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteAgentEndpoint.ts.html |here} to see how to use DeleteAgentEndpoint API.
|
|
945
|
-
*/
|
|
924
|
+
* Deletes an endpoint.
|
|
925
|
+
*
|
|
926
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
927
|
+
* @param DeleteAgentEndpointRequest
|
|
928
|
+
* @return DeleteAgentEndpointResponse
|
|
929
|
+
* @throws OciError when an error occurs
|
|
930
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteAgentEndpoint.ts.html |here} to see how to use DeleteAgentEndpoint API.
|
|
931
|
+
*/
|
|
946
932
|
deleteAgentEndpoint(deleteAgentEndpointRequest) {
|
|
947
933
|
return __awaiter(this, void 0, void 0, function* () {
|
|
948
934
|
if (this.logger)
|
|
@@ -996,16 +982,14 @@ class GenerativeAiAgentClient {
|
|
|
996
982
|
});
|
|
997
983
|
}
|
|
998
984
|
/**
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteDataIngestionJob.ts.html |here} to see how to use DeleteDataIngestionJob API.
|
|
1008
|
-
*/
|
|
985
|
+
* Deletes a data ingestion job.
|
|
986
|
+
*
|
|
987
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
988
|
+
* @param DeleteDataIngestionJobRequest
|
|
989
|
+
* @return DeleteDataIngestionJobResponse
|
|
990
|
+
* @throws OciError when an error occurs
|
|
991
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteDataIngestionJob.ts.html |here} to see how to use DeleteDataIngestionJob API.
|
|
992
|
+
*/
|
|
1009
993
|
deleteDataIngestionJob(deleteDataIngestionJobRequest) {
|
|
1010
994
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1011
995
|
if (this.logger)
|
|
@@ -1059,16 +1043,14 @@ class GenerativeAiAgentClient {
|
|
|
1059
1043
|
});
|
|
1060
1044
|
}
|
|
1061
1045
|
/**
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteDataSource.ts.html |here} to see how to use DeleteDataSource API.
|
|
1071
|
-
*/
|
|
1046
|
+
* Deletes a data source.
|
|
1047
|
+
*
|
|
1048
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1049
|
+
* @param DeleteDataSourceRequest
|
|
1050
|
+
* @return DeleteDataSourceResponse
|
|
1051
|
+
* @throws OciError when an error occurs
|
|
1052
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteDataSource.ts.html |here} to see how to use DeleteDataSource API.
|
|
1053
|
+
*/
|
|
1072
1054
|
deleteDataSource(deleteDataSourceRequest) {
|
|
1073
1055
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1074
1056
|
if (this.logger)
|
|
@@ -1122,16 +1104,14 @@ class GenerativeAiAgentClient {
|
|
|
1122
1104
|
});
|
|
1123
1105
|
}
|
|
1124
1106
|
/**
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteKnowledgeBase.ts.html |here} to see how to use DeleteKnowledgeBase API.
|
|
1134
|
-
*/
|
|
1107
|
+
* Deletes a knowledge base.
|
|
1108
|
+
*
|
|
1109
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1110
|
+
* @param DeleteKnowledgeBaseRequest
|
|
1111
|
+
* @return DeleteKnowledgeBaseResponse
|
|
1112
|
+
* @throws OciError when an error occurs
|
|
1113
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteKnowledgeBase.ts.html |here} to see how to use DeleteKnowledgeBase API.
|
|
1114
|
+
*/
|
|
1135
1115
|
deleteKnowledgeBase(deleteKnowledgeBaseRequest) {
|
|
1136
1116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1137
1117
|
if (this.logger)
|
|
@@ -1185,16 +1165,14 @@ class GenerativeAiAgentClient {
|
|
|
1185
1165
|
});
|
|
1186
1166
|
}
|
|
1187
1167
|
/**
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetAgent.ts.html |here} to see how to use GetAgent API.
|
|
1197
|
-
*/
|
|
1168
|
+
* Gets information about an agent.
|
|
1169
|
+
*
|
|
1170
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1171
|
+
* @param GetAgentRequest
|
|
1172
|
+
* @return GetAgentResponse
|
|
1173
|
+
* @throws OciError when an error occurs
|
|
1174
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetAgent.ts.html |here} to see how to use GetAgent API.
|
|
1175
|
+
*/
|
|
1198
1176
|
getAgent(getAgentRequest) {
|
|
1199
1177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1200
1178
|
if (this.logger)
|
|
@@ -1251,16 +1229,14 @@ class GenerativeAiAgentClient {
|
|
|
1251
1229
|
});
|
|
1252
1230
|
}
|
|
1253
1231
|
/**
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetAgentEndpoint.ts.html |here} to see how to use GetAgentEndpoint API.
|
|
1263
|
-
*/
|
|
1232
|
+
* Gets information about an endpoint.
|
|
1233
|
+
*
|
|
1234
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1235
|
+
* @param GetAgentEndpointRequest
|
|
1236
|
+
* @return GetAgentEndpointResponse
|
|
1237
|
+
* @throws OciError when an error occurs
|
|
1238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetAgentEndpoint.ts.html |here} to see how to use GetAgentEndpoint API.
|
|
1239
|
+
*/
|
|
1264
1240
|
getAgentEndpoint(getAgentEndpointRequest) {
|
|
1265
1241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1266
1242
|
if (this.logger)
|
|
@@ -1317,16 +1293,14 @@ class GenerativeAiAgentClient {
|
|
|
1317
1293
|
});
|
|
1318
1294
|
}
|
|
1319
1295
|
/**
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetDataIngestionJob.ts.html |here} to see how to use GetDataIngestionJob API.
|
|
1329
|
-
*/
|
|
1296
|
+
* Gets information about a data ingestion job.
|
|
1297
|
+
*
|
|
1298
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1299
|
+
* @param GetDataIngestionJobRequest
|
|
1300
|
+
* @return GetDataIngestionJobResponse
|
|
1301
|
+
* @throws OciError when an error occurs
|
|
1302
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetDataIngestionJob.ts.html |here} to see how to use GetDataIngestionJob API.
|
|
1303
|
+
*/
|
|
1330
1304
|
getDataIngestionJob(getDataIngestionJobRequest) {
|
|
1331
1305
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1332
1306
|
if (this.logger)
|
|
@@ -1383,16 +1357,14 @@ class GenerativeAiAgentClient {
|
|
|
1383
1357
|
});
|
|
1384
1358
|
}
|
|
1385
1359
|
/**
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetDataIngestionJobLogContent.ts.html |here} to see how to use GetDataIngestionJobLogContent API.
|
|
1395
|
-
*/
|
|
1360
|
+
* Returns the raw log file for the specified data ingestion job in text format.
|
|
1361
|
+
*
|
|
1362
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1363
|
+
* @param GetDataIngestionJobLogContentRequest
|
|
1364
|
+
* @return GetDataIngestionJobLogContentResponse
|
|
1365
|
+
* @throws OciError when an error occurs
|
|
1366
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetDataIngestionJobLogContent.ts.html |here} to see how to use GetDataIngestionJobLogContent API.
|
|
1367
|
+
*/
|
|
1396
1368
|
getDataIngestionJobLogContent(getDataIngestionJobLogContentRequest) {
|
|
1397
1369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1398
1370
|
if (this.logger)
|
|
@@ -1443,16 +1415,14 @@ class GenerativeAiAgentClient {
|
|
|
1443
1415
|
});
|
|
1444
1416
|
}
|
|
1445
1417
|
/**
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetDataSource.ts.html |here} to see how to use GetDataSource API.
|
|
1455
|
-
*/
|
|
1418
|
+
* Gets information about a data source.
|
|
1419
|
+
*
|
|
1420
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1421
|
+
* @param GetDataSourceRequest
|
|
1422
|
+
* @return GetDataSourceResponse
|
|
1423
|
+
* @throws OciError when an error occurs
|
|
1424
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetDataSource.ts.html |here} to see how to use GetDataSource API.
|
|
1425
|
+
*/
|
|
1456
1426
|
getDataSource(getDataSourceRequest) {
|
|
1457
1427
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1458
1428
|
if (this.logger)
|
|
@@ -1509,16 +1479,14 @@ class GenerativeAiAgentClient {
|
|
|
1509
1479
|
});
|
|
1510
1480
|
}
|
|
1511
1481
|
/**
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetKnowledgeBase.ts.html |here} to see how to use GetKnowledgeBase API.
|
|
1521
|
-
*/
|
|
1482
|
+
* Gets information about a knowledge base.
|
|
1483
|
+
*
|
|
1484
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1485
|
+
* @param GetKnowledgeBaseRequest
|
|
1486
|
+
* @return GetKnowledgeBaseResponse
|
|
1487
|
+
* @throws OciError when an error occurs
|
|
1488
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetKnowledgeBase.ts.html |here} to see how to use GetKnowledgeBase API.
|
|
1489
|
+
*/
|
|
1522
1490
|
getKnowledgeBase(getKnowledgeBaseRequest) {
|
|
1523
1491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1524
1492
|
if (this.logger)
|
|
@@ -1575,16 +1543,14 @@ class GenerativeAiAgentClient {
|
|
|
1575
1543
|
});
|
|
1576
1544
|
}
|
|
1577
1545
|
/**
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1587
|
-
*/
|
|
1546
|
+
* Gets the details of a work request.
|
|
1547
|
+
*
|
|
1548
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1549
|
+
* @param GetWorkRequestRequest
|
|
1550
|
+
* @return GetWorkRequestResponse
|
|
1551
|
+
* @throws OciError when an error occurs
|
|
1552
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1553
|
+
*/
|
|
1588
1554
|
getWorkRequest(getWorkRequestRequest) {
|
|
1589
1555
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1590
1556
|
if (this.logger)
|
|
@@ -1646,16 +1612,14 @@ class GenerativeAiAgentClient {
|
|
|
1646
1612
|
});
|
|
1647
1613
|
}
|
|
1648
1614
|
/**
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListAgentEndpoints.ts.html |here} to see how to use ListAgentEndpoints API.
|
|
1658
|
-
*/
|
|
1615
|
+
* Gets a list of endpoints.
|
|
1616
|
+
*
|
|
1617
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1618
|
+
* @param ListAgentEndpointsRequest
|
|
1619
|
+
* @return ListAgentEndpointsResponse
|
|
1620
|
+
* @throws OciError when an error occurs
|
|
1621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListAgentEndpoints.ts.html |here} to see how to use ListAgentEndpoints API.
|
|
1622
|
+
*/
|
|
1659
1623
|
listAgentEndpoints(listAgentEndpointsRequest) {
|
|
1660
1624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1661
1625
|
if (this.logger)
|
|
@@ -1719,16 +1683,14 @@ class GenerativeAiAgentClient {
|
|
|
1719
1683
|
});
|
|
1720
1684
|
}
|
|
1721
1685
|
/**
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListAgents.ts.html |here} to see how to use ListAgents API.
|
|
1731
|
-
*/
|
|
1686
|
+
* Gets a list of agents.
|
|
1687
|
+
*
|
|
1688
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1689
|
+
* @param ListAgentsRequest
|
|
1690
|
+
* @return ListAgentsResponse
|
|
1691
|
+
* @throws OciError when an error occurs
|
|
1692
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListAgents.ts.html |here} to see how to use ListAgents API.
|
|
1693
|
+
*/
|
|
1732
1694
|
listAgents(listAgentsRequest) {
|
|
1733
1695
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1734
1696
|
if (this.logger)
|
|
@@ -1791,16 +1753,14 @@ class GenerativeAiAgentClient {
|
|
|
1791
1753
|
});
|
|
1792
1754
|
}
|
|
1793
1755
|
/**
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListDataIngestionJobs.ts.html |here} to see how to use ListDataIngestionJobs API.
|
|
1803
|
-
*/
|
|
1756
|
+
* Gets a list of data ingestion jobs.
|
|
1757
|
+
*
|
|
1758
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1759
|
+
* @param ListDataIngestionJobsRequest
|
|
1760
|
+
* @return ListDataIngestionJobsResponse
|
|
1761
|
+
* @throws OciError when an error occurs
|
|
1762
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListDataIngestionJobs.ts.html |here} to see how to use ListDataIngestionJobs API.
|
|
1763
|
+
*/
|
|
1804
1764
|
listDataIngestionJobs(listDataIngestionJobsRequest) {
|
|
1805
1765
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1806
1766
|
if (this.logger)
|
|
@@ -1864,16 +1824,14 @@ class GenerativeAiAgentClient {
|
|
|
1864
1824
|
});
|
|
1865
1825
|
}
|
|
1866
1826
|
/**
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListDataSources.ts.html |here} to see how to use ListDataSources API.
|
|
1876
|
-
*/
|
|
1827
|
+
* Gets a list of data sources.
|
|
1828
|
+
*
|
|
1829
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1830
|
+
* @param ListDataSourcesRequest
|
|
1831
|
+
* @return ListDataSourcesResponse
|
|
1832
|
+
* @throws OciError when an error occurs
|
|
1833
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListDataSources.ts.html |here} to see how to use ListDataSources API.
|
|
1834
|
+
*/
|
|
1877
1835
|
listDataSources(listDataSourcesRequest) {
|
|
1878
1836
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1879
1837
|
if (this.logger)
|
|
@@ -1937,16 +1895,14 @@ class GenerativeAiAgentClient {
|
|
|
1937
1895
|
});
|
|
1938
1896
|
}
|
|
1939
1897
|
/**
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListKnowledgeBases.ts.html |here} to see how to use ListKnowledgeBases API.
|
|
1949
|
-
*/
|
|
1898
|
+
* Gets a list of knowledge bases.
|
|
1899
|
+
*
|
|
1900
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1901
|
+
* @param ListKnowledgeBasesRequest
|
|
1902
|
+
* @return ListKnowledgeBasesResponse
|
|
1903
|
+
* @throws OciError when an error occurs
|
|
1904
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListKnowledgeBases.ts.html |here} to see how to use ListKnowledgeBases API.
|
|
1905
|
+
*/
|
|
1950
1906
|
listKnowledgeBases(listKnowledgeBasesRequest) {
|
|
1951
1907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1952
1908
|
if (this.logger)
|
|
@@ -2009,16 +1965,14 @@ class GenerativeAiAgentClient {
|
|
|
2009
1965
|
});
|
|
2010
1966
|
}
|
|
2011
1967
|
/**
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2021
|
-
*/
|
|
1968
|
+
* Lists the errors for a work request.
|
|
1969
|
+
*
|
|
1970
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1971
|
+
* @param ListWorkRequestErrorsRequest
|
|
1972
|
+
* @return ListWorkRequestErrorsResponse
|
|
1973
|
+
* @throws OciError when an error occurs
|
|
1974
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1975
|
+
*/
|
|
2022
1976
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2023
1977
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2024
1978
|
if (this.logger)
|
|
@@ -2080,16 +2034,14 @@ class GenerativeAiAgentClient {
|
|
|
2080
2034
|
});
|
|
2081
2035
|
}
|
|
2082
2036
|
/**
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2092
|
-
*/
|
|
2037
|
+
* Lists the logs for a work request.
|
|
2038
|
+
*
|
|
2039
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2040
|
+
* @param ListWorkRequestLogsRequest
|
|
2041
|
+
* @return ListWorkRequestLogsResponse
|
|
2042
|
+
* @throws OciError when an error occurs
|
|
2043
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2044
|
+
*/
|
|
2093
2045
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2094
2046
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2095
2047
|
if (this.logger)
|
|
@@ -2151,16 +2103,14 @@ class GenerativeAiAgentClient {
|
|
|
2151
2103
|
});
|
|
2152
2104
|
}
|
|
2153
2105
|
/**
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2163
|
-
*/
|
|
2106
|
+
* Lists the work requests in a compartment.
|
|
2107
|
+
*
|
|
2108
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2109
|
+
* @param ListWorkRequestsRequest
|
|
2110
|
+
* @return ListWorkRequestsResponse
|
|
2111
|
+
* @throws OciError when an error occurs
|
|
2112
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2113
|
+
*/
|
|
2164
2114
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2165
2115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2166
2116
|
if (this.logger)
|
|
@@ -2224,16 +2174,14 @@ class GenerativeAiAgentClient {
|
|
|
2224
2174
|
});
|
|
2225
2175
|
}
|
|
2226
2176
|
/**
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
|
|
2236
|
-
*/
|
|
2177
|
+
* Updates an agent.
|
|
2178
|
+
*
|
|
2179
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2180
|
+
* @param UpdateAgentRequest
|
|
2181
|
+
* @return UpdateAgentResponse
|
|
2182
|
+
* @throws OciError when an error occurs
|
|
2183
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
|
|
2184
|
+
*/
|
|
2237
2185
|
updateAgent(updateAgentRequest) {
|
|
2238
2186
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2239
2187
|
if (this.logger)
|
|
@@ -2288,16 +2236,14 @@ class GenerativeAiAgentClient {
|
|
|
2288
2236
|
});
|
|
2289
2237
|
}
|
|
2290
2238
|
/**
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/UpdateAgentEndpoint.ts.html |here} to see how to use UpdateAgentEndpoint API.
|
|
2300
|
-
*/
|
|
2239
|
+
* Updates an endpoint.
|
|
2240
|
+
*
|
|
2241
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2242
|
+
* @param UpdateAgentEndpointRequest
|
|
2243
|
+
* @return UpdateAgentEndpointResponse
|
|
2244
|
+
* @throws OciError when an error occurs
|
|
2245
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/UpdateAgentEndpoint.ts.html |here} to see how to use UpdateAgentEndpoint API.
|
|
2246
|
+
*/
|
|
2301
2247
|
updateAgentEndpoint(updateAgentEndpointRequest) {
|
|
2302
2248
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2303
2249
|
if (this.logger)
|
|
@@ -2352,16 +2298,14 @@ class GenerativeAiAgentClient {
|
|
|
2352
2298
|
});
|
|
2353
2299
|
}
|
|
2354
2300
|
/**
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/UpdateDataSource.ts.html |here} to see how to use UpdateDataSource API.
|
|
2364
|
-
*/
|
|
2301
|
+
* Updates a data source.
|
|
2302
|
+
*
|
|
2303
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2304
|
+
* @param UpdateDataSourceRequest
|
|
2305
|
+
* @return UpdateDataSourceResponse
|
|
2306
|
+
* @throws OciError when an error occurs
|
|
2307
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/UpdateDataSource.ts.html |here} to see how to use UpdateDataSource API.
|
|
2308
|
+
*/
|
|
2365
2309
|
updateDataSource(updateDataSourceRequest) {
|
|
2366
2310
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2367
2311
|
if (this.logger)
|
|
@@ -2416,16 +2360,14 @@ class GenerativeAiAgentClient {
|
|
|
2416
2360
|
});
|
|
2417
2361
|
}
|
|
2418
2362
|
/**
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/UpdateKnowledgeBase.ts.html |here} to see how to use UpdateKnowledgeBase API.
|
|
2428
|
-
*/
|
|
2363
|
+
* Updates a knowledge base.
|
|
2364
|
+
*
|
|
2365
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2366
|
+
* @param UpdateKnowledgeBaseRequest
|
|
2367
|
+
* @return UpdateKnowledgeBaseResponse
|
|
2368
|
+
* @throws OciError when an error occurs
|
|
2369
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/UpdateKnowledgeBase.ts.html |here} to see how to use UpdateKnowledgeBase API.
|
|
2370
|
+
*/
|
|
2429
2371
|
updateKnowledgeBase(updateKnowledgeBaseRequest) {
|
|
2430
2372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2431
2373
|
if (this.logger)
|