@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250120 → 0.0.20250205

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.
Files changed (3) hide show
  1. package/index.d.ts +573 -226
  2. package/package.json +1 -1
  3. package/readme.md +7 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20250120",
3
+ "version": "0.0.20250205",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
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
  */