@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250120 → 0.0.20250131
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/index.d.ts +466 -223
- package/package.json +1 -1
- package/readme.md +7 -2
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -30,7 +30,7 @@ gapi.client.load(
|
|
|
30
30
|
() => {
|
|
31
31
|
// now we can use:
|
|
32
32
|
// gapi.client.aiplatform
|
|
33
|
-
}
|
|
33
|
+
},
|
|
34
34
|
);
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -65,7 +65,7 @@ gapi.auth.authorize(
|
|
|
65
65
|
} else {
|
|
66
66
|
/* handle authorization error */
|
|
67
67
|
}
|
|
68
|
-
}
|
|
68
|
+
},
|
|
69
69
|
);
|
|
70
70
|
```
|
|
71
71
|
|
|
@@ -112,6 +112,11 @@ Generate content with multimodal inputs.
|
|
|
112
112
|
*/
|
|
113
113
|
await gapi.client.aiplatform.endpoints.generateContent({model: 'model'});
|
|
114
114
|
|
|
115
|
+
/*
|
|
116
|
+
Perform an online prediction.
|
|
117
|
+
*/
|
|
118
|
+
await gapi.client.aiplatform.endpoints.predict({endpoint: 'endpoint'});
|
|
119
|
+
|
|
115
120
|
/*
|
|
116
121
|
Generate content with multimodal inputs with streaming support.
|
|
117
122
|
*/
|