oci-generativeaiagent 2.105.0 → 2.106.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/lib/client.d.ts +50 -0
- package/lib/client.js +337 -0
- package/lib/client.js.map +1 -1
- package/lib/generativeaiagent-waiter.d.ts +8 -0
- package/lib/generativeaiagent-waiter.js +12 -0
- package/lib/generativeaiagent-waiter.js.map +1 -1
- package/lib/model/agent-endpoint-summary.d.ts +13 -0
- package/lib/model/agent-endpoint-summary.js +18 -0
- package/lib/model/agent-endpoint-summary.js.map +1 -1
- package/lib/model/agent-endpoint.d.ts +13 -0
- package/lib/model/agent-endpoint.js +18 -0
- package/lib/model/agent-endpoint.js.map +1 -1
- package/lib/model/agent-summary.d.ts +3 -1
- package/lib/model/agent-summary.js +28 -2
- package/lib/model/agent-summary.js.map +1 -1
- package/lib/model/agent.d.ts +3 -1
- package/lib/model/agent.js +28 -2
- package/lib/model/agent.js.map +1 -1
- package/lib/model/api-schema-inline-input-location.d.ts +37 -0
- package/lib/model/api-schema-inline-input-location.js +63 -0
- package/lib/model/api-schema-inline-input-location.js.map +1 -0
- package/lib/model/api-schema-input-location.d.ts +31 -0
- package/lib/model/api-schema-input-location.js +81 -0
- package/lib/model/api-schema-input-location.js.map +1 -0
- package/lib/model/api-schema-object-storage-input-location.d.ts +46 -0
- package/lib/model/api-schema-object-storage-input-location.js +63 -0
- package/lib/model/api-schema-object-storage-input-location.js.map +1 -0
- package/lib/model/content-moderation-guardrail-config.d.ts +39 -0
- package/lib/model/content-moderation-guardrail-config.js +38 -0
- package/lib/model/content-moderation-guardrail-config.js.map +1 -0
- package/lib/model/create-agent-details.d.ts +3 -1
- package/lib/model/create-agent-details.js +28 -2
- package/lib/model/create-agent-details.js.map +1 -1
- package/lib/model/create-agent-endpoint-details.d.ts +13 -0
- package/lib/model/create-agent-endpoint-details.js +18 -0
- package/lib/model/create-agent-endpoint-details.js.map +1 -1
- package/lib/model/create-data-source-details.d.ts +6 -0
- package/lib/model/create-data-source-details.js.map +1 -1
- package/lib/model/create-tool-details.d.ts +77 -0
- package/lib/model/create-tool-details.js +64 -0
- package/lib/model/create-tool-details.js.map +1 -0
- package/lib/model/data-source.d.ts +6 -0
- package/lib/model/data-source.js.map +1 -1
- package/lib/model/function-calling-tool-config.d.ts +35 -0
- package/lib/model/function-calling-tool-config.js +65 -0
- package/lib/model/function-calling-tool-config.js.map +1 -0
- package/lib/model/function.d.ts +46 -0
- package/lib/model/function.js +38 -0
- package/lib/model/function.js.map +1 -0
- package/lib/model/guardrail-config.d.ts +34 -0
- package/lib/model/guardrail-config.js +78 -0
- package/lib/model/guardrail-config.js.map +1 -0
- package/lib/model/guardrail-mode.d.ts +38 -0
- package/lib/model/guardrail-mode.js +49 -0
- package/lib/model/guardrail-mode.js.map +1 -0
- package/lib/model/http-endpoint-auth-config.d.ts +32 -0
- package/lib/model/http-endpoint-auth-config.js +89 -0
- package/lib/model/http-endpoint-auth-config.js.map +1 -0
- package/lib/model/http-endpoint-delegated-bearer-auth-config.d.ts +35 -0
- package/lib/model/http-endpoint-delegated-bearer-auth-config.js +63 -0
- package/lib/model/http-endpoint-delegated-bearer-auth-config.js.map +1 -0
- package/lib/model/http-endpoint-idcs-auth-config.d.ts +35 -0
- package/lib/model/http-endpoint-idcs-auth-config.js +69 -0
- package/lib/model/http-endpoint-idcs-auth-config.js.map +1 -0
- package/lib/model/http-endpoint-no-auth-config.d.ts +34 -0
- package/lib/model/http-endpoint-no-auth-config.js +63 -0
- package/lib/model/http-endpoint-no-auth-config.js.map +1 -0
- package/lib/model/http-endpoint-oci-resource-principal-auth-config.d.ts +34 -0
- package/lib/model/http-endpoint-oci-resource-principal-auth-config.js +63 -0
- package/lib/model/http-endpoint-oci-resource-principal-auth-config.js.map +1 -0
- package/lib/model/http-endpoint-tool-config.d.ts +40 -0
- package/lib/model/http-endpoint-tool-config.js +75 -0
- package/lib/model/http-endpoint-tool-config.js.map +1 -0
- package/lib/model/human-input-config.d.ts +35 -0
- package/lib/model/human-input-config.js +38 -0
- package/lib/model/human-input-config.js.map +1 -0
- package/lib/model/index.d.ts +68 -0
- package/lib/model/index.js +70 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/inline-input-location.d.ts +37 -0
- package/lib/model/inline-input-location.js +61 -0
- package/lib/model/inline-input-location.js.map +1 -0
- package/lib/model/input-location.d.ts +31 -0
- package/lib/model/input-location.js +81 -0
- package/lib/model/input-location.js.map +1 -0
- package/lib/model/knowledge-base-config.d.ts +35 -0
- package/lib/model/knowledge-base-config.js +38 -0
- package/lib/model/knowledge-base-config.js.map +1 -0
- package/lib/model/llm-config.d.ts +33 -0
- package/lib/model/llm-config.js +66 -0
- package/lib/model/llm-config.js.map +1 -0
- package/lib/model/llm-customization.d.ts +35 -0
- package/lib/model/llm-customization.js +38 -0
- package/lib/model/llm-customization.js.map +1 -0
- package/lib/model/object-storage-input-location.d.ts +46 -0
- package/lib/model/object-storage-input-location.js +63 -0
- package/lib/model/object-storage-input-location.js.map +1 -0
- package/lib/model/object-storage-prefix-output-location.d.ts +46 -0
- package/lib/model/object-storage-prefix-output-location.js +63 -0
- package/lib/model/object-storage-prefix-output-location.js.map +1 -0
- package/lib/model/object-storage-prefix.d.ts +1 -1
- package/lib/model/operation-type.d.ts +4 -0
- package/lib/model/operation-type.js +4 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/output-config.d.ts +37 -0
- package/lib/model/output-config.js +66 -0
- package/lib/model/output-config.js.map +1 -0
- package/lib/model/output-location.d.ts +32 -0
- package/lib/model/output-location.js +77 -0
- package/lib/model/output-location.js.map +1 -0
- package/lib/model/personally-identifiable-information-guardrail-config.d.ts +39 -0
- package/lib/model/personally-identifiable-information-guardrail-config.js +38 -0
- package/lib/model/personally-identifiable-information-guardrail-config.js.map +1 -0
- package/lib/model/prompt-injection-guardrail-config.d.ts +35 -0
- package/lib/model/prompt-injection-guardrail-config.js +38 -0
- package/lib/model/prompt-injection-guardrail-config.js.map +1 -0
- package/lib/model/rag-tool-config.d.ts +39 -0
- package/lib/model/rag-tool-config.js +77 -0
- package/lib/model/rag-tool-config.js.map +1 -0
- package/lib/model/sql-tool-config.d.ts +73 -0
- package/lib/model/sql-tool-config.js +111 -0
- package/lib/model/sql-tool-config.js.map +1 -0
- package/lib/model/tool-collection.d.ts +36 -0
- package/lib/model/tool-collection.js +70 -0
- package/lib/model/tool-collection.js.map +1 -0
- package/lib/model/tool-config.d.ts +32 -0
- package/lib/model/tool-config.js +89 -0
- package/lib/model/tool-config.js.map +1 -0
- package/lib/model/tool-summary.d.ts +110 -0
- package/lib/model/tool-summary.js +64 -0
- package/lib/model/tool-summary.js.map +1 -0
- package/lib/model/tool.d.ts +125 -0
- package/lib/model/tool.js +78 -0
- package/lib/model/tool.js.map +1 -0
- package/lib/model/update-agent-details.d.ts +3 -1
- package/lib/model/update-agent-details.js +28 -2
- package/lib/model/update-agent-details.js.map +1 -1
- package/lib/model/update-agent-endpoint-details.d.ts +13 -0
- package/lib/model/update-agent-endpoint-details.js +18 -0
- package/lib/model/update-agent-endpoint-details.js.map +1 -1
- package/lib/model/update-data-source-details.d.ts +6 -0
- package/lib/model/update-data-source-details.js.map +1 -1
- package/lib/model/update-tool-details.d.ts +69 -0
- package/lib/model/update-tool-details.js +64 -0
- package/lib/model/update-tool-details.js.map +1 -0
- package/lib/request/create-tool-request.d.ts +40 -0
- package/lib/request/create-tool-request.js +15 -0
- package/lib/request/create-tool-request.js.map +1 -0
- package/lib/request/delete-tool-request.d.ts +38 -0
- package/lib/request/delete-tool-request.js +15 -0
- package/lib/request/delete-tool-request.js.map +1 -0
- package/lib/request/get-tool-request.d.ts +30 -0
- package/lib/request/get-tool-request.js +15 -0
- package/lib/request/get-tool-request.js.map +1 -0
- package/lib/request/index.d.ts +10 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-tools-request.d.ts +75 -0
- package/lib/request/list-tools-request.js +24 -0
- package/lib/request/list-tools-request.js.map +1 -0
- package/lib/request/update-tool-request.d.ts +43 -0
- package/lib/request/update-tool-request.js +15 -0
- package/lib/request/update-tool-request.js.map +1 -0
- package/lib/response/create-tool-response.d.ts +44 -0
- package/lib/response/create-tool-response.js +15 -0
- package/lib/response/create-tool-response.js.map +1 -0
- package/lib/response/delete-tool-response.d.ts +26 -0
- package/lib/response/delete-tool-response.js +15 -0
- package/lib/response/delete-tool-response.js.map +1 -0
- package/lib/response/get-tool-response.d.ts +30 -0
- package/lib/response/get-tool-response.js +15 -0
- package/lib/response/get-tool-response.js.map +1 -0
- package/lib/response/index.d.ts +10 -0
- package/lib/response/list-tools-response.d.ts +31 -0
- package/lib/response/list-tools-response.js +15 -0
- package/lib/response/list-tools-response.js.map +1 -0
- package/lib/response/update-tool-response.d.ts +26 -0
- package/lib/response/update-tool-response.js +15 -0
- package/lib/response/update-tool-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generative AI Agents Management API
|
|
3
|
+
* 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
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
8
|
+
|
|
9
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
10
|
+
|
|
11
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
12
|
+
|
|
13
|
+
* OpenAPI spec version: 20240531
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
17
|
+
* Do not edit the class manually.
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
20
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
21
|
+
*/
|
|
22
|
+
import * as model from "../model";
|
|
23
|
+
/**
|
|
24
|
+
* Configuration to store results generated by agent.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface OutputConfig {
|
|
28
|
+
"outputLocation": model.ObjectStoragePrefixOutputLocation;
|
|
29
|
+
/**
|
|
30
|
+
* Retention duration of the output data. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
31
|
+
*/
|
|
32
|
+
"retentionPeriodInMinutes"?: number;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace OutputConfig {
|
|
35
|
+
function getJsonObj(obj: OutputConfig): object;
|
|
36
|
+
function getDeserializedJsonObj(obj: OutputConfig): object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generative AI Agents Management API
|
|
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.
|
|
5
|
+
|
|
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.
|
|
7
|
+
|
|
8
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
9
|
+
|
|
10
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
11
|
+
|
|
12
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
13
|
+
|
|
14
|
+
* OpenAPI spec version: 20240531
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*
|
|
20
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
21
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
22
|
+
*/
|
|
23
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
26
|
+
}) : (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
o[k2] = m[k];
|
|
29
|
+
}));
|
|
30
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
31
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
32
|
+
}) : function(o, v) {
|
|
33
|
+
o["default"] = v;
|
|
34
|
+
});
|
|
35
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
36
|
+
if (mod && mod.__esModule) return mod;
|
|
37
|
+
var result = {};
|
|
38
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
39
|
+
__setModuleDefault(result, mod);
|
|
40
|
+
return result;
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.OutputConfig = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var OutputConfig;
|
|
46
|
+
(function (OutputConfig) {
|
|
47
|
+
function getJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"outputLocation": obj.outputLocation
|
|
50
|
+
? model.OutputLocation.getJsonObj(obj.outputLocation)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
OutputConfig.getJsonObj = getJsonObj;
|
|
56
|
+
function getDeserializedJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
58
|
+
"outputLocation": obj.outputLocation
|
|
59
|
+
? model.OutputLocation.getDeserializedJsonObj(obj.outputLocation)
|
|
60
|
+
: undefined
|
|
61
|
+
});
|
|
62
|
+
return jsonObj;
|
|
63
|
+
}
|
|
64
|
+
OutputConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
65
|
+
})(OutputConfig = exports.OutputConfig || (exports.OutputConfig = {}));
|
|
66
|
+
//# sourceMappingURL=output-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/output-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,YAAY,CAyB5B;AAzBD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mCAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyB5B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generative AI Agents Management API
|
|
3
|
+
* 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
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
8
|
+
|
|
9
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
10
|
+
|
|
11
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
12
|
+
|
|
13
|
+
* OpenAPI spec version: 20240531
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
17
|
+
* Do not edit the class manually.
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
20
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Location of the output.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface OutputLocation {
|
|
27
|
+
"outputLocationType": string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace OutputLocation {
|
|
30
|
+
function getJsonObj(obj: OutputLocation): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: OutputLocation): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generative AI Agents Management API
|
|
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.
|
|
5
|
+
|
|
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.
|
|
7
|
+
|
|
8
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
9
|
+
|
|
10
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
11
|
+
|
|
12
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
13
|
+
|
|
14
|
+
* OpenAPI spec version: 20240531
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*
|
|
20
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
21
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
22
|
+
*/
|
|
23
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
26
|
+
}) : (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
o[k2] = m[k];
|
|
29
|
+
}));
|
|
30
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
31
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
32
|
+
}) : function(o, v) {
|
|
33
|
+
o["default"] = v;
|
|
34
|
+
});
|
|
35
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
36
|
+
if (mod && mod.__esModule) return mod;
|
|
37
|
+
var result = {};
|
|
38
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
39
|
+
__setModuleDefault(result, mod);
|
|
40
|
+
return result;
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.OutputLocation = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
const common = require("oci-common");
|
|
46
|
+
var OutputLocation;
|
|
47
|
+
(function (OutputLocation) {
|
|
48
|
+
function getJsonObj(obj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
50
|
+
if (obj && "outputLocationType" in obj && obj.outputLocationType) {
|
|
51
|
+
switch (obj.outputLocationType) {
|
|
52
|
+
case "OBJECT_STORAGE_PREFIX":
|
|
53
|
+
return model.ObjectStoragePrefixOutputLocation.getJsonObj(jsonObj, true);
|
|
54
|
+
default:
|
|
55
|
+
if (common.LOG.logger)
|
|
56
|
+
common.LOG.logger.info(`Unknown value for: ${obj.outputLocationType}`);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
OutputLocation.getJsonObj = getJsonObj;
|
|
62
|
+
function getDeserializedJsonObj(obj) {
|
|
63
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
64
|
+
if (obj && "outputLocationType" in obj && obj.outputLocationType) {
|
|
65
|
+
switch (obj.outputLocationType) {
|
|
66
|
+
case "OBJECT_STORAGE_PREFIX":
|
|
67
|
+
return model.ObjectStoragePrefixOutputLocation.getDeserializedJsonObj(jsonObj, true);
|
|
68
|
+
default:
|
|
69
|
+
if (common.LOG.logger)
|
|
70
|
+
common.LOG.logger.info(`Unknown value for: ${obj.outputLocationType}`);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return jsonObj;
|
|
74
|
+
}
|
|
75
|
+
OutputLocation.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
76
|
+
})(OutputLocation = exports.OutputLocation || (exports.OutputLocation = {}));
|
|
77
|
+
//# sourceMappingURL=output-location.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-location.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/output-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAUtC,IAAiB,cAAc,CAmC9B;AAnCD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,oBAAoB,IAAI,GAAG,IAAI,GAAG,CAAC,kBAAkB,EAAE;YAChE,QAAQ,GAAG,CAAC,kBAAkB,EAAE;gBAC9B,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,iCAAiC,CAAC,UAAU,CACL,OAAQ,EAC1D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC;aAC5E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,yBAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,oBAAoB,IAAI,GAAG,IAAI,GAAG,CAAC,kBAAkB,EAAE;YAChE,QAAQ,GAAG,CAAC,kBAAkB,EAAE;gBAC9B,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CACjB,OAAQ,EAC1D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC;aAC5E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,qCAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAmC9B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generative AI Agents Management API
|
|
3
|
+
* 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
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
8
|
+
|
|
9
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
10
|
+
|
|
11
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
12
|
+
|
|
13
|
+
* OpenAPI spec version: 20240531
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
17
|
+
* Do not edit the class manually.
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
20
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
21
|
+
*/
|
|
22
|
+
import * as model from "../model";
|
|
23
|
+
/**
|
|
24
|
+
* The configuration details for Personally Identifiable Information.
|
|
25
|
+
*/
|
|
26
|
+
export interface PersonallyIdentifiableInformationGuardrailConfig {
|
|
27
|
+
/**
|
|
28
|
+
* An input guardrail mode for personally identifiable information.
|
|
29
|
+
*/
|
|
30
|
+
"inputGuardrailMode"?: model.GuardrailMode;
|
|
31
|
+
/**
|
|
32
|
+
* An output guardrail mode for personally identifiable information.
|
|
33
|
+
*/
|
|
34
|
+
"outputGuardrailMode"?: model.GuardrailMode;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace PersonallyIdentifiableInformationGuardrailConfig {
|
|
37
|
+
function getJsonObj(obj: PersonallyIdentifiableInformationGuardrailConfig): object;
|
|
38
|
+
function getDeserializedJsonObj(obj: PersonallyIdentifiableInformationGuardrailConfig): object;
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generative AI Agents Management API
|
|
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.
|
|
5
|
+
|
|
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.
|
|
7
|
+
|
|
8
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
9
|
+
|
|
10
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
11
|
+
|
|
12
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
13
|
+
|
|
14
|
+
* OpenAPI spec version: 20240531
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*
|
|
20
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
21
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
22
|
+
*/
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.PersonallyIdentifiableInformationGuardrailConfig = void 0;
|
|
25
|
+
var PersonallyIdentifiableInformationGuardrailConfig;
|
|
26
|
+
(function (PersonallyIdentifiableInformationGuardrailConfig) {
|
|
27
|
+
function getJsonObj(obj) {
|
|
28
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
29
|
+
return jsonObj;
|
|
30
|
+
}
|
|
31
|
+
PersonallyIdentifiableInformationGuardrailConfig.getJsonObj = getJsonObj;
|
|
32
|
+
function getDeserializedJsonObj(obj) {
|
|
33
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
34
|
+
return jsonObj;
|
|
35
|
+
}
|
|
36
|
+
PersonallyIdentifiableInformationGuardrailConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
37
|
+
})(PersonallyIdentifiableInformationGuardrailConfig = exports.PersonallyIdentifiableInformationGuardrailConfig || (exports.PersonallyIdentifiableInformationGuardrailConfig = {}));
|
|
38
|
+
//# sourceMappingURL=personally-identifiable-information-guardrail-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"personally-identifiable-information-guardrail-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/personally-identifiable-information-guardrail-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAmBH,IAAiB,gDAAgD,CAahE;AAbD,WAAiB,gDAAgD;IAC/D,SAAgB,UAAU,CAAC,GAAqD;QAC9E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2DAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAqD;QAErD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IANe,uEAAsB,yBAMrC,CAAA;AACH,CAAC,EAbgB,gDAAgD,GAAhD,wDAAgD,KAAhD,wDAAgD,QAahE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generative AI Agents Management API
|
|
3
|
+
* 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
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
8
|
+
|
|
9
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
10
|
+
|
|
11
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
12
|
+
|
|
13
|
+
* OpenAPI spec version: 20240531
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
17
|
+
* Do not edit the class manually.
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
20
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
21
|
+
*/
|
|
22
|
+
import * as model from "../model";
|
|
23
|
+
/**
|
|
24
|
+
* The configuration details for Prompt Injection.
|
|
25
|
+
*/
|
|
26
|
+
export interface PromptInjectionGuardrailConfig {
|
|
27
|
+
/**
|
|
28
|
+
* An input guardrail mode for prompt injection.
|
|
29
|
+
*/
|
|
30
|
+
"inputGuardrailMode"?: model.GuardrailMode;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace PromptInjectionGuardrailConfig {
|
|
33
|
+
function getJsonObj(obj: PromptInjectionGuardrailConfig): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: PromptInjectionGuardrailConfig): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generative AI Agents Management API
|
|
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.
|
|
5
|
+
|
|
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.
|
|
7
|
+
|
|
8
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
9
|
+
|
|
10
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
11
|
+
|
|
12
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
13
|
+
|
|
14
|
+
* OpenAPI spec version: 20240531
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*
|
|
20
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
21
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
22
|
+
*/
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.PromptInjectionGuardrailConfig = void 0;
|
|
25
|
+
var PromptInjectionGuardrailConfig;
|
|
26
|
+
(function (PromptInjectionGuardrailConfig) {
|
|
27
|
+
function getJsonObj(obj) {
|
|
28
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
29
|
+
return jsonObj;
|
|
30
|
+
}
|
|
31
|
+
PromptInjectionGuardrailConfig.getJsonObj = getJsonObj;
|
|
32
|
+
function getDeserializedJsonObj(obj) {
|
|
33
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
34
|
+
return jsonObj;
|
|
35
|
+
}
|
|
36
|
+
PromptInjectionGuardrailConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
37
|
+
})(PromptInjectionGuardrailConfig = exports.PromptInjectionGuardrailConfig || (exports.PromptInjectionGuardrailConfig = {}));
|
|
38
|
+
//# sourceMappingURL=prompt-injection-guardrail-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt-injection-guardrail-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/prompt-injection-guardrail-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAeH,IAAiB,8BAA8B,CAW9C;AAXD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmC;QACxE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAW9C"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generative AI Agents Management API
|
|
3
|
+
* 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
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
8
|
+
|
|
9
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
10
|
+
|
|
11
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
12
|
+
|
|
13
|
+
* OpenAPI spec version: 20240531
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
17
|
+
* Do not edit the class manually.
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
20
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
21
|
+
*/
|
|
22
|
+
import * as model from "../model";
|
|
23
|
+
/**
|
|
24
|
+
* The configuration for RAG Tool.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface RagToolConfig extends model.ToolConfig {
|
|
28
|
+
/**
|
|
29
|
+
* The KnowledgeBase configurations that this RAG Tool uses
|
|
30
|
+
*/
|
|
31
|
+
"knowledgeBaseConfigs": Array<model.KnowledgeBaseConfig>;
|
|
32
|
+
"generationLlmCustomization"?: model.LlmCustomization;
|
|
33
|
+
"toolConfigType": string;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace RagToolConfig {
|
|
36
|
+
function getJsonObj(obj: RagToolConfig, isParentJsonObj?: boolean): object;
|
|
37
|
+
const toolConfigType = "RAG_TOOL_CONFIG";
|
|
38
|
+
function getDeserializedJsonObj(obj: RagToolConfig, isParentJsonObj?: boolean): object;
|
|
39
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generative AI Agents Management API
|
|
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.
|
|
5
|
+
|
|
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.
|
|
7
|
+
|
|
8
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
9
|
+
|
|
10
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
11
|
+
|
|
12
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
13
|
+
|
|
14
|
+
* OpenAPI spec version: 20240531
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*
|
|
20
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
21
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
22
|
+
*/
|
|
23
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
26
|
+
}) : (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
o[k2] = m[k];
|
|
29
|
+
}));
|
|
30
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
31
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
32
|
+
}) : function(o, v) {
|
|
33
|
+
o["default"] = v;
|
|
34
|
+
});
|
|
35
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
36
|
+
if (mod && mod.__esModule) return mod;
|
|
37
|
+
var result = {};
|
|
38
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
39
|
+
__setModuleDefault(result, mod);
|
|
40
|
+
return result;
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.RagToolConfig = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var RagToolConfig;
|
|
46
|
+
(function (RagToolConfig) {
|
|
47
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ToolConfig.getJsonObj(obj))), {
|
|
49
|
+
"knowledgeBaseConfigs": obj.knowledgeBaseConfigs
|
|
50
|
+
? obj.knowledgeBaseConfigs.map(item => {
|
|
51
|
+
return model.KnowledgeBaseConfig.getJsonObj(item);
|
|
52
|
+
})
|
|
53
|
+
: undefined,
|
|
54
|
+
"generationLlmCustomization": obj.generationLlmCustomization
|
|
55
|
+
? model.LlmCustomization.getJsonObj(obj.generationLlmCustomization)
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
RagToolConfig.getJsonObj = getJsonObj;
|
|
61
|
+
RagToolConfig.toolConfigType = "RAG_TOOL_CONFIG";
|
|
62
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
63
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ToolConfig.getDeserializedJsonObj(obj))), {
|
|
64
|
+
"knowledgeBaseConfigs": obj.knowledgeBaseConfigs
|
|
65
|
+
? obj.knowledgeBaseConfigs.map(item => {
|
|
66
|
+
return model.KnowledgeBaseConfig.getDeserializedJsonObj(item);
|
|
67
|
+
})
|
|
68
|
+
: undefined,
|
|
69
|
+
"generationLlmCustomization": obj.generationLlmCustomization
|
|
70
|
+
? model.LlmCustomization.getDeserializedJsonObj(obj.generationLlmCustomization)
|
|
71
|
+
: undefined
|
|
72
|
+
});
|
|
73
|
+
return jsonObj;
|
|
74
|
+
}
|
|
75
|
+
RagToolConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
76
|
+
})(RagToolConfig = exports.RagToolConfig || (exports.RagToolConfig = {}));
|
|
77
|
+
//# sourceMappingURL=rag-tool-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rag-tool-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/rag-tool-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,aAAa,CAoC7B;AApCD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB,EAAE,eAAyB;QACtE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAmB,CAAC,GAC7E;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClC,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,wBAAU,aAgBzB,CAAA;IACY,4BAAc,GAAG,iBAAiB,CAAC;IAChD,SAAgB,sBAAsB,CAAC,GAAkB,EAAE,eAAyB;QAClF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAmB,CAAC,GACzF;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClC,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBAC/E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,oCAAsB,yBAgBrC,CAAA;AACH,CAAC,EApCgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAoC7B"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generative AI Agents Management API
|
|
3
|
+
* 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
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
|
|
8
|
+
|
|
9
|
+
For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
|
|
10
|
+
|
|
11
|
+
To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
|
|
12
|
+
|
|
13
|
+
* OpenAPI spec version: 20240531
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
17
|
+
* Do not edit the class manually.
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
20
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
21
|
+
*/
|
|
22
|
+
import * as model from "../model";
|
|
23
|
+
/**
|
|
24
|
+
* The configuration for SQL Tool.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface SqlToolConfig extends model.ToolConfig {
|
|
28
|
+
"iclExamples"?: model.ObjectStorageInputLocation | model.InlineInputLocation;
|
|
29
|
+
"databaseSchema": model.ObjectStorageInputLocation | model.InlineInputLocation;
|
|
30
|
+
/**
|
|
31
|
+
* To enable/disable SQL execution.
|
|
32
|
+
*/
|
|
33
|
+
"shouldEnableSqlExecution"?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Dialect to be used for SQL generation.
|
|
36
|
+
*/
|
|
37
|
+
"dialect": SqlToolConfig.Dialect;
|
|
38
|
+
/**
|
|
39
|
+
* Size of the model.
|
|
40
|
+
*/
|
|
41
|
+
"modelSize"?: SqlToolConfig.ModelSize;
|
|
42
|
+
/**
|
|
43
|
+
* To enable/disable self correction.
|
|
44
|
+
*/
|
|
45
|
+
"shouldEnableSelfCorrection"?: boolean;
|
|
46
|
+
"tableAndColumnDescription"?: model.ObjectStorageInputLocation | model.InlineInputLocation;
|
|
47
|
+
"generationLlmCustomization"?: model.LlmCustomization;
|
|
48
|
+
"databaseConnection"?: model.DatabaseToolConnection;
|
|
49
|
+
"toolConfigType": string;
|
|
50
|
+
}
|
|
51
|
+
export declare namespace SqlToolConfig {
|
|
52
|
+
enum Dialect {
|
|
53
|
+
SqlLite = "SQL_LITE",
|
|
54
|
+
OracleSql = "ORACLE_SQL",
|
|
55
|
+
/**
|
|
56
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
57
|
+
* version of the SDK.
|
|
58
|
+
*/
|
|
59
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
60
|
+
}
|
|
61
|
+
enum ModelSize {
|
|
62
|
+
Small = "SMALL",
|
|
63
|
+
Large = "LARGE",
|
|
64
|
+
/**
|
|
65
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
66
|
+
* version of the SDK.
|
|
67
|
+
*/
|
|
68
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
69
|
+
}
|
|
70
|
+
function getJsonObj(obj: SqlToolConfig, isParentJsonObj?: boolean): object;
|
|
71
|
+
const toolConfigType = "SQL_TOOL_CONFIG";
|
|
72
|
+
function getDeserializedJsonObj(obj: SqlToolConfig, isParentJsonObj?: boolean): object;
|
|
73
|
+
}
|