oci-generativeaiagentruntime 2.95.0

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 (98) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +29 -0
  6. package/index.js +52 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +139 -0
  9. package/lib/client.js +514 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/chat-details.d.ts +43 -0
  12. package/lib/model/chat-details.js +38 -0
  13. package/lib/model/chat-details.js.map +1 -0
  14. package/lib/model/chat-result.d.ts +37 -0
  15. package/lib/model/chat-result.js +72 -0
  16. package/lib/model/chat-result.js.map +1 -0
  17. package/lib/model/citation.d.ts +37 -0
  18. package/lib/model/citation.js +66 -0
  19. package/lib/model/citation.js.map +1 -0
  20. package/lib/model/create-session-details.d.ts +39 -0
  21. package/lib/model/create-session-details.js +38 -0
  22. package/lib/model/create-session-details.js.map +1 -0
  23. package/lib/model/error-trace.d.ts +38 -0
  24. package/lib/model/error-trace.js +59 -0
  25. package/lib/model/error-trace.js.map +1 -0
  26. package/lib/model/generation-trace.d.ts +38 -0
  27. package/lib/model/generation-trace.js +59 -0
  28. package/lib/model/generation-trace.js.map +1 -0
  29. package/lib/model/index.d.ts +53 -0
  30. package/lib/model/index.js +76 -0
  31. package/lib/model/index.js.map +1 -0
  32. package/lib/model/message-content.d.ts +40 -0
  33. package/lib/model/message-content.js +70 -0
  34. package/lib/model/message-content.js.map +1 -0
  35. package/lib/model/message.d.ts +50 -0
  36. package/lib/model/message.js +74 -0
  37. package/lib/model/message.js.map +1 -0
  38. package/lib/model/oci-database-source-location.d.ts +46 -0
  39. package/lib/model/oci-database-source-location.js +63 -0
  40. package/lib/model/oci-database-source-location.js.map +1 -0
  41. package/lib/model/oci-object-storage-source-location.d.ts +38 -0
  42. package/lib/model/oci-object-storage-source-location.js +63 -0
  43. package/lib/model/oci-object-storage-source-location.js.map +1 -0
  44. package/lib/model/oci-open-search-source-location.d.ts +46 -0
  45. package/lib/model/oci-open-search-source-location.js +63 -0
  46. package/lib/model/oci-open-search-source-location.js.map +1 -0
  47. package/lib/model/retrieval-trace.d.ts +42 -0
  48. package/lib/model/retrieval-trace.js +71 -0
  49. package/lib/model/retrieval-trace.js.map +1 -0
  50. package/lib/model/session.d.ts +55 -0
  51. package/lib/model/session.js +38 -0
  52. package/lib/model/session.js.map +1 -0
  53. package/lib/model/source-location.d.ts +32 -0
  54. package/lib/model/source-location.js +85 -0
  55. package/lib/model/source-location.js.map +1 -0
  56. package/lib/model/trace.d.ts +36 -0
  57. package/lib/model/trace.js +85 -0
  58. package/lib/model/trace.js.map +1 -0
  59. package/lib/model/update-session-details.d.ts +39 -0
  60. package/lib/model/update-session-details.js +38 -0
  61. package/lib/model/update-session-details.js.map +1 -0
  62. package/lib/request/chat-request.d.ts +49 -0
  63. package/lib/request/chat-request.js +15 -0
  64. package/lib/request/chat-request.js.map +1 -0
  65. package/lib/request/create-session-request.d.ts +40 -0
  66. package/lib/request/create-session-request.js +15 -0
  67. package/lib/request/create-session-request.js.map +1 -0
  68. package/lib/request/delete-session-request.d.ts +39 -0
  69. package/lib/request/delete-session-request.js +15 -0
  70. package/lib/request/delete-session-request.js.map +1 -0
  71. package/lib/request/get-session-request.d.ts +30 -0
  72. package/lib/request/get-session-request.js +15 -0
  73. package/lib/request/get-session-request.js.map +1 -0
  74. package/lib/request/index.d.ts +31 -0
  75. package/lib/request/index.js +24 -0
  76. package/lib/request/index.js.map +1 -0
  77. package/lib/request/update-session-request.d.ts +44 -0
  78. package/lib/request/update-session-request.js +15 -0
  79. package/lib/request/update-session-request.js.map +1 -0
  80. package/lib/response/chat-response.d.ts +25 -0
  81. package/lib/response/chat-response.js +15 -0
  82. package/lib/response/chat-response.js.map +1 -0
  83. package/lib/response/create-session-response.d.ts +30 -0
  84. package/lib/response/create-session-response.js +15 -0
  85. package/lib/response/create-session-response.js.map +1 -0
  86. package/lib/response/delete-session-response.d.ts +20 -0
  87. package/lib/response/delete-session-response.js +15 -0
  88. package/lib/response/delete-session-response.js.map +1 -0
  89. package/lib/response/get-session-response.d.ts +30 -0
  90. package/lib/response/get-session-response.js +15 -0
  91. package/lib/response/get-session-response.js.map +1 -0
  92. package/lib/response/index.d.ts +31 -0
  93. package/lib/response/index.js +24 -0
  94. package/lib/response/index.js.map +1 -0
  95. package/lib/response/update-session-response.d.ts +30 -0
  96. package/lib/response/update-session-response.js +15 -0
  97. package/lib/response/update-session-response.js.map +1 -0
  98. package/package.json +29 -0
@@ -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 [Generative AI Agents Management API](#/EN/generative-ai-agents/latest/).
11
+
12
+ To learn more about the service, see the [Generative AI Agents documentation](/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, 2024, 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.UpdateSessionDetails = void 0;
25
+ var UpdateSessionDetails;
26
+ (function (UpdateSessionDetails) {
27
+ function getJsonObj(obj) {
28
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
29
+ return jsonObj;
30
+ }
31
+ UpdateSessionDetails.getJsonObj = getJsonObj;
32
+ function getDeserializedJsonObj(obj) {
33
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
34
+ return jsonObj;
35
+ }
36
+ UpdateSessionDetails.getDeserializedJsonObj = getDeserializedJsonObj;
37
+ })(UpdateSessionDetails = exports.UpdateSessionDetails || (exports.UpdateSessionDetails = {}));
38
+ //# sourceMappingURL=update-session-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-session-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/update-session-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAoBH,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagentruntime/Chat.ts.html |here} to see how to use ChatRequest.
17
+ */
18
+ export interface ChatRequest extends common.BaseRequest {
19
+ /**
20
+ * A unique ID for the endpoint.
21
+ */
22
+ "agentEndpointId": string;
23
+ /**
24
+ * Input for chat.
25
+ */
26
+ "chatDetails": model.ChatDetails;
27
+ /**
28
+ * The client request ID for tracing.
29
+ */
30
+ "opcRequestId"?: string;
31
+ /**
32
+ * For optimistic concurrency control. In the PUT or DELETE call
33
+ * for a resource, set the {@code if-match} parameter to the value of the
34
+ * etag from a previous GET or POST response for that resource.
35
+ * The resource will be updated or deleted only if the etag you
36
+ * provide matches the resource's current etag value.
37
+ *
38
+ */
39
+ "ifMatch"?: string;
40
+ /**
41
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
42
+ * server error without risk of executing that same action again. Retry tokens expire after 24
43
+ * hours, but can be invalidated before then due to conflicting operations. For example, if a resource
44
+ * has been deleted and purged from the system, then a retry of the original creation request
45
+ * might be rejected.
46
+ *
47
+ */
48
+ "opcRetryToken"?: string;
49
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=chat-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/request/chat-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagentruntime/CreateSession.ts.html |here} to see how to use CreateSessionRequest.
17
+ */
18
+ export interface CreateSessionRequest extends common.BaseRequest {
19
+ /**
20
+ * Details for the new agent session.
21
+ */
22
+ "createSessionDetails": model.CreateSessionDetails;
23
+ /**
24
+ * A unique ID for the endpoint.
25
+ */
26
+ "agentEndpointId": string;
27
+ /**
28
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
29
+ * server error without risk of executing that same action again. Retry tokens expire after 24
30
+ * hours, but can be invalidated before then due to conflicting operations. For example, if a resource
31
+ * has been deleted and purged from the system, then a retry of the original creation request
32
+ * might be rejected.
33
+ *
34
+ */
35
+ "opcRetryToken"?: string;
36
+ /**
37
+ * The client request ID for tracing.
38
+ */
39
+ "opcRequestId"?: string;
40
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=create-session-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-session-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/request/create-session-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagentruntime/DeleteSession.ts.html |here} to see how to use DeleteSessionRequest.
16
+ */
17
+ export interface DeleteSessionRequest extends common.BaseRequest {
18
+ /**
19
+ * A unique ID for the endpoint.
20
+ */
21
+ "agentEndpointId": string;
22
+ /**
23
+ * A unique ID for the session.
24
+ */
25
+ "sessionId": string;
26
+ /**
27
+ * For optimistic concurrency control. In the PUT or DELETE call
28
+ * for a resource, set the {@code if-match} parameter to the value of the
29
+ * etag from a previous GET or POST response for that resource.
30
+ * The resource will be updated or deleted only if the etag you
31
+ * provide matches the resource's current etag value.
32
+ *
33
+ */
34
+ "ifMatch"?: string;
35
+ /**
36
+ * The client request ID for tracing.
37
+ */
38
+ "opcRequestId"?: string;
39
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=delete-session-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-session-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/request/delete-session-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagentruntime/GetSession.ts.html |here} to see how to use GetSessionRequest.
16
+ */
17
+ export interface GetSessionRequest extends common.BaseRequest {
18
+ /**
19
+ * A unique ID for the endpoint.
20
+ */
21
+ "agentEndpointId": string;
22
+ /**
23
+ * A unique ID for the session.
24
+ */
25
+ "sessionId": string;
26
+ /**
27
+ * The client request ID for tracing.
28
+ */
29
+ "opcRequestId"?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=get-session-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-session-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/request/get-session-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,31 @@
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 [Generative AI Agents Management API](#/EN/generative-ai-agents/latest/).
10
+
11
+ To learn more about the service, see the [Generative AI Agents documentation](/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, 2024, 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 ChatRequest from "./chat-request";
23
+ export import ChatRequest = ChatRequest.ChatRequest;
24
+ import * as CreateSessionRequest from "./create-session-request";
25
+ export import CreateSessionRequest = CreateSessionRequest.CreateSessionRequest;
26
+ import * as DeleteSessionRequest from "./delete-session-request";
27
+ export import DeleteSessionRequest = DeleteSessionRequest.DeleteSessionRequest;
28
+ import * as GetSessionRequest from "./get-session-request";
29
+ export import GetSessionRequest = GetSessionRequest.GetSessionRequest;
30
+ import * as UpdateSessionRequest from "./update-session-request";
31
+ export import UpdateSessionRequest = UpdateSessionRequest.UpdateSessionRequest;
@@ -0,0 +1,24 @@
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 [Generative AI Agents Management API](#/EN/generative-ai-agents/latest/).
11
+
12
+ To learn more about the service, see the [Generative AI Agents documentation](/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, 2024, 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
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagentruntime/UpdateSession.ts.html |here} to see how to use UpdateSessionRequest.
17
+ */
18
+ export interface UpdateSessionRequest extends common.BaseRequest {
19
+ /**
20
+ * A unique ID for the endpoint.
21
+ */
22
+ "agentEndpointId": string;
23
+ /**
24
+ * A unique ID for the session.
25
+ */
26
+ "sessionId": string;
27
+ /**
28
+ * Details to update an agent session.
29
+ */
30
+ "updateSessionDetails": model.UpdateSessionDetails;
31
+ /**
32
+ * For optimistic concurrency control. In the PUT or DELETE call
33
+ * for a resource, set the {@code if-match} parameter to the value of the
34
+ * etag from a previous GET or POST response for that resource.
35
+ * The resource will be updated or deleted only if the etag you
36
+ * provide matches the resource's current etag value.
37
+ *
38
+ */
39
+ "ifMatch"?: string;
40
+ /**
41
+ * The client request ID for tracing.
42
+ */
43
+ "opcRequestId"?: string;
44
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=update-session-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-session-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/request/update-session-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ export interface ChatResponse {
15
+ /**
16
+ * Unique Oracle-assigned identifier for the request. If you need to contact
17
+ * Oracle about a particular request, please provide the request ID.
18
+ *
19
+ */
20
+ "opcRequestId": string;
21
+ /**
22
+ * The returned model.ChatResult instance.
23
+ */
24
+ "chatResult": model.ChatResult;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=chat-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-response.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/response/chat-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ export interface CreateSessionResponse {
15
+ /**
16
+ * For optimistic concurrency control. See {@code if-match}.
17
+ *
18
+ */
19
+ "etag": string;
20
+ /**
21
+ * Unique Oracle-assigned identifier for the request. If you need to contact
22
+ * Oracle about a particular request, please provide the request ID.
23
+ *
24
+ */
25
+ "opcRequestId": string;
26
+ /**
27
+ * The returned model.Session instance.
28
+ */
29
+ "session": model.Session;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=create-session-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-session-response.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/response/create-session-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ export interface DeleteSessionResponse {
14
+ /**
15
+ * Unique Oracle-assigned identifier for the request. If you need to contact
16
+ * Oracle about a particular request, please provide the request ID.
17
+ *
18
+ */
19
+ "opcRequestId": string;
20
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=delete-session-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-session-response.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/response/delete-session-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ export interface GetSessionResponse {
15
+ /**
16
+ * For optimistic concurrency control. See {@code if-match}.
17
+ *
18
+ */
19
+ "etag": string;
20
+ /**
21
+ * Unique Oracle-assigned identifier for the request. If you need to contact
22
+ * Oracle about a particular request, please provide the request ID.
23
+ *
24
+ */
25
+ "opcRequestId": string;
26
+ /**
27
+ * The returned model.Session instance.
28
+ */
29
+ "session": model.Session;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=get-session-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-session-response.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/response/get-session-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,31 @@
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 [Generative AI Agents Management API](#/EN/generative-ai-agents/latest/).
10
+
11
+ To learn more about the service, see the [Generative AI Agents documentation](/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, 2024, 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 ChatResponse from "./chat-response";
23
+ export import ChatResponse = ChatResponse.ChatResponse;
24
+ import * as CreateSessionResponse from "./create-session-response";
25
+ export import CreateSessionResponse = CreateSessionResponse.CreateSessionResponse;
26
+ import * as DeleteSessionResponse from "./delete-session-response";
27
+ export import DeleteSessionResponse = DeleteSessionResponse.DeleteSessionResponse;
28
+ import * as GetSessionResponse from "./get-session-response";
29
+ export import GetSessionResponse = GetSessionResponse.GetSessionResponse;
30
+ import * as UpdateSessionResponse from "./update-session-response";
31
+ export import UpdateSessionResponse = UpdateSessionResponse.UpdateSessionResponse;