oci-generativeaiagentruntime 2.109.1 → 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-trace.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/error-trace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"error-trace.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/error-trace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,UAAU,CAkB1B;AAlBD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe,EAAE,eAAyB;QACnE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAgB,CAAC,GACrE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,qBAAU,aAOzB,CAAA;IACY,oBAAS,GAAG,aAAa,CAAC;IACvC,SAAgB,sBAAsB,CAAC,GAAe,EAAE,eAAyB;QAC/E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,GAAG,CAAgB,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,iCAAsB,yBAOrC,CAAA;AACH,CAAC,EAlBgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAkB1B"}
|
|
@@ -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
|
+
* Contains trace information related to execution of tool.
|
|
25
|
+
*/
|
|
26
|
+
export interface ExecutionTrace extends model.Trace {
|
|
27
|
+
/**
|
|
28
|
+
* Input data.
|
|
29
|
+
*/
|
|
30
|
+
"input"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Output data.
|
|
33
|
+
*/
|
|
34
|
+
"output"?: string;
|
|
35
|
+
"traceType": string;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace ExecutionTrace {
|
|
38
|
+
function getJsonObj(obj: ExecutionTrace, isParentJsonObj?: boolean): object;
|
|
39
|
+
const traceType = "EXECUTION_TRACE";
|
|
40
|
+
function getDeserializedJsonObj(obj: ExecutionTrace, isParentJsonObj?: boolean): object;
|
|
41
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.ExecutionTrace = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var ExecutionTrace;
|
|
46
|
+
(function (ExecutionTrace) {
|
|
47
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getJsonObj(obj))), {});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
ExecutionTrace.getJsonObj = getJsonObj;
|
|
52
|
+
ExecutionTrace.traceType = "EXECUTION_TRACE";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getDeserializedJsonObj(obj))), {});
|
|
55
|
+
return jsonObj;
|
|
56
|
+
}
|
|
57
|
+
ExecutionTrace.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
58
|
+
})(ExecutionTrace = exports.ExecutionTrace || (exports.ExecutionTrace = {}));
|
|
59
|
+
//# sourceMappingURL=execution-trace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execution-trace.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/execution-trace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,cAAc,CAkB9B;AAlBD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB,EAAE,eAAyB;QACvE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAoB,CAAC,GACzE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,yBAAU,aAOzB,CAAA;IACY,wBAAS,GAAG,iBAAiB,CAAC;IAC3C,SAAgB,sBAAsB,CAAC,GAAmB,EAAE,eAAyB;QACnF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,GAAG,CAAoB,CAAC,GACrF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,qCAAsB,yBAOrC,CAAA;AACH,CAAC,EAlBgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAkB9B"}
|
|
@@ -29,6 +29,14 @@ export interface GenerationTrace extends model.Trace {
|
|
|
29
29
|
* The generated response that's returned to the user.
|
|
30
30
|
*/
|
|
31
31
|
"generation"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The input to the generation operation.
|
|
34
|
+
*/
|
|
35
|
+
"input"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Details of model and its usage.
|
|
38
|
+
*/
|
|
39
|
+
"usage"?: Array<model.Usage>;
|
|
32
40
|
"traceType": string;
|
|
33
41
|
}
|
|
34
42
|
export declare namespace GenerationTrace {
|
|
@@ -45,13 +45,25 @@ const model = __importStar(require("../model"));
|
|
|
45
45
|
var GenerationTrace;
|
|
46
46
|
(function (GenerationTrace) {
|
|
47
47
|
function getJsonObj(obj, isParentJsonObj) {
|
|
48
|
-
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getJsonObj(obj))), {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getJsonObj(obj))), {
|
|
49
|
+
"usage": obj.usage
|
|
50
|
+
? obj.usage.map(item => {
|
|
51
|
+
return model.Usage.getJsonObj(item);
|
|
52
|
+
})
|
|
53
|
+
: undefined
|
|
54
|
+
});
|
|
49
55
|
return jsonObj;
|
|
50
56
|
}
|
|
51
57
|
GenerationTrace.getJsonObj = getJsonObj;
|
|
52
58
|
GenerationTrace.traceType = "GENERATION_TRACE";
|
|
53
59
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
-
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getDeserializedJsonObj(obj))), {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getDeserializedJsonObj(obj))), {
|
|
61
|
+
"usage": obj.usage
|
|
62
|
+
? obj.usage.map(item => {
|
|
63
|
+
return model.Usage.getDeserializedJsonObj(item);
|
|
64
|
+
})
|
|
65
|
+
: undefined
|
|
66
|
+
});
|
|
55
67
|
return jsonObj;
|
|
56
68
|
}
|
|
57
69
|
GenerationTrace.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generation-trace.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/generation-trace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"generation-trace.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/generation-trace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwBlC,IAAiB,eAAe,CA8B/B;AA9BD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB,EAAE,eAAyB;QACxE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAqB,CAAC,GAC1E;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0BAAU,aAazB,CAAA;IACY,yBAAS,GAAG,kBAAkB,CAAC;IAC5C,SAAgB,sBAAsB,CAAC,GAAoB,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,GAAG,CAAqB,CAAC,GACtF;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAsB,yBAarC,CAAA;AACH,CAAC,EA9BgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA8B/B"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 object describing human confirmation of tool execution that is required from the user.
|
|
25
|
+
*/
|
|
26
|
+
export interface HumanApprovalRequiredAction extends model.RequiredAction {
|
|
27
|
+
/**
|
|
28
|
+
* Message accompanying the human input request asking for approval or denial of a tool execution.
|
|
29
|
+
*/
|
|
30
|
+
"message": string;
|
|
31
|
+
/**
|
|
32
|
+
* The options presented to the user approving and denying execution of the tool.
|
|
33
|
+
*/
|
|
34
|
+
"options": Array<HumanApprovalRequiredAction.Options>;
|
|
35
|
+
"requiredActionType": string;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace HumanApprovalRequiredAction {
|
|
38
|
+
enum Options {
|
|
39
|
+
Approve = "APPROVE",
|
|
40
|
+
Deny = "DENY",
|
|
41
|
+
/**
|
|
42
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
43
|
+
* version of the SDK.
|
|
44
|
+
*/
|
|
45
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
46
|
+
}
|
|
47
|
+
function getJsonObj(obj: HumanApprovalRequiredAction, isParentJsonObj?: boolean): object;
|
|
48
|
+
const requiredActionType = "HUMAN_APPROVAL_REQUIRED_ACTION";
|
|
49
|
+
function getDeserializedJsonObj(obj: HumanApprovalRequiredAction, isParentJsonObj?: boolean): object;
|
|
50
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.HumanApprovalRequiredAction = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var HumanApprovalRequiredAction;
|
|
46
|
+
(function (HumanApprovalRequiredAction) {
|
|
47
|
+
let Options;
|
|
48
|
+
(function (Options) {
|
|
49
|
+
Options["Approve"] = "APPROVE";
|
|
50
|
+
Options["Deny"] = "DENY";
|
|
51
|
+
/**
|
|
52
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
53
|
+
* version of the SDK.
|
|
54
|
+
*/
|
|
55
|
+
Options["UnknownValue"] = "UNKNOWN_VALUE";
|
|
56
|
+
})(Options = HumanApprovalRequiredAction.Options || (HumanApprovalRequiredAction.Options = {}));
|
|
57
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
59
|
+
? obj
|
|
60
|
+
: model.RequiredAction.getJsonObj(obj))), {});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
HumanApprovalRequiredAction.getJsonObj = getJsonObj;
|
|
64
|
+
HumanApprovalRequiredAction.requiredActionType = "HUMAN_APPROVAL_REQUIRED_ACTION";
|
|
65
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
66
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
67
|
+
? obj
|
|
68
|
+
: model.RequiredAction.getDeserializedJsonObj(obj))), {});
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
HumanApprovalRequiredAction.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
72
|
+
})(HumanApprovalRequiredAction = exports.HumanApprovalRequiredAction || (exports.HumanApprovalRequiredAction = {}));
|
|
73
|
+
//# sourceMappingURL=human-approval-required-action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"human-approval-required-action.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/human-approval-required-action.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,2BAA2B,CAmC3C;AAnCD,WAAiB,2BAA2B;IAC1C,IAAY,OAQX;IARD,WAAY,OAAO;QACjB,8BAAmB,CAAA;QACnB,wBAAa,CAAA;QACb;;;WAGG;QACH,yCAA8B,CAAA;IAChC,CAAC,EARW,OAAO,GAAP,mCAAO,KAAP,mCAAO,QAQlB;IAED,SAAgB,UAAU,CAAC,GAAgC,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAiC,CAAC,GACvE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,sCAAU,aASzB,CAAA;IACY,8CAAkB,GAAG,gCAAgC,CAAC;IACnE,SAAgB,sBAAsB,CACpC,GAAgC,EAChC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAiC,CAAC,GACnF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,kDAAsB,yBAYrC,CAAA;AACH,CAAC,EAnCgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAmC3C"}
|
package/lib/model/index.d.ts
CHANGED
|
@@ -39,6 +39,10 @@ import * as MessageContent from "./message-content";
|
|
|
39
39
|
export import MessageContent = MessageContent.MessageContent;
|
|
40
40
|
import * as MetadataFilter from "./metadata-filter";
|
|
41
41
|
export import MetadataFilter = MetadataFilter.MetadataFilter;
|
|
42
|
+
import * as ModelDetails from "./model-details";
|
|
43
|
+
export import ModelDetails = ModelDetails.ModelDetails;
|
|
44
|
+
import * as ModelParams from "./model-params";
|
|
45
|
+
export import ModelParams = ModelParams.ModelParams;
|
|
42
46
|
import * as Paragraph from "./paragraph";
|
|
43
47
|
export import Paragraph = Paragraph.Paragraph;
|
|
44
48
|
import * as ParagraphCitation from "./paragraph-citation";
|
|
@@ -51,14 +55,22 @@ import * as RetrieveMetadataDetails from "./retrieve-metadata-details";
|
|
|
51
55
|
export import RetrieveMetadataDetails = RetrieveMetadataDetails.RetrieveMetadataDetails;
|
|
52
56
|
import * as Session from "./session";
|
|
53
57
|
export import Session = Session.Session;
|
|
58
|
+
import * as SourceDetails from "./source-details";
|
|
59
|
+
export import SourceDetails = SourceDetails.SourceDetails;
|
|
54
60
|
import * as SourceLocation from "./source-location";
|
|
55
61
|
export import SourceLocation = SourceLocation.SourceLocation;
|
|
56
62
|
import * as Trace from "./trace";
|
|
57
63
|
export import Trace = Trace.Trace;
|
|
58
64
|
import * as UpdateSessionDetails from "./update-session-details";
|
|
59
65
|
export import UpdateSessionDetails = UpdateSessionDetails.UpdateSessionDetails;
|
|
66
|
+
import * as Usage from "./usage";
|
|
67
|
+
export import Usage = Usage.Usage;
|
|
68
|
+
import * as UsageDetails from "./usage-details";
|
|
69
|
+
export import UsageDetails = UsageDetails.UsageDetails;
|
|
60
70
|
import * as ErrorTrace from "./error-trace";
|
|
61
71
|
export import ErrorTrace = ErrorTrace.ErrorTrace;
|
|
72
|
+
import * as ExecutionTrace from "./execution-trace";
|
|
73
|
+
export import ExecutionTrace = ExecutionTrace.ExecutionTrace;
|
|
62
74
|
import * as FunctionCallingPerformedAction from "./function-calling-performed-action";
|
|
63
75
|
export import FunctionCallingPerformedAction = FunctionCallingPerformedAction.FunctionCallingPerformedAction;
|
|
64
76
|
import * as FunctionCallingRequiredAction from "./function-calling-required-action";
|
|
@@ -67,11 +79,17 @@ import * as GenerationTrace from "./generation-trace";
|
|
|
67
79
|
export import GenerationTrace = GenerationTrace.GenerationTrace;
|
|
68
80
|
import * as HumanApprovalPerformedAction from "./human-approval-performed-action";
|
|
69
81
|
export import HumanApprovalPerformedAction = HumanApprovalPerformedAction.HumanApprovalPerformedAction;
|
|
82
|
+
import * as HumanApprovalRequiredAction from "./human-approval-required-action";
|
|
83
|
+
export import HumanApprovalRequiredAction = HumanApprovalRequiredAction.HumanApprovalRequiredAction;
|
|
70
84
|
import * as OciDatabaseSourceLocation from "./oci-database-source-location";
|
|
71
85
|
export import OciDatabaseSourceLocation = OciDatabaseSourceLocation.OciDatabaseSourceLocation;
|
|
72
86
|
import * as OciObjectStorageSourceLocation from "./oci-object-storage-source-location";
|
|
73
87
|
export import OciObjectStorageSourceLocation = OciObjectStorageSourceLocation.OciObjectStorageSourceLocation;
|
|
74
88
|
import * as OciOpenSearchSourceLocation from "./oci-open-search-source-location";
|
|
75
89
|
export import OciOpenSearchSourceLocation = OciOpenSearchSourceLocation.OciOpenSearchSourceLocation;
|
|
90
|
+
import * as PlanningTrace from "./planning-trace";
|
|
91
|
+
export import PlanningTrace = PlanningTrace.PlanningTrace;
|
|
76
92
|
import * as RetrievalTrace from "./retrieval-trace";
|
|
77
93
|
export import RetrievalTrace = RetrievalTrace.RetrievalTrace;
|
|
94
|
+
import * as ToolInvocationTrace from "./tool-invocation-trace";
|
|
95
|
+
export import ToolInvocationTrace = ToolInvocationTrace.ToolInvocationTrace;
|
package/lib/model/index.js
CHANGED
|
@@ -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.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;
|
|
43
|
+
exports.ToolInvocationTrace = exports.RetrievalTrace = exports.PlanningTrace = exports.OciOpenSearchSourceLocation = exports.OciObjectStorageSourceLocation = exports.OciDatabaseSourceLocation = exports.HumanApprovalRequiredAction = exports.HumanApprovalPerformedAction = exports.GenerationTrace = exports.FunctionCallingRequiredAction = exports.FunctionCallingPerformedAction = exports.ExecutionTrace = exports.ErrorTrace = exports.UsageDetails = exports.Usage = exports.UpdateSessionDetails = exports.Trace = exports.SourceLocation = exports.SourceDetails = exports.Session = exports.RetrieveMetadataDetails = exports.RequiredAction = exports.PerformedAction = exports.ParagraphCitation = exports.Paragraph = exports.ModelParams = exports.ModelDetails = 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"));
|
|
@@ -61,6 +61,10 @@ const MessageContent = __importStar(require("./message-content"));
|
|
|
61
61
|
exports.MessageContent = MessageContent.MessageContent;
|
|
62
62
|
const MetadataFilter = __importStar(require("./metadata-filter"));
|
|
63
63
|
exports.MetadataFilter = MetadataFilter.MetadataFilter;
|
|
64
|
+
const ModelDetails = __importStar(require("./model-details"));
|
|
65
|
+
exports.ModelDetails = ModelDetails.ModelDetails;
|
|
66
|
+
const ModelParams = __importStar(require("./model-params"));
|
|
67
|
+
exports.ModelParams = ModelParams.ModelParams;
|
|
64
68
|
const Paragraph = __importStar(require("./paragraph"));
|
|
65
69
|
exports.Paragraph = Paragraph.Paragraph;
|
|
66
70
|
const ParagraphCitation = __importStar(require("./paragraph-citation"));
|
|
@@ -73,14 +77,22 @@ const RetrieveMetadataDetails = __importStar(require("./retrieve-metadata-detail
|
|
|
73
77
|
exports.RetrieveMetadataDetails = RetrieveMetadataDetails.RetrieveMetadataDetails;
|
|
74
78
|
const Session = __importStar(require("./session"));
|
|
75
79
|
exports.Session = Session.Session;
|
|
80
|
+
const SourceDetails = __importStar(require("./source-details"));
|
|
81
|
+
exports.SourceDetails = SourceDetails.SourceDetails;
|
|
76
82
|
const SourceLocation = __importStar(require("./source-location"));
|
|
77
83
|
exports.SourceLocation = SourceLocation.SourceLocation;
|
|
78
84
|
const Trace = __importStar(require("./trace"));
|
|
79
85
|
exports.Trace = Trace.Trace;
|
|
80
86
|
const UpdateSessionDetails = __importStar(require("./update-session-details"));
|
|
81
87
|
exports.UpdateSessionDetails = UpdateSessionDetails.UpdateSessionDetails;
|
|
88
|
+
const Usage = __importStar(require("./usage"));
|
|
89
|
+
exports.Usage = Usage.Usage;
|
|
90
|
+
const UsageDetails = __importStar(require("./usage-details"));
|
|
91
|
+
exports.UsageDetails = UsageDetails.UsageDetails;
|
|
82
92
|
const ErrorTrace = __importStar(require("./error-trace"));
|
|
83
93
|
exports.ErrorTrace = ErrorTrace.ErrorTrace;
|
|
94
|
+
const ExecutionTrace = __importStar(require("./execution-trace"));
|
|
95
|
+
exports.ExecutionTrace = ExecutionTrace.ExecutionTrace;
|
|
84
96
|
const FunctionCallingPerformedAction = __importStar(require("./function-calling-performed-action"));
|
|
85
97
|
exports.FunctionCallingPerformedAction = FunctionCallingPerformedAction.FunctionCallingPerformedAction;
|
|
86
98
|
const FunctionCallingRequiredAction = __importStar(require("./function-calling-required-action"));
|
|
@@ -89,12 +101,18 @@ const GenerationTrace = __importStar(require("./generation-trace"));
|
|
|
89
101
|
exports.GenerationTrace = GenerationTrace.GenerationTrace;
|
|
90
102
|
const HumanApprovalPerformedAction = __importStar(require("./human-approval-performed-action"));
|
|
91
103
|
exports.HumanApprovalPerformedAction = HumanApprovalPerformedAction.HumanApprovalPerformedAction;
|
|
104
|
+
const HumanApprovalRequiredAction = __importStar(require("./human-approval-required-action"));
|
|
105
|
+
exports.HumanApprovalRequiredAction = HumanApprovalRequiredAction.HumanApprovalRequiredAction;
|
|
92
106
|
const OciDatabaseSourceLocation = __importStar(require("./oci-database-source-location"));
|
|
93
107
|
exports.OciDatabaseSourceLocation = OciDatabaseSourceLocation.OciDatabaseSourceLocation;
|
|
94
108
|
const OciObjectStorageSourceLocation = __importStar(require("./oci-object-storage-source-location"));
|
|
95
109
|
exports.OciObjectStorageSourceLocation = OciObjectStorageSourceLocation.OciObjectStorageSourceLocation;
|
|
96
110
|
const OciOpenSearchSourceLocation = __importStar(require("./oci-open-search-source-location"));
|
|
97
111
|
exports.OciOpenSearchSourceLocation = OciOpenSearchSourceLocation.OciOpenSearchSourceLocation;
|
|
112
|
+
const PlanningTrace = __importStar(require("./planning-trace"));
|
|
113
|
+
exports.PlanningTrace = PlanningTrace.PlanningTrace;
|
|
98
114
|
const RetrievalTrace = __importStar(require("./retrieval-trace"));
|
|
99
115
|
exports.RetrievalTrace = RetrievalTrace.RetrievalTrace;
|
|
116
|
+
const ToolInvocationTrace = __importStar(require("./tool-invocation-trace"));
|
|
117
|
+
exports.ToolInvocationTrace = ToolInvocationTrace.ToolInvocationTrace;
|
|
100
118
|
//# sourceMappingURL=index.js.map
|
package/lib/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,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,aAAa,CAAC;AAC1D,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
* Model details.
|
|
25
|
+
*/
|
|
26
|
+
export interface ModelDetails {
|
|
27
|
+
/**
|
|
28
|
+
* Name of the model.
|
|
29
|
+
*/
|
|
30
|
+
"modelName"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Version of the model.
|
|
33
|
+
*/
|
|
34
|
+
"modelVersion"?: string;
|
|
35
|
+
"modelParams"?: model.ModelParams;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace ModelDetails {
|
|
38
|
+
function getJsonObj(obj: ModelDetails): object;
|
|
39
|
+
function getDeserializedJsonObj(obj: ModelDetails): object;
|
|
40
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.ModelDetails = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var ModelDetails;
|
|
46
|
+
(function (ModelDetails) {
|
|
47
|
+
function getJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"modelParams": obj.modelParams ? model.ModelParams.getJsonObj(obj.modelParams) : undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
ModelDetails.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
56
|
+
"modelParams": obj.modelParams
|
|
57
|
+
? model.ModelParams.getDeserializedJsonObj(obj.modelParams)
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
ModelDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(ModelDetails = exports.ModelDetails || (exports.ModelDetails = {}));
|
|
64
|
+
//# sourceMappingURL=model-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/model-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,YAAY,CAuB5B;AAvBD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uBAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC3D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mCAAsB,yBAWrC,CAAA;AACH,CAAC,EAvBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAuB5B"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
* Details of model parameters.
|
|
24
|
+
*/
|
|
25
|
+
export interface ModelParams {
|
|
26
|
+
/**
|
|
27
|
+
* Maximum number of tokens. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
28
|
+
*/
|
|
29
|
+
"maxTokens"?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Sampling temperature. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
32
|
+
*/
|
|
33
|
+
"temperature"?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Nucleus sampling probability. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
36
|
+
*/
|
|
37
|
+
"topP"?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Top-K sampling parameter. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
40
|
+
*/
|
|
41
|
+
"topK"?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Frequency penalty to reduce repeating tokens. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
44
|
+
*/
|
|
45
|
+
"frequencyPenalty"?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Presence penalty to encourage new topics. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
48
|
+
*/
|
|
49
|
+
"presencePenalty"?: number;
|
|
50
|
+
}
|
|
51
|
+
export declare namespace ModelParams {
|
|
52
|
+
function getJsonObj(obj: ModelParams): object;
|
|
53
|
+
function getDeserializedJsonObj(obj: ModelParams): object;
|
|
54
|
+
}
|