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
|
@@ -38,6 +38,12 @@ export interface CreateDataSourceDetails {
|
|
|
38
38
|
*/
|
|
39
39
|
"knowledgeBaseId": string;
|
|
40
40
|
"dataSourceConfig": model.OciObjectStorageDataSourceConfig;
|
|
41
|
+
/**
|
|
42
|
+
* Key-value pairs to allow additional configurations.
|
|
43
|
+
*/
|
|
44
|
+
"metadata"?: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
41
47
|
/**
|
|
42
48
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the data source in.
|
|
43
49
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-data-source-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/create-data-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-data-source-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/create-data-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgDlC,IAAiB,uBAAuB,CAyBvC;AAzBD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,kCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,8CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAyBvC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 data to create a Tool.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface CreateToolDetails {
|
|
28
|
+
/**
|
|
29
|
+
* A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
30
|
+
*/
|
|
31
|
+
"displayName"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Description about the Tool.
|
|
34
|
+
*/
|
|
35
|
+
"description": string;
|
|
36
|
+
/**
|
|
37
|
+
* The OCID of the agent that this Tool is attached to.
|
|
38
|
+
*/
|
|
39
|
+
"agentId": string;
|
|
40
|
+
/**
|
|
41
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
42
|
+
*/
|
|
43
|
+
"compartmentId": string;
|
|
44
|
+
"toolConfig": model.SqlToolConfig | model.FunctionCallingToolConfig | model.HttpEndpointToolConfig | model.RagToolConfig;
|
|
45
|
+
/**
|
|
46
|
+
* Key-value pairs to allow additional configurations.
|
|
47
|
+
*/
|
|
48
|
+
"metadata"?: {
|
|
49
|
+
[key: string]: string;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
53
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
54
|
+
* <p>
|
|
55
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
"freeformTags"?: {
|
|
59
|
+
[key: string]: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
63
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
64
|
+
* <p>
|
|
65
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"definedTags"?: {
|
|
69
|
+
[key: string]: {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export declare namespace CreateToolDetails {
|
|
75
|
+
function getJsonObj(obj: CreateToolDetails): object;
|
|
76
|
+
function getDeserializedJsonObj(obj: CreateToolDetails): object;
|
|
77
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.CreateToolDetails = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var CreateToolDetails;
|
|
46
|
+
(function (CreateToolDetails) {
|
|
47
|
+
function getJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"toolConfig": obj.toolConfig ? model.ToolConfig.getJsonObj(obj.toolConfig) : undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
CreateToolDetails.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
56
|
+
"toolConfig": obj.toolConfig
|
|
57
|
+
? model.ToolConfig.getDeserializedJsonObj(obj.toolConfig)
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
CreateToolDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(CreateToolDetails = exports.CreateToolDetails || (exports.CreateToolDetails = {}));
|
|
64
|
+
//# sourceMappingURL=create-tool-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-tool-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/create-tool-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmDlC,IAAiB,iBAAiB,CAuBjC;AAvBD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS;SACvF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,4BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,wCAAsB,yBAWrC,CAAA;AACH,CAAC,EAvBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAuBjC"}
|
|
@@ -48,6 +48,12 @@ export interface DataSource {
|
|
|
48
48
|
*/
|
|
49
49
|
"knowledgeBaseId": string;
|
|
50
50
|
"dataSourceConfig": model.OciObjectStorageDataSourceConfig;
|
|
51
|
+
/**
|
|
52
|
+
* Key-value pairs to allow additional configurations.
|
|
53
|
+
*/
|
|
54
|
+
"metadata"?: {
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
};
|
|
51
57
|
/**
|
|
52
58
|
* The date and time the data source was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
53
59
|
* <p>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-source.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/data-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"data-source.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/data-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoFlC,IAAiB,UAAU,CAwC1B;AAxCD,WAAiB,UAAU;IACzB,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,yBAAc,KAAd,yBAAc,QAazB;IAED,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,qBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,iCAAsB,yBAWrC,CAAA;AACH,CAAC,EAxCgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAwC1B"}
|
|
@@ -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 for Function calling Tool.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface FunctionCallingToolConfig extends model.ToolConfig {
|
|
28
|
+
"function": model.Function;
|
|
29
|
+
"toolConfigType": string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace FunctionCallingToolConfig {
|
|
32
|
+
function getJsonObj(obj: FunctionCallingToolConfig, isParentJsonObj?: boolean): object;
|
|
33
|
+
const toolConfigType = "FUNCTION_CALLING_TOOL_CONFIG";
|
|
34
|
+
function getDeserializedJsonObj(obj: FunctionCallingToolConfig, isParentJsonObj?: boolean): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.FunctionCallingToolConfig = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var FunctionCallingToolConfig;
|
|
46
|
+
(function (FunctionCallingToolConfig) {
|
|
47
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ToolConfig.getJsonObj(obj))), {
|
|
49
|
+
"function": obj.function ? model.Function.getJsonObj(obj.function) : undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
FunctionCallingToolConfig.getJsonObj = getJsonObj;
|
|
54
|
+
FunctionCallingToolConfig.toolConfigType = "FUNCTION_CALLING_TOOL_CONFIG";
|
|
55
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
57
|
+
? obj
|
|
58
|
+
: model.ToolConfig.getDeserializedJsonObj(obj))), {
|
|
59
|
+
"function": obj.function ? model.Function.getDeserializedJsonObj(obj.function) : undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
FunctionCallingToolConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(FunctionCallingToolConfig = exports.FunctionCallingToolConfig || (exports.FunctionCallingToolConfig = {}));
|
|
65
|
+
//# sourceMappingURL=function-calling-tool-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-calling-tool-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/function-calling-tool-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,yBAAyB,CA2BzC;AA3BD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B,EAAE,eAAyB;QAClF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAA+B,CAAC,GACzF;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SAC/E,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,oCAAU,aASzB,CAAA;IACY,wCAAc,GAAG,8BAA8B,CAAC;IAC7D,SAAgB,sBAAsB,CACpC,GAA8B,EAC9B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAA+B,CAAC,GAC7E;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,gDAAsB,yBAcrC,CAAA;AACH,CAAC,EA3BgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QA2BzC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* Details of Function for Function calling tool.
|
|
24
|
+
*/
|
|
25
|
+
export interface Function {
|
|
26
|
+
/**
|
|
27
|
+
* The name of the function to invoke.
|
|
28
|
+
*/
|
|
29
|
+
"name": string;
|
|
30
|
+
/**
|
|
31
|
+
* A description of the function.
|
|
32
|
+
*/
|
|
33
|
+
"description"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The parameters the function accepts, defined using a JSON Schema object.
|
|
36
|
+
* Refer to the guide for examples and the JSON Schema documentation for details on the format.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"parameters"?: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export declare namespace Function {
|
|
44
|
+
function getJsonObj(obj: Function): object;
|
|
45
|
+
function getDeserializedJsonObj(obj: Function): object;
|
|
46
|
+
}
|
|
@@ -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.Function = void 0;
|
|
25
|
+
var Function;
|
|
26
|
+
(function (Function) {
|
|
27
|
+
function getJsonObj(obj) {
|
|
28
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
29
|
+
return jsonObj;
|
|
30
|
+
}
|
|
31
|
+
Function.getJsonObj = getJsonObj;
|
|
32
|
+
function getDeserializedJsonObj(obj) {
|
|
33
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
34
|
+
return jsonObj;
|
|
35
|
+
}
|
|
36
|
+
Function.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
37
|
+
})(Function = exports.Function || (exports.Function = {}));
|
|
38
|
+
//# sourceMappingURL=function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/function.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAyBH,IAAiB,QAAQ,CAWxB;AAXD,WAAiB,QAAQ;IACvB,SAAgB,UAAU,CAAC,GAAa;QACtC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAa;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAWxB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 about whether to apply the guardrail checks to input and output.
|
|
25
|
+
*/
|
|
26
|
+
export interface GuardrailConfig {
|
|
27
|
+
"contentModerationConfig"?: model.ContentModerationGuardrailConfig;
|
|
28
|
+
"promptInjectionConfig"?: model.PromptInjectionGuardrailConfig;
|
|
29
|
+
"personallyIdentifiableInformationConfig"?: model.PersonallyIdentifiableInformationGuardrailConfig;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace GuardrailConfig {
|
|
32
|
+
function getJsonObj(obj: GuardrailConfig): object;
|
|
33
|
+
function getDeserializedJsonObj(obj: GuardrailConfig): object;
|
|
34
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.GuardrailConfig = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var GuardrailConfig;
|
|
46
|
+
(function (GuardrailConfig) {
|
|
47
|
+
function getJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"contentModerationConfig": obj.contentModerationConfig
|
|
50
|
+
? model.ContentModerationGuardrailConfig.getJsonObj(obj.contentModerationConfig)
|
|
51
|
+
: undefined,
|
|
52
|
+
"promptInjectionConfig": obj.promptInjectionConfig
|
|
53
|
+
? model.PromptInjectionGuardrailConfig.getJsonObj(obj.promptInjectionConfig)
|
|
54
|
+
: undefined,
|
|
55
|
+
"personallyIdentifiableInformationConfig": obj.personallyIdentifiableInformationConfig
|
|
56
|
+
? model.PersonallyIdentifiableInformationGuardrailConfig.getJsonObj(obj.personallyIdentifiableInformationConfig)
|
|
57
|
+
: undefined
|
|
58
|
+
});
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
GuardrailConfig.getJsonObj = getJsonObj;
|
|
62
|
+
function getDeserializedJsonObj(obj) {
|
|
63
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
64
|
+
"contentModerationConfig": obj.contentModerationConfig
|
|
65
|
+
? model.ContentModerationGuardrailConfig.getDeserializedJsonObj(obj.contentModerationConfig)
|
|
66
|
+
: undefined,
|
|
67
|
+
"promptInjectionConfig": obj.promptInjectionConfig
|
|
68
|
+
? model.PromptInjectionGuardrailConfig.getDeserializedJsonObj(obj.promptInjectionConfig)
|
|
69
|
+
: undefined,
|
|
70
|
+
"personallyIdentifiableInformationConfig": obj.personallyIdentifiableInformationConfig
|
|
71
|
+
? model.PersonallyIdentifiableInformationGuardrailConfig.getDeserializedJsonObj(obj.personallyIdentifiableInformationConfig)
|
|
72
|
+
: undefined
|
|
73
|
+
});
|
|
74
|
+
return jsonObj;
|
|
75
|
+
}
|
|
76
|
+
GuardrailConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
77
|
+
})(GuardrailConfig = exports.GuardrailConfig || (exports.GuardrailConfig = {}));
|
|
78
|
+
//# sourceMappingURL=guardrail-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guardrail-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/guardrail-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAYlC,IAAiB,eAAe,CA2C/B;AA3CD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBAChF,CAAC,CAAC,SAAS;YACb,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBAC5E,CAAC,CAAC,SAAS;YACb,yCAAyC,EAAE,GAAG,CAAC,uCAAuC;gBACpF,CAAC,CAAC,KAAK,CAAC,gDAAgD,CAAC,UAAU,CAC/D,GAAG,CAAC,uCAAuC,CAC5C;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,0BAAU,aAmBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAC3D,GAAG,CAAC,uBAAuB,CAC5B;gBACH,CAAC,CAAC,SAAS;YACb,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBACxF,CAAC,CAAC,SAAS;YACb,yCAAyC,EAAE,GAAG,CAAC,uCAAuC;gBACpF,CAAC,CAAC,KAAK,CAAC,gDAAgD,CAAC,sBAAsB,CAC3E,GAAG,CAAC,uCAAuC,CAC5C;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,sCAAsB,yBAqBrC,CAAA;AACH,CAAC,EA3CgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA2C/B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
* Configuration setting applied to determine the guardrail mode for input or output.
|
|
24
|
+
**/
|
|
25
|
+
export declare enum GuardrailMode {
|
|
26
|
+
Disable = "DISABLE",
|
|
27
|
+
Block = "BLOCK",
|
|
28
|
+
Inform = "INFORM",
|
|
29
|
+
/**
|
|
30
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
31
|
+
* version of the SDK.
|
|
32
|
+
*/
|
|
33
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
34
|
+
}
|
|
35
|
+
export declare namespace GuardrailMode {
|
|
36
|
+
function getJsonObj(obj: GuardrailMode): GuardrailMode;
|
|
37
|
+
function getDeserializedJsonObj(obj: GuardrailMode): GuardrailMode;
|
|
38
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.GuardrailMode = void 0;
|
|
25
|
+
/**
|
|
26
|
+
* Configuration setting applied to determine the guardrail mode for input or output.
|
|
27
|
+
**/
|
|
28
|
+
var GuardrailMode;
|
|
29
|
+
(function (GuardrailMode) {
|
|
30
|
+
GuardrailMode["Disable"] = "DISABLE";
|
|
31
|
+
GuardrailMode["Block"] = "BLOCK";
|
|
32
|
+
GuardrailMode["Inform"] = "INFORM";
|
|
33
|
+
/**
|
|
34
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
35
|
+
* version of the SDK.
|
|
36
|
+
*/
|
|
37
|
+
GuardrailMode["UnknownValue"] = "UNKNOWN_VALUE";
|
|
38
|
+
})(GuardrailMode = exports.GuardrailMode || (exports.GuardrailMode = {}));
|
|
39
|
+
(function (GuardrailMode) {
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
GuardrailMode.getJsonObj = getJsonObj;
|
|
44
|
+
function getDeserializedJsonObj(obj) {
|
|
45
|
+
return obj;
|
|
46
|
+
}
|
|
47
|
+
GuardrailMode.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
48
|
+
})(GuardrailMode = exports.GuardrailMode || (exports.GuardrailMode = {}));
|
|
49
|
+
//# sourceMappingURL=guardrail-mode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guardrail-mode.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/guardrail-mode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAKH;;IAEI;AACJ,IAAY,aAUX;AAVD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;IACf,kCAAiB,CAAA;IAEjB;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAVW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAUxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -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
|
+
* Auth related information to be used when invoking external endpoint
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface HttpEndpointAuthConfig {
|
|
27
|
+
"httpEndpointAuthConfigType": string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace HttpEndpointAuthConfig {
|
|
30
|
+
function getJsonObj(obj: HttpEndpointAuthConfig): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: HttpEndpointAuthConfig): object;
|
|
32
|
+
}
|