oci-generativeaiagent 2.106.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.
Files changed (180) hide show
  1. package/lib/client.d.ts +50 -0
  2. package/lib/client.js +337 -0
  3. package/lib/client.js.map +1 -1
  4. package/lib/generativeaiagent-waiter.d.ts +8 -0
  5. package/lib/generativeaiagent-waiter.js +12 -0
  6. package/lib/generativeaiagent-waiter.js.map +1 -1
  7. package/lib/model/agent-endpoint-summary.d.ts +13 -0
  8. package/lib/model/agent-endpoint-summary.js +18 -0
  9. package/lib/model/agent-endpoint-summary.js.map +1 -1
  10. package/lib/model/agent-endpoint.d.ts +13 -0
  11. package/lib/model/agent-endpoint.js +18 -0
  12. package/lib/model/agent-endpoint.js.map +1 -1
  13. package/lib/model/agent-summary.d.ts +3 -1
  14. package/lib/model/agent-summary.js +28 -2
  15. package/lib/model/agent-summary.js.map +1 -1
  16. package/lib/model/agent.d.ts +3 -1
  17. package/lib/model/agent.js +28 -2
  18. package/lib/model/agent.js.map +1 -1
  19. package/lib/model/api-schema-inline-input-location.d.ts +37 -0
  20. package/lib/model/api-schema-inline-input-location.js +63 -0
  21. package/lib/model/api-schema-inline-input-location.js.map +1 -0
  22. package/lib/model/api-schema-input-location.d.ts +31 -0
  23. package/lib/model/api-schema-input-location.js +81 -0
  24. package/lib/model/api-schema-input-location.js.map +1 -0
  25. package/lib/model/api-schema-object-storage-input-location.d.ts +46 -0
  26. package/lib/model/api-schema-object-storage-input-location.js +63 -0
  27. package/lib/model/api-schema-object-storage-input-location.js.map +1 -0
  28. package/lib/model/content-moderation-guardrail-config.d.ts +39 -0
  29. package/lib/model/content-moderation-guardrail-config.js +38 -0
  30. package/lib/model/content-moderation-guardrail-config.js.map +1 -0
  31. package/lib/model/create-agent-details.d.ts +3 -1
  32. package/lib/model/create-agent-details.js +28 -2
  33. package/lib/model/create-agent-details.js.map +1 -1
  34. package/lib/model/create-agent-endpoint-details.d.ts +13 -0
  35. package/lib/model/create-agent-endpoint-details.js +18 -0
  36. package/lib/model/create-agent-endpoint-details.js.map +1 -1
  37. package/lib/model/create-data-source-details.d.ts +6 -0
  38. package/lib/model/create-data-source-details.js.map +1 -1
  39. package/lib/model/create-tool-details.d.ts +77 -0
  40. package/lib/model/create-tool-details.js +64 -0
  41. package/lib/model/create-tool-details.js.map +1 -0
  42. package/lib/model/data-source.d.ts +6 -0
  43. package/lib/model/data-source.js.map +1 -1
  44. package/lib/model/function-calling-tool-config.d.ts +35 -0
  45. package/lib/model/function-calling-tool-config.js +65 -0
  46. package/lib/model/function-calling-tool-config.js.map +1 -0
  47. package/lib/model/function.d.ts +46 -0
  48. package/lib/model/function.js +38 -0
  49. package/lib/model/function.js.map +1 -0
  50. package/lib/model/guardrail-config.d.ts +34 -0
  51. package/lib/model/guardrail-config.js +78 -0
  52. package/lib/model/guardrail-config.js.map +1 -0
  53. package/lib/model/guardrail-mode.d.ts +38 -0
  54. package/lib/model/guardrail-mode.js +49 -0
  55. package/lib/model/guardrail-mode.js.map +1 -0
  56. package/lib/model/http-endpoint-auth-config.d.ts +32 -0
  57. package/lib/model/http-endpoint-auth-config.js +89 -0
  58. package/lib/model/http-endpoint-auth-config.js.map +1 -0
  59. package/lib/model/http-endpoint-delegated-bearer-auth-config.d.ts +35 -0
  60. package/lib/model/http-endpoint-delegated-bearer-auth-config.js +63 -0
  61. package/lib/model/http-endpoint-delegated-bearer-auth-config.js.map +1 -0
  62. package/lib/model/http-endpoint-idcs-auth-config.d.ts +35 -0
  63. package/lib/model/http-endpoint-idcs-auth-config.js +69 -0
  64. package/lib/model/http-endpoint-idcs-auth-config.js.map +1 -0
  65. package/lib/model/http-endpoint-no-auth-config.d.ts +34 -0
  66. package/lib/model/http-endpoint-no-auth-config.js +63 -0
  67. package/lib/model/http-endpoint-no-auth-config.js.map +1 -0
  68. package/lib/model/http-endpoint-oci-resource-principal-auth-config.d.ts +34 -0
  69. package/lib/model/http-endpoint-oci-resource-principal-auth-config.js +63 -0
  70. package/lib/model/http-endpoint-oci-resource-principal-auth-config.js.map +1 -0
  71. package/lib/model/http-endpoint-tool-config.d.ts +40 -0
  72. package/lib/model/http-endpoint-tool-config.js +75 -0
  73. package/lib/model/http-endpoint-tool-config.js.map +1 -0
  74. package/lib/model/human-input-config.d.ts +35 -0
  75. package/lib/model/human-input-config.js +38 -0
  76. package/lib/model/human-input-config.js.map +1 -0
  77. package/lib/model/index.d.ts +68 -0
  78. package/lib/model/index.js +70 -2
  79. package/lib/model/index.js.map +1 -1
  80. package/lib/model/inline-input-location.d.ts +37 -0
  81. package/lib/model/inline-input-location.js +61 -0
  82. package/lib/model/inline-input-location.js.map +1 -0
  83. package/lib/model/input-location.d.ts +31 -0
  84. package/lib/model/input-location.js +81 -0
  85. package/lib/model/input-location.js.map +1 -0
  86. package/lib/model/knowledge-base-config.d.ts +35 -0
  87. package/lib/model/knowledge-base-config.js +38 -0
  88. package/lib/model/knowledge-base-config.js.map +1 -0
  89. package/lib/model/llm-config.d.ts +33 -0
  90. package/lib/model/llm-config.js +66 -0
  91. package/lib/model/llm-config.js.map +1 -0
  92. package/lib/model/llm-customization.d.ts +35 -0
  93. package/lib/model/llm-customization.js +38 -0
  94. package/lib/model/llm-customization.js.map +1 -0
  95. package/lib/model/object-storage-input-location.d.ts +46 -0
  96. package/lib/model/object-storage-input-location.js +63 -0
  97. package/lib/model/object-storage-input-location.js.map +1 -0
  98. package/lib/model/object-storage-prefix-output-location.d.ts +46 -0
  99. package/lib/model/object-storage-prefix-output-location.js +63 -0
  100. package/lib/model/object-storage-prefix-output-location.js.map +1 -0
  101. package/lib/model/object-storage-prefix.d.ts +1 -1
  102. package/lib/model/operation-type.d.ts +4 -0
  103. package/lib/model/operation-type.js +4 -0
  104. package/lib/model/operation-type.js.map +1 -1
  105. package/lib/model/output-config.d.ts +37 -0
  106. package/lib/model/output-config.js +66 -0
  107. package/lib/model/output-config.js.map +1 -0
  108. package/lib/model/output-location.d.ts +32 -0
  109. package/lib/model/output-location.js +77 -0
  110. package/lib/model/output-location.js.map +1 -0
  111. package/lib/model/personally-identifiable-information-guardrail-config.d.ts +39 -0
  112. package/lib/model/personally-identifiable-information-guardrail-config.js +38 -0
  113. package/lib/model/personally-identifiable-information-guardrail-config.js.map +1 -0
  114. package/lib/model/prompt-injection-guardrail-config.d.ts +35 -0
  115. package/lib/model/prompt-injection-guardrail-config.js +38 -0
  116. package/lib/model/prompt-injection-guardrail-config.js.map +1 -0
  117. package/lib/model/rag-tool-config.d.ts +39 -0
  118. package/lib/model/rag-tool-config.js +77 -0
  119. package/lib/model/rag-tool-config.js.map +1 -0
  120. package/lib/model/sql-tool-config.d.ts +73 -0
  121. package/lib/model/sql-tool-config.js +111 -0
  122. package/lib/model/sql-tool-config.js.map +1 -0
  123. package/lib/model/tool-collection.d.ts +36 -0
  124. package/lib/model/tool-collection.js +70 -0
  125. package/lib/model/tool-collection.js.map +1 -0
  126. package/lib/model/tool-config.d.ts +32 -0
  127. package/lib/model/tool-config.js +89 -0
  128. package/lib/model/tool-config.js.map +1 -0
  129. package/lib/model/tool-summary.d.ts +110 -0
  130. package/lib/model/tool-summary.js +64 -0
  131. package/lib/model/tool-summary.js.map +1 -0
  132. package/lib/model/tool.d.ts +125 -0
  133. package/lib/model/tool.js +78 -0
  134. package/lib/model/tool.js.map +1 -0
  135. package/lib/model/update-agent-details.d.ts +3 -1
  136. package/lib/model/update-agent-details.js +28 -2
  137. package/lib/model/update-agent-details.js.map +1 -1
  138. package/lib/model/update-agent-endpoint-details.d.ts +13 -0
  139. package/lib/model/update-agent-endpoint-details.js +18 -0
  140. package/lib/model/update-agent-endpoint-details.js.map +1 -1
  141. package/lib/model/update-data-source-details.d.ts +6 -0
  142. package/lib/model/update-data-source-details.js.map +1 -1
  143. package/lib/model/update-tool-details.d.ts +69 -0
  144. package/lib/model/update-tool-details.js +64 -0
  145. package/lib/model/update-tool-details.js.map +1 -0
  146. package/lib/request/create-tool-request.d.ts +40 -0
  147. package/lib/request/create-tool-request.js +15 -0
  148. package/lib/request/create-tool-request.js.map +1 -0
  149. package/lib/request/delete-tool-request.d.ts +38 -0
  150. package/lib/request/delete-tool-request.js +15 -0
  151. package/lib/request/delete-tool-request.js.map +1 -0
  152. package/lib/request/get-tool-request.d.ts +30 -0
  153. package/lib/request/get-tool-request.js +15 -0
  154. package/lib/request/get-tool-request.js.map +1 -0
  155. package/lib/request/index.d.ts +10 -0
  156. package/lib/request/index.js +3 -1
  157. package/lib/request/index.js.map +1 -1
  158. package/lib/request/list-tools-request.d.ts +75 -0
  159. package/lib/request/list-tools-request.js +24 -0
  160. package/lib/request/list-tools-request.js.map +1 -0
  161. package/lib/request/update-tool-request.d.ts +43 -0
  162. package/lib/request/update-tool-request.js +15 -0
  163. package/lib/request/update-tool-request.js.map +1 -0
  164. package/lib/response/create-tool-response.d.ts +44 -0
  165. package/lib/response/create-tool-response.js +15 -0
  166. package/lib/response/create-tool-response.js.map +1 -0
  167. package/lib/response/delete-tool-response.d.ts +26 -0
  168. package/lib/response/delete-tool-response.js +15 -0
  169. package/lib/response/delete-tool-response.js.map +1 -0
  170. package/lib/response/get-tool-response.d.ts +30 -0
  171. package/lib/response/get-tool-response.js +15 -0
  172. package/lib/response/get-tool-response.js.map +1 -0
  173. package/lib/response/index.d.ts +10 -0
  174. package/lib/response/list-tools-response.d.ts +31 -0
  175. package/lib/response/list-tools-response.js +15 -0
  176. package/lib/response/list-tools-response.js.map +1 -0
  177. package/lib/response/update-tool-response.d.ts +26 -0
  178. package/lib/response/update-tool-response.js +15 -0
  179. package/lib/response/update-tool-response.js.map +1 -0
  180. package/package.json +3 -3
@@ -20,8 +20,28 @@ To learn more about the service, see the [Generative AI Agents documentation](ht
20
20
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
21
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
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
+ };
23
42
  Object.defineProperty(exports, "__esModule", { value: true });
24
43
  exports.Agent = void 0;
44
+ const model = __importStar(require("../model"));
25
45
  var Agent;
26
46
  (function (Agent) {
27
47
  let LifecycleState;
@@ -39,12 +59,18 @@ var Agent;
39
59
  LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
40
60
  })(LifecycleState = Agent.LifecycleState || (Agent.LifecycleState = {}));
41
61
  function getJsonObj(obj) {
42
- const jsonObj = Object.assign(Object.assign({}, obj), {});
62
+ const jsonObj = Object.assign(Object.assign({}, obj), {
63
+ "llmConfig": obj.llmConfig ? model.LlmConfig.getJsonObj(obj.llmConfig) : undefined
64
+ });
43
65
  return jsonObj;
44
66
  }
45
67
  Agent.getJsonObj = getJsonObj;
46
68
  function getDeserializedJsonObj(obj) {
47
- const jsonObj = Object.assign(Object.assign({}, obj), {});
69
+ const jsonObj = Object.assign(Object.assign({}, obj), {
70
+ "llmConfig": obj.llmConfig
71
+ ? model.LlmConfig.getDeserializedJsonObj(obj.llmConfig)
72
+ : undefined
73
+ });
48
74
  return jsonObj;
49
75
  }
50
76
  Agent.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"agent.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/agent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAqFH,IAAiB,KAAK,CAyBrB;AAzBD,WAAiB,KAAK;IACpB,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,oBAAc,KAAd,oBAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAU;QACnC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAsB,yBAIrC,CAAA;AACH,CAAC,EAzBgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAyBrB"}
1
+ {"version":3,"file":"agent.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/agent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoFlC,IAAiB,KAAK,CAqCrB;AArCD,WAAiB,KAAK;IACpB,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,oBAAc,KAAd,oBAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAU;QACnC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;SACnF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,gBAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,4BAAsB,yBAWrC,CAAA;AACH,CAAC,EArCgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAqCrB"}
@@ -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
+ * The details of inline input of Api schema.
25
+ */
26
+ export interface ApiSchemaInlineInputLocation extends model.ApiSchemaInputLocation {
27
+ /**
28
+ * Inline content as input.
29
+ */
30
+ "content": string;
31
+ "apiSchemaInputLocationType": string;
32
+ }
33
+ export declare namespace ApiSchemaInlineInputLocation {
34
+ function getJsonObj(obj: ApiSchemaInlineInputLocation, isParentJsonObj?: boolean): object;
35
+ const apiSchemaInputLocationType = "INLINE";
36
+ function getDeserializedJsonObj(obj: ApiSchemaInlineInputLocation, isParentJsonObj?: boolean): object;
37
+ }
@@ -0,0 +1,63 @@
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.ApiSchemaInlineInputLocation = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var ApiSchemaInlineInputLocation;
46
+ (function (ApiSchemaInlineInputLocation) {
47
+ function getJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.ApiSchemaInputLocation.getJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ ApiSchemaInlineInputLocation.getJsonObj = getJsonObj;
54
+ ApiSchemaInlineInputLocation.apiSchemaInputLocationType = "INLINE";
55
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
56
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
57
+ ? obj
58
+ : model.ApiSchemaInputLocation.getDeserializedJsonObj(obj))), {});
59
+ return jsonObj;
60
+ }
61
+ ApiSchemaInlineInputLocation.getDeserializedJsonObj = getDeserializedJsonObj;
62
+ })(ApiSchemaInlineInputLocation = exports.ApiSchemaInlineInputLocation || (exports.ApiSchemaInlineInputLocation = {}));
63
+ //# sourceMappingURL=api-schema-inline-input-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-schema-inline-input-location.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/api-schema-inline-input-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,4BAA4B,CA2B5C;AA3BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAkC,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAU,aASzB,CAAA;IACY,uDAA0B,GAAG,QAAQ,CAAC;IACnD,SAAgB,sBAAsB,CACpC,GAAiC,EACjC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAClD,GAAG,CAC6B,CAAC,GACpC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,mDAAsB,yBAcrC,CAAA;AACH,CAAC,EA3BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA2B5C"}
@@ -0,0 +1,31 @@
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
+ * The input location definition for Api schema.
24
+ */
25
+ export interface ApiSchemaInputLocation {
26
+ "apiSchemaInputLocationType": string;
27
+ }
28
+ export declare namespace ApiSchemaInputLocation {
29
+ function getJsonObj(obj: ApiSchemaInputLocation): object;
30
+ function getDeserializedJsonObj(obj: ApiSchemaInputLocation): object;
31
+ }
@@ -0,0 +1,81 @@
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.ApiSchemaInputLocation = void 0;
44
+ const model = __importStar(require("../model"));
45
+ const common = require("oci-common");
46
+ var ApiSchemaInputLocation;
47
+ (function (ApiSchemaInputLocation) {
48
+ function getJsonObj(obj) {
49
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
50
+ if (obj && "apiSchemaInputLocationType" in obj && obj.apiSchemaInputLocationType) {
51
+ switch (obj.apiSchemaInputLocationType) {
52
+ case "OBJECT_STORAGE_LOCATION":
53
+ return model.ApiSchemaObjectStorageInputLocation.getJsonObj(jsonObj, true);
54
+ case "INLINE":
55
+ return model.ApiSchemaInlineInputLocation.getJsonObj(jsonObj, true);
56
+ default:
57
+ if (common.LOG.logger)
58
+ common.LOG.logger.info(`Unknown value for: ${obj.apiSchemaInputLocationType}`);
59
+ }
60
+ }
61
+ return jsonObj;
62
+ }
63
+ ApiSchemaInputLocation.getJsonObj = getJsonObj;
64
+ function getDeserializedJsonObj(obj) {
65
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
66
+ if (obj && "apiSchemaInputLocationType" in obj && obj.apiSchemaInputLocationType) {
67
+ switch (obj.apiSchemaInputLocationType) {
68
+ case "OBJECT_STORAGE_LOCATION":
69
+ return model.ApiSchemaObjectStorageInputLocation.getDeserializedJsonObj(jsonObj, true);
70
+ case "INLINE":
71
+ return model.ApiSchemaInlineInputLocation.getDeserializedJsonObj(jsonObj, true);
72
+ default:
73
+ if (common.LOG.logger)
74
+ common.LOG.logger.info(`Unknown value for: ${obj.apiSchemaInputLocationType}`);
75
+ }
76
+ }
77
+ return jsonObj;
78
+ }
79
+ ApiSchemaInputLocation.getDeserializedJsonObj = getDeserializedJsonObj;
80
+ })(ApiSchemaInputLocation = exports.ApiSchemaInputLocation || (exports.ApiSchemaInputLocation = {}));
81
+ //# sourceMappingURL=api-schema-input-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-schema-input-location.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/api-schema-input-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,sBAAsB,CA6CtC;AA7CD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,4BAA4B,IAAI,GAAG,IAAI,GAAG,CAAC,0BAA0B,EAAE;YAChF,QAAQ,GAAG,CAAC,0BAA0B,EAAE;gBACtC,KAAK,yBAAyB;oBAC5B,OAAO,KAAK,CAAC,mCAAmC,CAAC,UAAU,CACL,OAAQ,EAC5D,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CACL,OAAQ,EACrD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,0BAA0B,EAAE,CAAC,CAAC;aACpF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,iCAAU,aAqBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,4BAA4B,IAAI,GAAG,IAAI,GAAG,CAAC,0BAA0B,EAAE;YAChF,QAAQ,GAAG,CAAC,0BAA0B,EAAE;gBACtC,KAAK,yBAAyB;oBAC5B,OAAO,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CACjB,OAAQ,EAC5D,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACjB,OAAQ,EACrD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,0BAA0B,EAAE,CAAC,CAAC;aACpF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,6CAAsB,yBAqBrC,CAAA;AACH,CAAC,EA7CgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QA6CtC"}
@@ -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
+ import * as model from "../model";
23
+ /**
24
+ * The details of OCI Object Storage object location for Api schema.
25
+ *
26
+ */
27
+ export interface ApiSchemaObjectStorageInputLocation extends model.ApiSchemaInputLocation {
28
+ /**
29
+ * The namespace name of an object.
30
+ */
31
+ "namespaceName": string;
32
+ /**
33
+ * The bucket name of an object.
34
+ */
35
+ "bucketName": string;
36
+ /**
37
+ * The location/name of object.
38
+ */
39
+ "objectName": string;
40
+ "apiSchemaInputLocationType": string;
41
+ }
42
+ export declare namespace ApiSchemaObjectStorageInputLocation {
43
+ function getJsonObj(obj: ApiSchemaObjectStorageInputLocation, isParentJsonObj?: boolean): object;
44
+ const apiSchemaInputLocationType = "OBJECT_STORAGE_LOCATION";
45
+ function getDeserializedJsonObj(obj: ApiSchemaObjectStorageInputLocation, isParentJsonObj?: boolean): object;
46
+ }
@@ -0,0 +1,63 @@
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.ApiSchemaObjectStorageInputLocation = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var ApiSchemaObjectStorageInputLocation;
46
+ (function (ApiSchemaObjectStorageInputLocation) {
47
+ function getJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.ApiSchemaInputLocation.getJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ ApiSchemaObjectStorageInputLocation.getJsonObj = getJsonObj;
54
+ ApiSchemaObjectStorageInputLocation.apiSchemaInputLocationType = "OBJECT_STORAGE_LOCATION";
55
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
56
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
57
+ ? obj
58
+ : model.ApiSchemaInputLocation.getDeserializedJsonObj(obj))), {});
59
+ return jsonObj;
60
+ }
61
+ ApiSchemaObjectStorageInputLocation.getDeserializedJsonObj = getDeserializedJsonObj;
62
+ })(ApiSchemaObjectStorageInputLocation = exports.ApiSchemaObjectStorageInputLocation || (exports.ApiSchemaObjectStorageInputLocation = {}));
63
+ //# sourceMappingURL=api-schema-object-storage-input-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-schema-object-storage-input-location.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/api-schema-object-storage-input-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwBlC,IAAiB,mCAAmC,CA8BnD;AA9BD,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CACxB,GAAwC,EACxC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAyC,CAAC,GACvF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,8CAAU,aAYzB,CAAA;IACY,8DAA0B,GAAG,yBAAyB,CAAC;IACpE,SAAgB,sBAAsB,CACpC,GAAwC,EACxC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAClD,GAAG,CACoC,CAAC,GAC3C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,0DAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QA8BnD"}
@@ -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 about whether to apply the content moderation feature to input and output. Content moderation removes toxic and biased content from responses. It is recommended to use content moderation.
25
+ */
26
+ export interface ContentModerationGuardrailConfig {
27
+ /**
28
+ * An input guardrail mode for content moderation.
29
+ */
30
+ "inputGuardrailMode"?: model.GuardrailMode;
31
+ /**
32
+ * An output guardrail mode for content moderation.
33
+ */
34
+ "outputGuardrailMode"?: model.GuardrailMode;
35
+ }
36
+ export declare namespace ContentModerationGuardrailConfig {
37
+ function getJsonObj(obj: ContentModerationGuardrailConfig): object;
38
+ function getDeserializedJsonObj(obj: ContentModerationGuardrailConfig): 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.ContentModerationGuardrailConfig = void 0;
25
+ var ContentModerationGuardrailConfig;
26
+ (function (ContentModerationGuardrailConfig) {
27
+ function getJsonObj(obj) {
28
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
29
+ return jsonObj;
30
+ }
31
+ ContentModerationGuardrailConfig.getJsonObj = getJsonObj;
32
+ function getDeserializedJsonObj(obj) {
33
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
34
+ return jsonObj;
35
+ }
36
+ ContentModerationGuardrailConfig.getDeserializedJsonObj = getDeserializedJsonObj;
37
+ })(ContentModerationGuardrailConfig = exports.ContentModerationGuardrailConfig || (exports.ContentModerationGuardrailConfig = {}));
38
+ //# sourceMappingURL=content-moderation-guardrail-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-moderation-guardrail-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/content-moderation-guardrail-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAmBH,IAAiB,gCAAgC,CAWhD;AAXD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAWhD"}
@@ -19,6 +19,7 @@ To learn more about the service, see the [Generative AI Agents documentation](ht
19
19
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
20
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
21
  */
22
+ import * as model from "../model";
22
23
  /**
23
24
  * The data to create an agent.
24
25
  *
@@ -38,13 +39,14 @@ export interface CreateAgentDetails {
38
39
  */
39
40
  "compartmentId": string;
40
41
  /**
41
- * List of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent.
42
+ * List of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent. This field is deprecated and will be removed after March 26 2026.
42
43
  */
43
44
  "knowledgeBaseIds"?: Array<string>;
44
45
  /**
45
46
  * Details about purpose and responsibility of the agent
46
47
  */
47
48
  "welcomeMessage"?: string;
49
+ "llmConfig"?: model.LlmConfig;
48
50
  /**
49
51
  * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
50
52
  * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
@@ -20,17 +20,43 @@ To learn more about the service, see the [Generative AI Agents documentation](ht
20
20
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
21
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
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
+ };
23
42
  Object.defineProperty(exports, "__esModule", { value: true });
24
43
  exports.CreateAgentDetails = void 0;
44
+ const model = __importStar(require("../model"));
25
45
  var CreateAgentDetails;
26
46
  (function (CreateAgentDetails) {
27
47
  function getJsonObj(obj) {
28
- const jsonObj = Object.assign(Object.assign({}, obj), {});
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "llmConfig": obj.llmConfig ? model.LlmConfig.getJsonObj(obj.llmConfig) : undefined
50
+ });
29
51
  return jsonObj;
30
52
  }
31
53
  CreateAgentDetails.getJsonObj = getJsonObj;
32
54
  function getDeserializedJsonObj(obj) {
33
- const jsonObj = Object.assign(Object.assign({}, obj), {});
55
+ const jsonObj = Object.assign(Object.assign({}, obj), {
56
+ "llmConfig": obj.llmConfig
57
+ ? model.LlmConfig.getDeserializedJsonObj(obj.llmConfig)
58
+ : undefined
59
+ });
34
60
  return jsonObj;
35
61
  }
36
62
  CreateAgentDetails.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/create-agent-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAiDH,IAAiB,kBAAkB,CAWlC;AAXD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAWlC"}
1
+ {"version":3,"file":"create-agent-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/create-agent-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgDlC,IAAiB,kBAAkB,CAuBlC;AAvBD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;SACnF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,6BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yCAAsB,yBAWrC,CAAA;AACH,CAAC,EAvBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAuBlC"}
@@ -38,6 +38,15 @@ export interface CreateAgentEndpointDetails {
38
38
  */
39
39
  "agentId": string;
40
40
  "contentModerationConfig"?: model.ContentModerationConfig;
41
+ "guardrailConfig"?: model.GuardrailConfig;
42
+ /**
43
+ * Key-value pairs to allow additional configurations.
44
+ */
45
+ "metadata"?: {
46
+ [key: string]: string;
47
+ };
48
+ "humanInputConfig"?: model.HumanInputConfig;
49
+ "outputConfig"?: model.OutputConfig;
41
50
  /**
42
51
  * Whether to show traces in the chat result.
43
52
  */
@@ -50,6 +59,10 @@ export interface CreateAgentEndpointDetails {
50
59
  * Whether or not to enable Session-based chat.
51
60
  */
52
61
  "shouldEnableSession"?: boolean;
62
+ /**
63
+ * Whether to enable multi-language for chat.
64
+ */
65
+ "shouldEnableMultiLanguage"?: boolean;
53
66
  "sessionConfig"?: model.SessionConfig;
54
67
  /**
55
68
  * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the endpoint in.
@@ -49,6 +49,15 @@ var CreateAgentEndpointDetails;
49
49
  "contentModerationConfig": obj.contentModerationConfig
50
50
  ? model.ContentModerationConfig.getJsonObj(obj.contentModerationConfig)
51
51
  : undefined,
52
+ "guardrailConfig": obj.guardrailConfig
53
+ ? model.GuardrailConfig.getJsonObj(obj.guardrailConfig)
54
+ : undefined,
55
+ "humanInputConfig": obj.humanInputConfig
56
+ ? model.HumanInputConfig.getJsonObj(obj.humanInputConfig)
57
+ : undefined,
58
+ "outputConfig": obj.outputConfig
59
+ ? model.OutputConfig.getJsonObj(obj.outputConfig)
60
+ : undefined,
52
61
  "sessionConfig": obj.sessionConfig
53
62
  ? model.SessionConfig.getJsonObj(obj.sessionConfig)
54
63
  : undefined
@@ -61,6 +70,15 @@ var CreateAgentEndpointDetails;
61
70
  "contentModerationConfig": obj.contentModerationConfig
62
71
  ? model.ContentModerationConfig.getDeserializedJsonObj(obj.contentModerationConfig)
63
72
  : undefined,
73
+ "guardrailConfig": obj.guardrailConfig
74
+ ? model.GuardrailConfig.getDeserializedJsonObj(obj.guardrailConfig)
75
+ : undefined,
76
+ "humanInputConfig": obj.humanInputConfig
77
+ ? model.HumanInputConfig.getDeserializedJsonObj(obj.humanInputConfig)
78
+ : undefined,
79
+ "outputConfig": obj.outputConfig
80
+ ? model.OutputConfig.getDeserializedJsonObj(obj.outputConfig)
81
+ : undefined,
64
82
  "sessionConfig": obj.sessionConfig
65
83
  ? model.SessionConfig.getDeserializedJsonObj(obj.sessionConfig)
66
84
  : undefined
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-endpoint-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/create-agent-endpoint-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyDlC,IAAiB,0BAA0B,CAiC1C;AAjCD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACvE,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACnD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,qCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC/D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,iDAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAiC1C"}
1
+ {"version":3,"file":"create-agent-endpoint-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/create-agent-endpoint-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoElC,IAAiB,0BAA0B,CAqD1C;AArDD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvD,CAAC,CAAC,SAAS;YAEb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACnD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,qCAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACnE,CAAC,CAAC,SAAS;YAEb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC/D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,iDAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAqD1C"}