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.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +29 -0
- package/index.js +52 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +139 -0
- package/lib/client.js +514 -0
- package/lib/client.js.map +1 -0
- package/lib/model/chat-details.d.ts +43 -0
- package/lib/model/chat-details.js +38 -0
- package/lib/model/chat-details.js.map +1 -0
- package/lib/model/chat-result.d.ts +37 -0
- package/lib/model/chat-result.js +72 -0
- package/lib/model/chat-result.js.map +1 -0
- package/lib/model/citation.d.ts +37 -0
- package/lib/model/citation.js +66 -0
- package/lib/model/citation.js.map +1 -0
- package/lib/model/create-session-details.d.ts +39 -0
- package/lib/model/create-session-details.js +38 -0
- package/lib/model/create-session-details.js.map +1 -0
- package/lib/model/error-trace.d.ts +38 -0
- package/lib/model/error-trace.js +59 -0
- package/lib/model/error-trace.js.map +1 -0
- package/lib/model/generation-trace.d.ts +38 -0
- package/lib/model/generation-trace.js +59 -0
- package/lib/model/generation-trace.js.map +1 -0
- package/lib/model/index.d.ts +53 -0
- package/lib/model/index.js +76 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/message-content.d.ts +40 -0
- package/lib/model/message-content.js +70 -0
- package/lib/model/message-content.js.map +1 -0
- package/lib/model/message.d.ts +50 -0
- package/lib/model/message.js +74 -0
- package/lib/model/message.js.map +1 -0
- package/lib/model/oci-database-source-location.d.ts +46 -0
- package/lib/model/oci-database-source-location.js +63 -0
- package/lib/model/oci-database-source-location.js.map +1 -0
- package/lib/model/oci-object-storage-source-location.d.ts +38 -0
- package/lib/model/oci-object-storage-source-location.js +63 -0
- package/lib/model/oci-object-storage-source-location.js.map +1 -0
- package/lib/model/oci-open-search-source-location.d.ts +46 -0
- package/lib/model/oci-open-search-source-location.js +63 -0
- package/lib/model/oci-open-search-source-location.js.map +1 -0
- package/lib/model/retrieval-trace.d.ts +42 -0
- package/lib/model/retrieval-trace.js +71 -0
- package/lib/model/retrieval-trace.js.map +1 -0
- package/lib/model/session.d.ts +55 -0
- package/lib/model/session.js +38 -0
- package/lib/model/session.js.map +1 -0
- package/lib/model/source-location.d.ts +32 -0
- package/lib/model/source-location.js +85 -0
- package/lib/model/source-location.js.map +1 -0
- package/lib/model/trace.d.ts +36 -0
- package/lib/model/trace.js +85 -0
- package/lib/model/trace.js.map +1 -0
- package/lib/model/update-session-details.d.ts +39 -0
- package/lib/model/update-session-details.js +38 -0
- package/lib/model/update-session-details.js.map +1 -0
- package/lib/request/chat-request.d.ts +49 -0
- package/lib/request/chat-request.js +15 -0
- package/lib/request/chat-request.js.map +1 -0
- package/lib/request/create-session-request.d.ts +40 -0
- package/lib/request/create-session-request.js +15 -0
- package/lib/request/create-session-request.js.map +1 -0
- package/lib/request/delete-session-request.d.ts +39 -0
- package/lib/request/delete-session-request.js +15 -0
- package/lib/request/delete-session-request.js.map +1 -0
- package/lib/request/get-session-request.d.ts +30 -0
- package/lib/request/get-session-request.js +15 -0
- package/lib/request/get-session-request.js.map +1 -0
- package/lib/request/index.d.ts +31 -0
- package/lib/request/index.js +24 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/update-session-request.d.ts +44 -0
- package/lib/request/update-session-request.js +15 -0
- package/lib/request/update-session-request.js.map +1 -0
- package/lib/response/chat-response.d.ts +25 -0
- package/lib/response/chat-response.js +15 -0
- package/lib/response/chat-response.js.map +1 -0
- package/lib/response/create-session-response.d.ts +30 -0
- package/lib/response/create-session-response.js +15 -0
- package/lib/response/create-session-response.js.map +1 -0
- package/lib/response/delete-session-response.d.ts +20 -0
- package/lib/response/delete-session-response.js +15 -0
- package/lib/response/delete-session-response.js.map +1 -0
- package/lib/response/get-session-response.d.ts +30 -0
- package/lib/response/get-session-response.js +15 -0
- package/lib/response/get-session-response.js.map +1 -0
- package/lib/response/index.d.ts +31 -0
- package/lib/response/index.js +24 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/update-session-response.d.ts +30 -0
- package/lib/response/update-session-response.js +15 -0
- package/lib/response/update-session-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/generativeaiagentruntime/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAKoB;AACpB,MAAM,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAEnC,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,+BAAkC;AAA9C,WAAY,+BAA+B;AAAE,CAAC,EAAlC,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAAG;AAC9C;;GAEG;AACH,MAAa,8BAA8B;IAkBzC,YAAY,MAAyB,EAAE,mBAAgD;QAd7E,6CAAuC,GAAwB,SAAS,CAAC;QACzE,iBAAW,GAAW,EAAE,CAAC;QACzB,uBAAiB,GAAQ,EAAE,CAAC;QAE5B,oBAAe,GAA0B,IAAI,CAAC;QAC9C,iBAAY,GAAQ,SAAS,CAAC;QAC9B,oBAAe,GAAQ,SAAS,CAAC;QACpC,kBAAa,GAAG,0BAA0B,CAAC;QACxC,cAAS,GAAW,EAAE,CAAC;QAEvB,6BAAwB,GAAW,EAAE,CAAC;QAK9C,MAAM,aAAa,GAAG,MAAM,CAAC,6BAA6B;YACxD,CAAC,CAAC,IAAI,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,6BAA6B,CAAC;YACvE,CAAC,CAAC,IAAI,CAAC;QACT,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;YAChD,IAAI,CAAC,eAAe,GAAG,mBAAmB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AW,EAChB,OAAO,EACP,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,gBAAgB,CACjB,CAAC;gBACF,MAAM,WAAW,GAAG,4BAAe,CAAC;oBAClC,cAAc,EAAmC,EAAE;oBACnD,IAAI,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE;oBAC3B,OAAO,EAAE,SAAS;oBAClB,SAAS,EAAE,KAAK,CAAC,OAAO;oBACxB,IAAI,EAAE,eAAe;oBACrB,eAAe,EAAE;wBACf;4BACE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;4BACnC,GAAG,EAAE,MAAM;4BACX,QAAQ,EAAE,QAAQ;yBACnB;wBACD;4BACE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;4BAC7C,GAAG,EAAE,cAAc;4BACnB,QAAQ,EAAE,QAAQ;yBACnB;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,WAAW,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC;KAAA;;AAvjBH,wEAwjBC;AAvjBkB,sDAAuB,GACtC,8DAA8D,CAAC;AAChD,kDAAmB,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
/**
|
|
23
|
+
* Chat details.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface ChatDetails {
|
|
27
|
+
/**
|
|
28
|
+
* The input user message content for the chat.
|
|
29
|
+
*/
|
|
30
|
+
"userMessage": string;
|
|
31
|
+
/**
|
|
32
|
+
* Whether to stream the response.
|
|
33
|
+
*/
|
|
34
|
+
"shouldStream"?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Optional sessionId. If not provided, will chat without any prior context.
|
|
37
|
+
*/
|
|
38
|
+
"sessionId"?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace ChatDetails {
|
|
41
|
+
function getJsonObj(obj: ChatDetails): object;
|
|
42
|
+
function getDeserializedJsonObj(obj: ChatDetails): object;
|
|
43
|
+
}
|
|
@@ -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.ChatDetails = void 0;
|
|
25
|
+
var ChatDetails;
|
|
26
|
+
(function (ChatDetails) {
|
|
27
|
+
function getJsonObj(obj) {
|
|
28
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
29
|
+
return jsonObj;
|
|
30
|
+
}
|
|
31
|
+
ChatDetails.getJsonObj = getJsonObj;
|
|
32
|
+
function getDeserializedJsonObj(obj) {
|
|
33
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
34
|
+
return jsonObj;
|
|
35
|
+
}
|
|
36
|
+
ChatDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
37
|
+
})(ChatDetails = exports.ChatDetails || (exports.ChatDetails = {}));
|
|
38
|
+
//# sourceMappingURL=chat-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/chat-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAwBH,IAAiB,WAAW,CAW3B;AAXD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAW3B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 model from "../model";
|
|
23
|
+
/**
|
|
24
|
+
* The response of a chat request.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface ChatResult {
|
|
28
|
+
"message"?: model.Message;
|
|
29
|
+
/**
|
|
30
|
+
* The trace that displays the internal progression, such as reasoning and actions during an execution.
|
|
31
|
+
*/
|
|
32
|
+
"traces"?: Array<model.Trace>;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace ChatResult {
|
|
35
|
+
function getJsonObj(obj: ChatResult): object;
|
|
36
|
+
function getDeserializedJsonObj(obj: ChatResult): object;
|
|
37
|
+
}
|
|
@@ -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 [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
|
+
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.ChatResult = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var ChatResult;
|
|
46
|
+
(function (ChatResult) {
|
|
47
|
+
function getJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"message": obj.message ? model.Message.getJsonObj(obj.message) : undefined,
|
|
50
|
+
"traces": obj.traces
|
|
51
|
+
? obj.traces.map(item => {
|
|
52
|
+
return model.Trace.getJsonObj(item);
|
|
53
|
+
})
|
|
54
|
+
: undefined
|
|
55
|
+
});
|
|
56
|
+
return jsonObj;
|
|
57
|
+
}
|
|
58
|
+
ChatResult.getJsonObj = getJsonObj;
|
|
59
|
+
function getDeserializedJsonObj(obj) {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
61
|
+
"message": obj.message ? model.Message.getDeserializedJsonObj(obj.message) : undefined,
|
|
62
|
+
"traces": obj.traces
|
|
63
|
+
? obj.traces.map(item => {
|
|
64
|
+
return model.Trace.getDeserializedJsonObj(item);
|
|
65
|
+
})
|
|
66
|
+
: undefined
|
|
67
|
+
});
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
ChatResult.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
+
})(ChatResult = exports.ChatResult || (exports.ChatResult = {}));
|
|
72
|
+
//# sourceMappingURL=chat-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-result.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/chat-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,UAAU,CA+B1B;AA/BD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YAC1E,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,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;IAde,qBAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YACtF,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,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;IAde,iCAAsB,yBAcrC,CAAA;AACH,CAAC,EA/BgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA+B1B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 model from "../model";
|
|
23
|
+
/**
|
|
24
|
+
* The citation displays the location of source text that is the agent uses to create the responses.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface Citation {
|
|
28
|
+
/**
|
|
29
|
+
* The text that's the source for the agent's response.
|
|
30
|
+
*/
|
|
31
|
+
"sourceText"?: string;
|
|
32
|
+
"sourceLocation"?: model.OciObjectStorageSourceLocation | model.OciOpenSearchSourceLocation | model.OciDatabaseSourceLocation;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace Citation {
|
|
35
|
+
function getJsonObj(obj: Citation): object;
|
|
36
|
+
function getDeserializedJsonObj(obj: Citation): object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
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.Citation = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var Citation;
|
|
46
|
+
(function (Citation) {
|
|
47
|
+
function getJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"sourceLocation": obj.sourceLocation
|
|
50
|
+
? model.SourceLocation.getJsonObj(obj.sourceLocation)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
Citation.getJsonObj = getJsonObj;
|
|
56
|
+
function getDeserializedJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
58
|
+
"sourceLocation": obj.sourceLocation
|
|
59
|
+
? model.SourceLocation.getDeserializedJsonObj(obj.sourceLocation)
|
|
60
|
+
: undefined
|
|
61
|
+
});
|
|
62
|
+
return jsonObj;
|
|
63
|
+
}
|
|
64
|
+
Citation.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
65
|
+
})(Citation = exports.Citation || (exports.Citation = {}));
|
|
66
|
+
//# sourceMappingURL=citation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"citation.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/citation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,QAAQ,CAyBxB;AAzBD,WAAiB,QAAQ;IACvB,SAAgB,UAAU,CAAC,GAAa;QACtC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAa;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,+BAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAyBxB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generative AI Agents Client API
|
|
3
|
+
* OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
|
|
4
|
+
|
|
5
|
+
OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
|
|
6
|
+
|
|
7
|
+
Use the Generative AI Agents Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
|
|
8
|
+
|
|
9
|
+
For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the [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
|
+
/**
|
|
23
|
+
* Information about the new session.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface CreateSessionDetails {
|
|
27
|
+
/**
|
|
28
|
+
* The name of the session. A session names doesn't have to be unique and you can change the session name later.
|
|
29
|
+
*/
|
|
30
|
+
"displayName"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* An optional description of the session.
|
|
33
|
+
*/
|
|
34
|
+
"description"?: string;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace CreateSessionDetails {
|
|
37
|
+
function getJsonObj(obj: CreateSessionDetails): object;
|
|
38
|
+
function getDeserializedJsonObj(obj: CreateSessionDetails): object;
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generative AI Agents Client API
|
|
4
|
+
* OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
|
|
5
|
+
|
|
6
|
+
OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
|
|
7
|
+
|
|
8
|
+
Use the Generative AI Agents Client API to create and manage client chat sessions. A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.
|
|
9
|
+
|
|
10
|
+
For creating and managing agents, knowledge bases, data sources, endpoints, and data ingestion jobs see the [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.CreateSessionDetails = void 0;
|
|
25
|
+
var CreateSessionDetails;
|
|
26
|
+
(function (CreateSessionDetails) {
|
|
27
|
+
function getJsonObj(obj) {
|
|
28
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
29
|
+
return jsonObj;
|
|
30
|
+
}
|
|
31
|
+
CreateSessionDetails.getJsonObj = getJsonObj;
|
|
32
|
+
function getDeserializedJsonObj(obj) {
|
|
33
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
34
|
+
return jsonObj;
|
|
35
|
+
}
|
|
36
|
+
CreateSessionDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
37
|
+
})(CreateSessionDetails = exports.CreateSessionDetails || (exports.CreateSessionDetails = {}));
|
|
38
|
+
//# sourceMappingURL=create-session-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-session-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/create-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,38 @@
|
|
|
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 model from "../model";
|
|
23
|
+
/**
|
|
24
|
+
* The trace information about the error.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface ErrorTrace extends model.Trace {
|
|
28
|
+
/**
|
|
29
|
+
* The error message in this trace.
|
|
30
|
+
*/
|
|
31
|
+
"errorMessage"?: string;
|
|
32
|
+
"traceType": string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace ErrorTrace {
|
|
35
|
+
function getJsonObj(obj: ErrorTrace, isParentJsonObj?: boolean): object;
|
|
36
|
+
const traceType = "ERROR_TRACE";
|
|
37
|
+
function getDeserializedJsonObj(obj: ErrorTrace, isParentJsonObj?: boolean): object;
|
|
38
|
+
}
|
|
@@ -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 [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
|
+
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.ErrorTrace = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var ErrorTrace;
|
|
46
|
+
(function (ErrorTrace) {
|
|
47
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getJsonObj(obj))), {});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
ErrorTrace.getJsonObj = getJsonObj;
|
|
52
|
+
ErrorTrace.traceType = "ERROR_TRACE";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getDeserializedJsonObj(obj))), {});
|
|
55
|
+
return jsonObj;
|
|
56
|
+
}
|
|
57
|
+
ErrorTrace.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
58
|
+
})(ErrorTrace = exports.ErrorTrace || (exports.ErrorTrace = {}));
|
|
59
|
+
//# sourceMappingURL=error-trace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-trace.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/error-trace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,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,38 @@
|
|
|
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 model from "../model";
|
|
23
|
+
/**
|
|
24
|
+
* The trace information about the generated response.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface GenerationTrace extends model.Trace {
|
|
28
|
+
/**
|
|
29
|
+
* The generated response that's returned to the user.
|
|
30
|
+
*/
|
|
31
|
+
"generation"?: string;
|
|
32
|
+
"traceType": string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace GenerationTrace {
|
|
35
|
+
function getJsonObj(obj: GenerationTrace, isParentJsonObj?: boolean): object;
|
|
36
|
+
const traceType = "GENERATION_TRACE";
|
|
37
|
+
function getDeserializedJsonObj(obj: GenerationTrace, isParentJsonObj?: boolean): object;
|
|
38
|
+
}
|
|
@@ -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 [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
|
+
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.GenerationTrace = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var GenerationTrace;
|
|
46
|
+
(function (GenerationTrace) {
|
|
47
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getJsonObj(obj))), {});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
GenerationTrace.getJsonObj = getJsonObj;
|
|
52
|
+
GenerationTrace.traceType = "GENERATION_TRACE";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Trace.getDeserializedJsonObj(obj))), {});
|
|
55
|
+
return jsonObj;
|
|
56
|
+
}
|
|
57
|
+
GenerationTrace.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
58
|
+
})(GenerationTrace = exports.GenerationTrace || (exports.GenerationTrace = {}));
|
|
59
|
+
//# sourceMappingURL=generation-trace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generation-trace.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagentruntime/lib/model/generation-trace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,eAAe,CAkB/B;AAlBD,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,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,0BAAU,aAOzB,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,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,sCAAsB,yBAOrC,CAAA;AACH,CAAC,EAlBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAkB/B"}
|