oci-generativeaiinference 2.89.0 → 2.89.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare class GenerativeAiInferenceClient {
|
|
|
88
88
|
* @param ChatRequest
|
|
89
89
|
* @return ChatResponse
|
|
90
90
|
* @throws OciError when an error occurs
|
|
91
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
91
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/Chat.ts.html |here} to see how to use Chat API.
|
|
92
92
|
*/
|
|
93
93
|
chat(chatRequest: requests.ChatRequest): Promise<responses.ChatResponse | ReadableStream<Uint8Array> | null>;
|
|
94
94
|
/**
|
|
@@ -100,7 +100,7 @@ export declare class GenerativeAiInferenceClient {
|
|
|
100
100
|
* @param EmbedTextRequest
|
|
101
101
|
* @return EmbedTextResponse
|
|
102
102
|
* @throws OciError when an error occurs
|
|
103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
103
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/EmbedText.ts.html |here} to see how to use EmbedText API.
|
|
104
104
|
*/
|
|
105
105
|
embedText(embedTextRequest: requests.EmbedTextRequest): Promise<responses.EmbedTextResponse>;
|
|
106
106
|
/**
|
|
@@ -110,7 +110,7 @@ export declare class GenerativeAiInferenceClient {
|
|
|
110
110
|
* @param GenerateTextRequest
|
|
111
111
|
* @return GenerateTextResponse
|
|
112
112
|
* @throws OciError when an error occurs
|
|
113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
113
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/GenerateText.ts.html |here} to see how to use GenerateText API.
|
|
114
114
|
*/
|
|
115
115
|
generateText(generateTextRequest: requests.GenerateTextRequest): Promise<responses.GenerateTextResponse | ReadableStream<Uint8Array> | null>;
|
|
116
116
|
/**
|
|
@@ -120,7 +120,7 @@ export declare class GenerativeAiInferenceClient {
|
|
|
120
120
|
* @param SummarizeTextRequest
|
|
121
121
|
* @return SummarizeTextResponse
|
|
122
122
|
* @throws OciError when an error occurs
|
|
123
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
123
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/SummarizeText.ts.html |here} to see how to use SummarizeText API.
|
|
124
124
|
*/
|
|
125
125
|
summarizeText(summarizeTextRequest: requests.SummarizeTextRequest): Promise<responses.SummarizeTextResponse>;
|
|
126
126
|
}
|
package/lib/client.js
CHANGED
|
@@ -188,7 +188,7 @@ class GenerativeAiInferenceClient {
|
|
|
188
188
|
* @param ChatRequest
|
|
189
189
|
* @return ChatResponse
|
|
190
190
|
* @throws OciError when an error occurs
|
|
191
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
191
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/Chat.ts.html |here} to see how to use Chat API.
|
|
192
192
|
*/
|
|
193
193
|
chat(chatRequest) {
|
|
194
194
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -259,7 +259,7 @@ class GenerativeAiInferenceClient {
|
|
|
259
259
|
* @param EmbedTextRequest
|
|
260
260
|
* @return EmbedTextResponse
|
|
261
261
|
* @throws OciError when an error occurs
|
|
262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
262
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/EmbedText.ts.html |here} to see how to use EmbedText API.
|
|
263
263
|
*/
|
|
264
264
|
embedText(embedTextRequest) {
|
|
265
265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -323,7 +323,7 @@ class GenerativeAiInferenceClient {
|
|
|
323
323
|
* @param GenerateTextRequest
|
|
324
324
|
* @return GenerateTextResponse
|
|
325
325
|
* @throws OciError when an error occurs
|
|
326
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/GenerateText.ts.html |here} to see how to use GenerateText API.
|
|
327
327
|
*/
|
|
328
328
|
generateText(generateTextRequest) {
|
|
329
329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -392,7 +392,7 @@ class GenerativeAiInferenceClient {
|
|
|
392
392
|
* @param SummarizeTextRequest
|
|
393
393
|
* @return SummarizeTextResponse
|
|
394
394
|
* @throws OciError when an error occurs
|
|
395
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/SummarizeText.ts.html |here} to see how to use SummarizeText API.
|
|
396
396
|
*/
|
|
397
397
|
summarizeText(summarizeTextRequest) {
|
|
398
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/Chat.ts.html |here} to see how to use ChatRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ChatRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/EmbedText.ts.html |here} to see how to use EmbedTextRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface EmbedTextRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/GenerateText.ts.html |here} to see how to use GenerateTextRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface GenerateTextRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.2/generativeaiinference/SummarizeText.ts.html |here} to see how to use SummarizeTextRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface SummarizeTextRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-generativeaiinference",
|
|
3
|
-
"version": "2.89.
|
|
3
|
+
"version": "2.89.2",
|
|
4
4
|
"description": "OCI NodeJS client for Generative Ai Inference Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.89.
|
|
19
|
-
"oci-workrequests": "2.89.
|
|
18
|
+
"oci-common": "2.89.2",
|
|
19
|
+
"oci-workrequests": "2.89.2"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|