oci-generativeaiagentruntime 2.110.0 → 2.111.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.
- package/lib/model/error-trace.d.ts +4 -0
- package/lib/model/error-trace.js.map +1 -1
- package/lib/model/execution-trace.d.ts +41 -0
- package/lib/model/execution-trace.js +59 -0
- package/lib/model/execution-trace.js.map +1 -0
- package/lib/model/generation-trace.d.ts +8 -0
- package/lib/model/generation-trace.js +14 -2
- package/lib/model/generation-trace.js.map +1 -1
- package/lib/model/human-approval-required-action.d.ts +50 -0
- package/lib/model/human-approval-required-action.js +73 -0
- package/lib/model/human-approval-required-action.js.map +1 -0
- package/lib/model/index.d.ts +18 -0
- package/lib/model/index.js +19 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/model-details.d.ts +40 -0
- package/lib/model/model-details.js +64 -0
- package/lib/model/model-details.js.map +1 -0
- package/lib/model/model-params.d.ts +54 -0
- package/lib/model/model-params.js +38 -0
- package/lib/model/model-params.js.map +1 -0
- package/lib/model/planning-trace.d.ts +45 -0
- package/lib/model/planning-trace.js +71 -0
- package/lib/model/planning-trace.js.map +1 -0
- package/lib/model/required-action.js +4 -0
- package/lib/model/required-action.js.map +1 -1
- package/lib/model/retrieval-trace.d.ts +4 -0
- package/lib/model/retrieval-trace.js +10 -0
- package/lib/model/retrieval-trace.js.map +1 -1
- package/lib/model/source-details.d.ts +39 -0
- package/lib/model/source-details.js +38 -0
- package/lib/model/source-details.js.map +1 -0
- package/lib/model/tool-invocation-trace.d.ts +57 -0
- package/lib/model/tool-invocation-trace.js +59 -0
- package/lib/model/tool-invocation-trace.js.map +1 -0
- package/lib/model/trace.d.ts +14 -0
- package/lib/model/trace.js +18 -2
- package/lib/model/trace.js.map +1 -1
- package/lib/model/usage-details.d.ts +46 -0
- package/lib/model/usage-details.js +38 -0
- package/lib/model/usage-details.js.map +1 -0
- package/lib/model/usage.d.ts +33 -0
- package/lib/model/usage.js +72 -0
- package/lib/model/usage.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* Details of usage.
|
|
25
|
+
*/
|
|
26
|
+
export interface Usage {
|
|
27
|
+
"modelDetails"?: model.ModelDetails;
|
|
28
|
+
"usageDetails"?: model.UsageDetails;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace Usage {
|
|
31
|
+
function getJsonObj(obj: Usage): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: Usage): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.Usage = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var Usage;
|
|
46
|
+
(function (Usage) {
|
|
47
|
+
function getJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"modelDetails": obj.modelDetails
|
|
50
|
+
? model.ModelDetails.getJsonObj(obj.modelDetails)
|
|
51
|
+
: undefined,
|
|
52
|
+
"usageDetails": obj.usageDetails
|
|
53
|
+
? model.UsageDetails.getJsonObj(obj.usageDetails)
|
|
54
|
+
: undefined
|
|
55
|
+
});
|
|
56
|
+
return jsonObj;
|
|
57
|
+
}
|
|
58
|
+
Usage.getJsonObj = getJsonObj;
|
|
59
|
+
function getDeserializedJsonObj(obj) {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
61
|
+
"modelDetails": obj.modelDetails
|
|
62
|
+
? model.ModelDetails.getDeserializedJsonObj(obj.modelDetails)
|
|
63
|
+
: undefined,
|
|
64
|
+
"usageDetails": obj.usageDetails
|
|
65
|
+
? model.UsageDetails.getDeserializedJsonObj(obj.usageDetails)
|
|
66
|
+
: undefined
|
|
67
|
+
});
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
Usage.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
+
})(Usage = exports.Usage || (exports.Usage = {}));
|
|
72
|
+
//# sourceMappingURL=usage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/usage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,KAAK,CA+BrB;AA/BD,WAAiB,KAAK;IACpB,SAAgB,UAAU,CAAC,GAAU;QACnC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,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;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,gBAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,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;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,4BAAsB,yBAcrC,CAAA;AACH,CAAC,EA/BgB,KAAK,GAAL,aAAK,KAAL,aAAK,QA+BrB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-generativeaiagentruntime",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.111.0",
|
|
4
4
|
"description": "OCI NodeJS client for Generative Ai Agent Runtime Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.111.0",
|
|
19
|
+
"oci-workrequests": "2.111.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|