oci-generativeaiagentruntime 2.106.0 → 2.106.2

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 (62) hide show
  1. package/lib/client.d.ts +10 -0
  2. package/lib/client.js +68 -1
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/chat-details.d.ts +12 -1
  5. package/lib/model/chat-details.js +34 -2
  6. package/lib/model/chat-details.js.map +1 -1
  7. package/lib/model/chat-result.d.ts +15 -0
  8. package/lib/model/chat-result.js +10 -0
  9. package/lib/model/chat-result.js.map +1 -1
  10. package/lib/model/citation.d.ts +7 -1
  11. package/lib/model/citation.js.map +1 -1
  12. package/lib/model/function-call.d.ts +39 -0
  13. package/lib/model/function-call.js +38 -0
  14. package/lib/model/function-call.js.map +1 -0
  15. package/lib/model/function-calling-performed-action.d.ts +38 -0
  16. package/lib/model/function-calling-performed-action.js +63 -0
  17. package/lib/model/function-calling-performed-action.js.map +1 -0
  18. package/lib/model/function-calling-required-action.d.ts +35 -0
  19. package/lib/model/function-calling-required-action.js +71 -0
  20. package/lib/model/function-calling-required-action.js.map +1 -0
  21. package/lib/model/human-approval-performed-action.d.ts +41 -0
  22. package/lib/model/human-approval-performed-action.js +68 -0
  23. package/lib/model/human-approval-performed-action.js.map +1 -0
  24. package/lib/model/index.d.ts +24 -0
  25. package/lib/model/index.js +25 -1
  26. package/lib/model/index.js.map +1 -1
  27. package/lib/model/knowledge-base-metadata-summary.d.ts +76 -0
  28. package/lib/model/knowledge-base-metadata-summary.js +70 -0
  29. package/lib/model/knowledge-base-metadata-summary.js.map +1 -0
  30. package/lib/model/knowledge-base-metadata-value.d.ts +39 -0
  31. package/lib/model/knowledge-base-metadata-value.js +38 -0
  32. package/lib/model/knowledge-base-metadata-value.js.map +1 -0
  33. package/lib/model/message-content.d.ts +4 -0
  34. package/lib/model/message-content.js +10 -0
  35. package/lib/model/message-content.js.map +1 -1
  36. package/lib/model/metadata-filter.d.ts +39 -0
  37. package/lib/model/metadata-filter.js +38 -0
  38. package/lib/model/metadata-filter.js.map +1 -0
  39. package/lib/model/paragraph-citation.d.ts +37 -0
  40. package/lib/model/paragraph-citation.js +74 -0
  41. package/lib/model/paragraph-citation.js.map +1 -0
  42. package/lib/model/paragraph.d.ts +43 -0
  43. package/lib/model/paragraph.js +38 -0
  44. package/lib/model/paragraph.js.map +1 -0
  45. package/lib/model/performed-action.d.ts +36 -0
  46. package/lib/model/performed-action.js +81 -0
  47. package/lib/model/performed-action.js.map +1 -0
  48. package/lib/model/required-action.d.ts +36 -0
  49. package/lib/model/required-action.js +77 -0
  50. package/lib/model/required-action.js.map +1 -0
  51. package/lib/model/retrieve-metadata-details.d.ts +36 -0
  52. package/lib/model/retrieve-metadata-details.js +70 -0
  53. package/lib/model/retrieve-metadata-details.js.map +1 -0
  54. package/lib/request/index.d.ts +2 -0
  55. package/lib/request/retrieve-metadata-request.d.ts +49 -0
  56. package/lib/request/retrieve-metadata-request.js +15 -0
  57. package/lib/request/retrieve-metadata-request.js.map +1 -0
  58. package/lib/response/index.d.ts +2 -0
  59. package/lib/response/retrieve-metadata-response.d.ts +30 -0
  60. package/lib/response/retrieve-metadata-response.js +15 -0
  61. package/lib/response/retrieve-metadata-response.js.map +1 -0
  62. package/package.json +3 -3
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Client 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 Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
9
+
10
+ For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the {@link #eNGenerative-ai-agentsLatest(ENGenerative-ai-agentsLatestRequest) eNGenerative-ai-agentsLatest}.
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.FunctionCallingRequiredAction = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var FunctionCallingRequiredAction;
46
+ (function (FunctionCallingRequiredAction) {
47
+ function getJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.RequiredAction.getJsonObj(obj))), {
51
+ "functionCall": obj.functionCall
52
+ ? model.FunctionCall.getJsonObj(obj.functionCall)
53
+ : undefined
54
+ });
55
+ return jsonObj;
56
+ }
57
+ FunctionCallingRequiredAction.getJsonObj = getJsonObj;
58
+ FunctionCallingRequiredAction.requiredActionType = "FUNCTION_CALLING_REQUIRED_ACTION";
59
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
60
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
61
+ ? obj
62
+ : model.RequiredAction.getDeserializedJsonObj(obj))), {
63
+ "functionCall": obj.functionCall
64
+ ? model.FunctionCall.getDeserializedJsonObj(obj.functionCall)
65
+ : undefined
66
+ });
67
+ return jsonObj;
68
+ }
69
+ FunctionCallingRequiredAction.getDeserializedJsonObj = getDeserializedJsonObj;
70
+ })(FunctionCallingRequiredAction = exports.FunctionCallingRequiredAction || (exports.FunctionCallingRequiredAction = {}));
71
+ //# sourceMappingURL=function-calling-required-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function-calling-required-action.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/function-calling-required-action.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,6BAA6B,CAoC7C;AApCD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GACzE;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,wCAAU,aAgBzB,CAAA;IACY,gDAAkB,GAAG,kCAAkC,CAAC;IACrE,SAAgB,sBAAsB,CACpC,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAmC,CAAC,GACrF;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,oDAAsB,yBAgBrC,CAAA;AACH,CAAC,EApCgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAoC7C"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Generative AI Agents Client 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 Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
8
+
9
+ For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the {@link #eNGenerative-ai-agentsLatest(ENGenerative-ai-agentsLatestRequest) eNGenerative-ai-agentsLatest}.
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
+ * An action describing user approval to the agent.
25
+ */
26
+ export interface HumanApprovalPerformedAction extends model.PerformedAction {
27
+ /**
28
+ * The chosen approval or denial option to the agent.
29
+ */
30
+ "chosenOption": HumanApprovalPerformedAction.ChosenOption;
31
+ "performedActionType": string;
32
+ }
33
+ export declare namespace HumanApprovalPerformedAction {
34
+ enum ChosenOption {
35
+ Approve = "APPROVE",
36
+ Deny = "DENY"
37
+ }
38
+ function getJsonObj(obj: HumanApprovalPerformedAction, isParentJsonObj?: boolean): object;
39
+ const performedActionType = "HUMAN_APPROVAL_PERFORMED_ACTION";
40
+ function getDeserializedJsonObj(obj: HumanApprovalPerformedAction, isParentJsonObj?: boolean): object;
41
+ }
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Client 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 Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
9
+
10
+ For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the {@link #eNGenerative-ai-agentsLatest(ENGenerative-ai-agentsLatestRequest) eNGenerative-ai-agentsLatest}.
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.HumanApprovalPerformedAction = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var HumanApprovalPerformedAction;
46
+ (function (HumanApprovalPerformedAction) {
47
+ let ChosenOption;
48
+ (function (ChosenOption) {
49
+ ChosenOption["Approve"] = "APPROVE";
50
+ ChosenOption["Deny"] = "DENY";
51
+ })(ChosenOption = HumanApprovalPerformedAction.ChosenOption || (HumanApprovalPerformedAction.ChosenOption = {}));
52
+ function getJsonObj(obj, isParentJsonObj) {
53
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
54
+ ? obj
55
+ : model.PerformedAction.getJsonObj(obj))), {});
56
+ return jsonObj;
57
+ }
58
+ HumanApprovalPerformedAction.getJsonObj = getJsonObj;
59
+ HumanApprovalPerformedAction.performedActionType = "HUMAN_APPROVAL_PERFORMED_ACTION";
60
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
61
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
62
+ ? obj
63
+ : model.PerformedAction.getDeserializedJsonObj(obj))), {});
64
+ return jsonObj;
65
+ }
66
+ HumanApprovalPerformedAction.getDeserializedJsonObj = getDeserializedJsonObj;
67
+ })(HumanApprovalPerformedAction = exports.HumanApprovalPerformedAction || (exports.HumanApprovalPerformedAction = {}));
68
+ //# sourceMappingURL=human-approval-performed-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"human-approval-performed-action.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/human-approval-performed-action.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,4BAA4B,CA8B5C;AA9BD,WAAiB,4BAA4B;IAC3C,IAAY,YAGX;IAHD,WAAY,YAAY;QACtB,mCAAmB,CAAA;QACnB,6BAAa,CAAA;IACf,CAAC,EAHW,YAAY,GAAZ,yCAAY,KAAZ,yCAAY,QAGvB;IAED,SAAgB,UAAU,CAAC,GAAiC,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAkC,CAAC,GACzE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAU,aASzB,CAAA;IACY,gDAAmB,GAAG,iCAAiC,CAAC;IACrE,SAAgB,sBAAsB,CACpC,GAAiC,EACjC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAkC,CAAC,GACrF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,mDAAsB,yBAYrC,CAAA;AACH,CAAC,EA9BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA8B5C"}
@@ -27,10 +27,28 @@ import * as Citation from "./citation";
27
27
  export import Citation = Citation.Citation;
28
28
  import * as CreateSessionDetails from "./create-session-details";
29
29
  export import CreateSessionDetails = CreateSessionDetails.CreateSessionDetails;
30
+ import * as FunctionCall from "./function-call";
31
+ export import FunctionCall = FunctionCall.FunctionCall;
32
+ import * as KnowledgeBaseMetadataSummary from "./knowledge-base-metadata-summary";
33
+ export import KnowledgeBaseMetadataSummary = KnowledgeBaseMetadataSummary.KnowledgeBaseMetadataSummary;
34
+ import * as KnowledgeBaseMetadataValue from "./knowledge-base-metadata-value";
35
+ export import KnowledgeBaseMetadataValue = KnowledgeBaseMetadataValue.KnowledgeBaseMetadataValue;
30
36
  import * as Message from "./message";
31
37
  export import Message = Message.Message;
32
38
  import * as MessageContent from "./message-content";
33
39
  export import MessageContent = MessageContent.MessageContent;
40
+ import * as MetadataFilter from "./metadata-filter";
41
+ export import MetadataFilter = MetadataFilter.MetadataFilter;
42
+ import * as Paragraph from "./paragraph";
43
+ export import Paragraph = Paragraph.Paragraph;
44
+ import * as ParagraphCitation from "./paragraph-citation";
45
+ export import ParagraphCitation = ParagraphCitation.ParagraphCitation;
46
+ import * as PerformedAction from "./performed-action";
47
+ export import PerformedAction = PerformedAction.PerformedAction;
48
+ import * as RequiredAction from "./required-action";
49
+ export import RequiredAction = RequiredAction.RequiredAction;
50
+ import * as RetrieveMetadataDetails from "./retrieve-metadata-details";
51
+ export import RetrieveMetadataDetails = RetrieveMetadataDetails.RetrieveMetadataDetails;
34
52
  import * as Session from "./session";
35
53
  export import Session = Session.Session;
36
54
  import * as SourceLocation from "./source-location";
@@ -41,8 +59,14 @@ import * as UpdateSessionDetails from "./update-session-details";
41
59
  export import UpdateSessionDetails = UpdateSessionDetails.UpdateSessionDetails;
42
60
  import * as ErrorTrace from "./error-trace";
43
61
  export import ErrorTrace = ErrorTrace.ErrorTrace;
62
+ import * as FunctionCallingPerformedAction from "./function-calling-performed-action";
63
+ export import FunctionCallingPerformedAction = FunctionCallingPerformedAction.FunctionCallingPerformedAction;
64
+ import * as FunctionCallingRequiredAction from "./function-calling-required-action";
65
+ export import FunctionCallingRequiredAction = FunctionCallingRequiredAction.FunctionCallingRequiredAction;
44
66
  import * as GenerationTrace from "./generation-trace";
45
67
  export import GenerationTrace = GenerationTrace.GenerationTrace;
68
+ import * as HumanApprovalPerformedAction from "./human-approval-performed-action";
69
+ export import HumanApprovalPerformedAction = HumanApprovalPerformedAction.HumanApprovalPerformedAction;
46
70
  import * as OciDatabaseSourceLocation from "./oci-database-source-location";
47
71
  export import OciDatabaseSourceLocation = OciDatabaseSourceLocation.OciDatabaseSourceLocation;
48
72
  import * as OciObjectStorageSourceLocation from "./oci-object-storage-source-location";
@@ -40,7 +40,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
40
40
  return result;
41
41
  };
42
42
  Object.defineProperty(exports, "__esModule", { value: true });
43
- exports.RetrievalTrace = exports.OciOpenSearchSourceLocation = exports.OciObjectStorageSourceLocation = exports.OciDatabaseSourceLocation = exports.GenerationTrace = exports.ErrorTrace = exports.UpdateSessionDetails = exports.Trace = exports.SourceLocation = exports.Session = exports.MessageContent = exports.Message = exports.CreateSessionDetails = exports.Citation = exports.ChatResult = exports.ChatDetails = void 0;
43
+ exports.RetrievalTrace = exports.OciOpenSearchSourceLocation = exports.OciObjectStorageSourceLocation = exports.OciDatabaseSourceLocation = exports.HumanApprovalPerformedAction = exports.GenerationTrace = exports.FunctionCallingRequiredAction = exports.FunctionCallingPerformedAction = exports.ErrorTrace = exports.UpdateSessionDetails = exports.Trace = exports.SourceLocation = exports.Session = exports.RetrieveMetadataDetails = exports.RequiredAction = exports.PerformedAction = exports.ParagraphCitation = exports.Paragraph = exports.MetadataFilter = exports.MessageContent = exports.Message = exports.KnowledgeBaseMetadataValue = exports.KnowledgeBaseMetadataSummary = exports.FunctionCall = exports.CreateSessionDetails = exports.Citation = exports.ChatResult = exports.ChatDetails = void 0;
44
44
  const ChatDetails = __importStar(require("./chat-details"));
45
45
  exports.ChatDetails = ChatDetails.ChatDetails;
46
46
  const ChatResult = __importStar(require("./chat-result"));
@@ -49,10 +49,28 @@ const Citation = __importStar(require("./citation"));
49
49
  exports.Citation = Citation.Citation;
50
50
  const CreateSessionDetails = __importStar(require("./create-session-details"));
51
51
  exports.CreateSessionDetails = CreateSessionDetails.CreateSessionDetails;
52
+ const FunctionCall = __importStar(require("./function-call"));
53
+ exports.FunctionCall = FunctionCall.FunctionCall;
54
+ const KnowledgeBaseMetadataSummary = __importStar(require("./knowledge-base-metadata-summary"));
55
+ exports.KnowledgeBaseMetadataSummary = KnowledgeBaseMetadataSummary.KnowledgeBaseMetadataSummary;
56
+ const KnowledgeBaseMetadataValue = __importStar(require("./knowledge-base-metadata-value"));
57
+ exports.KnowledgeBaseMetadataValue = KnowledgeBaseMetadataValue.KnowledgeBaseMetadataValue;
52
58
  const Message = __importStar(require("./message"));
53
59
  exports.Message = Message.Message;
54
60
  const MessageContent = __importStar(require("./message-content"));
55
61
  exports.MessageContent = MessageContent.MessageContent;
62
+ const MetadataFilter = __importStar(require("./metadata-filter"));
63
+ exports.MetadataFilter = MetadataFilter.MetadataFilter;
64
+ const Paragraph = __importStar(require("./paragraph"));
65
+ exports.Paragraph = Paragraph.Paragraph;
66
+ const ParagraphCitation = __importStar(require("./paragraph-citation"));
67
+ exports.ParagraphCitation = ParagraphCitation.ParagraphCitation;
68
+ const PerformedAction = __importStar(require("./performed-action"));
69
+ exports.PerformedAction = PerformedAction.PerformedAction;
70
+ const RequiredAction = __importStar(require("./required-action"));
71
+ exports.RequiredAction = RequiredAction.RequiredAction;
72
+ const RetrieveMetadataDetails = __importStar(require("./retrieve-metadata-details"));
73
+ exports.RetrieveMetadataDetails = RetrieveMetadataDetails.RetrieveMetadataDetails;
56
74
  const Session = __importStar(require("./session"));
57
75
  exports.Session = Session.Session;
58
76
  const SourceLocation = __importStar(require("./source-location"));
@@ -63,8 +81,14 @@ const UpdateSessionDetails = __importStar(require("./update-session-details"));
63
81
  exports.UpdateSessionDetails = UpdateSessionDetails.UpdateSessionDetails;
64
82
  const ErrorTrace = __importStar(require("./error-trace"));
65
83
  exports.ErrorTrace = ErrorTrace.ErrorTrace;
84
+ const FunctionCallingPerformedAction = __importStar(require("./function-calling-performed-action"));
85
+ exports.FunctionCallingPerformedAction = FunctionCallingPerformedAction.FunctionCallingPerformedAction;
86
+ const FunctionCallingRequiredAction = __importStar(require("./function-calling-required-action"));
87
+ exports.FunctionCallingRequiredAction = FunctionCallingRequiredAction.FunctionCallingRequiredAction;
66
88
  const GenerationTrace = __importStar(require("./generation-trace"));
67
89
  exports.GenerationTrace = GenerationTrace.GenerationTrace;
90
+ const HumanApprovalPerformedAction = __importStar(require("./human-approval-performed-action"));
91
+ exports.HumanApprovalPerformedAction = HumanApprovalPerformedAction.HumanApprovalPerformedAction;
68
92
  const OciDatabaseSourceLocation = __importStar(require("./oci-database-source-location"));
69
93
  exports.OciDatabaseSourceLocation = OciDatabaseSourceLocation.OciDatabaseSourceLocation;
70
94
  const OciObjectStorageSourceLocation = __importStar(require("./oci-object-storage-source-location"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,qDAAuC;AACzB,QAAA,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;AAC3C,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,mDAAqC;AACvB,QAAA,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACxC,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,mDAAqC;AACvB,QAAA,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACxC,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,+CAAiC;AACnB,QAAA,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;AAClC,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAE/E,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,qGAAuF;AACzE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,+FAAiF;AACnE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,qDAAuC;AACzB,QAAA,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;AAC3C,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,8DAAgD;AAClC,QAAA,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;AACvD,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,mDAAqC;AACvB,QAAA,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACxC,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,uDAAyC;AAC3B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,qFAAuE;AACzD,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC;AACxF,mDAAqC;AACvB,QAAA,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACxC,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,+CAAiC;AACnB,QAAA,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;AAClC,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAE/E,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,oGAAsF;AACxE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,kGAAoF;AACtE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,qGAAuF;AACzE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,+FAAiF;AACnE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC"}
@@ -0,0 +1,76 @@
1
+ /**
2
+ * Generative AI Agents Client 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 Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
8
+
9
+ For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the {@link #eNGenerative-ai-agentsLatest(ENGenerative-ai-agentsLatestRequest) eNGenerative-ai-agentsLatest}.
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
+ * Represents metadata about a field including its name, type, supported operations, and possible values.
25
+ *
26
+ */
27
+ export interface KnowledgeBaseMetadataSummary {
28
+ /**
29
+ * The name of the field
30
+ */
31
+ "name": string;
32
+ /**
33
+ * The data type of the field (e.g., \"array\", \"number\", \"string\")
34
+ */
35
+ "type": string;
36
+ /**
37
+ * List of supported operations for this field (e.g., \"equals\", \"in\", \"contains\")
38
+ */
39
+ "operations": Array<string>;
40
+ /**
41
+ * List of metadata values available in the knowledge base along with the matching documents count.
42
+ */
43
+ "values": Array<model.KnowledgeBaseMetadataValue>;
44
+ /**
45
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
46
+ * Example: {@code {\"bar-key\": \"value\"}}
47
+ *
48
+ */
49
+ "freeformTags"?: {
50
+ [key: string]: string;
51
+ };
52
+ /**
53
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
54
+ * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
55
+ *
56
+ */
57
+ "definedTags"?: {
58
+ [key: string]: {
59
+ [key: string]: any;
60
+ };
61
+ };
62
+ /**
63
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
64
+ * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
65
+ *
66
+ */
67
+ "systemTags"?: {
68
+ [key: string]: {
69
+ [key: string]: any;
70
+ };
71
+ };
72
+ }
73
+ export declare namespace KnowledgeBaseMetadataSummary {
74
+ function getJsonObj(obj: KnowledgeBaseMetadataSummary): object;
75
+ function getDeserializedJsonObj(obj: KnowledgeBaseMetadataSummary): object;
76
+ }
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Client 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 Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
9
+
10
+ For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the {@link #eNGenerative-ai-agentsLatest(ENGenerative-ai-agentsLatestRequest) eNGenerative-ai-agentsLatest}.
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.KnowledgeBaseMetadataSummary = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var KnowledgeBaseMetadataSummary;
46
+ (function (KnowledgeBaseMetadataSummary) {
47
+ function getJsonObj(obj) {
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "values": obj.values
50
+ ? obj.values.map(item => {
51
+ return model.KnowledgeBaseMetadataValue.getJsonObj(item);
52
+ })
53
+ : undefined
54
+ });
55
+ return jsonObj;
56
+ }
57
+ KnowledgeBaseMetadataSummary.getJsonObj = getJsonObj;
58
+ function getDeserializedJsonObj(obj) {
59
+ const jsonObj = Object.assign(Object.assign({}, obj), {
60
+ "values": obj.values
61
+ ? obj.values.map(item => {
62
+ return model.KnowledgeBaseMetadataValue.getDeserializedJsonObj(item);
63
+ })
64
+ : undefined
65
+ });
66
+ return jsonObj;
67
+ }
68
+ KnowledgeBaseMetadataSummary.getDeserializedJsonObj = getDeserializedJsonObj;
69
+ })(KnowledgeBaseMetadataSummary = exports.KnowledgeBaseMetadataSummary || (exports.KnowledgeBaseMetadataSummary = {}));
70
+ //# sourceMappingURL=knowledge-base-metadata-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"knowledge-base-metadata-summary.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/knowledge-base-metadata-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ClC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Generative AI Agents Client 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 Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
8
+
9
+ For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the {@link #eNGenerative-ai-agentsLatest(ENGenerative-ai-agentsLatestRequest) eNGenerative-ai-agentsLatest}.
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
+ * Represents a metadata value and the number of appearances in knowledge base.
24
+ *
25
+ */
26
+ export interface KnowledgeBaseMetadataValue {
27
+ /**
28
+ * The value of the metadata
29
+ */
30
+ "value": string;
31
+ /**
32
+ * Number of documents where this value exists Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
33
+ */
34
+ "count": number;
35
+ }
36
+ export declare namespace KnowledgeBaseMetadataValue {
37
+ function getJsonObj(obj: KnowledgeBaseMetadataValue): object;
38
+ function getDeserializedJsonObj(obj: KnowledgeBaseMetadataValue): object;
39
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Client 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 Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
9
+
10
+ For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the {@link #eNGenerative-ai-agentsLatest(ENGenerative-ai-agentsLatestRequest) eNGenerative-ai-agentsLatest}.
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.KnowledgeBaseMetadataValue = void 0;
25
+ var KnowledgeBaseMetadataValue;
26
+ (function (KnowledgeBaseMetadataValue) {
27
+ function getJsonObj(obj) {
28
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
29
+ return jsonObj;
30
+ }
31
+ KnowledgeBaseMetadataValue.getJsonObj = getJsonObj;
32
+ function getDeserializedJsonObj(obj) {
33
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
34
+ return jsonObj;
35
+ }
36
+ KnowledgeBaseMetadataValue.getDeserializedJsonObj = getDeserializedJsonObj;
37
+ })(KnowledgeBaseMetadataValue = exports.KnowledgeBaseMetadataValue || (exports.KnowledgeBaseMetadataValue = {}));
38
+ //# sourceMappingURL=knowledge-base-metadata-value.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"knowledge-base-metadata-value.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/knowledge-base-metadata-value.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAoBH,IAAiB,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAW1C"}
@@ -33,6 +33,10 @@ export interface MessageContent {
33
33
  * Citations to data sources used for generating an agent's message.
34
34
  */
35
35
  "citations"?: Array<model.Citation>;
36
+ /**
37
+ * A list of citations used to generate the paragraphs of the agent message.
38
+ */
39
+ "paragraphCitations"?: Array<model.ParagraphCitation>;
36
40
  }
37
41
  export declare namespace MessageContent {
38
42
  function getJsonObj(obj: MessageContent): object;
@@ -50,6 +50,11 @@ var MessageContent;
50
50
  ? obj.citations.map(item => {
51
51
  return model.Citation.getJsonObj(item);
52
52
  })
53
+ : undefined,
54
+ "paragraphCitations": obj.paragraphCitations
55
+ ? obj.paragraphCitations.map(item => {
56
+ return model.ParagraphCitation.getJsonObj(item);
57
+ })
53
58
  : undefined
54
59
  });
55
60
  return jsonObj;
@@ -61,6 +66,11 @@ var MessageContent;
61
66
  ? obj.citations.map(item => {
62
67
  return model.Citation.getDeserializedJsonObj(item);
63
68
  })
69
+ : undefined,
70
+ "paragraphCitations": obj.paragraphCitations
71
+ ? obj.paragraphCitations.map(item => {
72
+ return model.ParagraphCitation.getDeserializedJsonObj(item);
73
+ })
64
74
  : undefined
65
75
  });
66
76
  return jsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"message-content.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/message-content.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,cAAc,CA6B9B;AA7BD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA6B9B"}
1
+ {"version":3,"file":"message-content.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/message-content.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsBlC,IAAiB,cAAc,CAuC9B;AAvCD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,yBAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,qCAAsB,yBAkBrC,CAAA;AACH,CAAC,EAvCgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAuC9B"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Generative AI Agents Client 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 Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
8
+
9
+ For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the {@link #eNGenerative-ai-agentsLatest(ENGenerative-ai-agentsLatestRequest) eNGenerative-ai-agentsLatest}.
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
+ * Filter for retrieving specific metadata
24
+ *
25
+ */
26
+ export interface MetadataFilter {
27
+ /**
28
+ * The name of the field to filter on
29
+ */
30
+ "fieldName": string;
31
+ /**
32
+ * The value to filter for in the specified field
33
+ */
34
+ "value": string;
35
+ }
36
+ export declare namespace MetadataFilter {
37
+ function getJsonObj(obj: MetadataFilter): object;
38
+ function getDeserializedJsonObj(obj: MetadataFilter): object;
39
+ }