@google-cloud/vertexai
Advanced tools
Comparing version 1.3.1 to 1.4.0
{ | ||
".": "1.3.1" | ||
".": "1.4.0" | ||
} |
@@ -169,2 +169,10 @@ /** | ||
topK?: number; | ||
/** Optional. Output response mimetype of the generated candidate text. | ||
* Supported mimetype: | ||
* - `text/plain`: (default) Text output. | ||
* - `application/json`: JSON response in the candidates. | ||
* The model needs to be prompted to output the appropriate response type, | ||
* otherwise the behavior is undefined. | ||
* This is a preview feature. */ | ||
responseMimeType?: string; | ||
} | ||
@@ -171,0 +179,0 @@ /** |
@@ -23,3 +23,3 @@ /** | ||
export declare const SYSTEM_ROLE = "system"; | ||
export declare const USER_AGENT = "model-builder/1.3.1 grpc-node/1.3.1"; | ||
export declare const USER_AGENT = "model-builder/1.4.0 grpc-node/1.4.0"; | ||
export declare const CREDENTIAL_ERROR_MESSAGE = "\nUnable to authenticate your request \nDepending on your run time environment, you can get authentication by \n- if in local instance or cloud shell: `!gcloud auth login` \n- if in Colab: \n -`from google.colab import auth` \n -`auth.authenticate_user()` \n- if in service account or other: please follow guidance in https://cloud.google.com/docs/authentication"; |
@@ -27,3 +27,3 @@ "use strict"; | ||
const USER_AGENT_PRODUCT = 'model-builder'; | ||
const CLIENT_LIBRARY_VERSION = '1.3.1'; // x-release-please-version | ||
const CLIENT_LIBRARY_VERSION = '1.4.0'; // x-release-please-version | ||
const CLIENT_LIBRARY_LANGUAGE = `grpc-node/${CLIENT_LIBRARY_VERSION}`; | ||
@@ -30,0 +30,0 @@ exports.USER_AGENT = `${USER_AGENT_PRODUCT}/${CLIENT_LIBRARY_VERSION} ${CLIENT_LIBRARY_LANGUAGE}`; |
# Changelog | ||
## [1.3.1](https://github.com/googleapis/nodejs-vertexai/compare/v1.3.0...v1.3.1) (2024-07-11) | ||
## [1.4.0](https://github.com/googleapis/nodejs-vertexai/compare/v1.3.0...v1.4.0) (2024-07-15) | ||
### Features | ||
* support responseMimeType in GenerationConfig to allow users specify output response mimetype of the generated candidate text. ([93f6d70](https://github.com/googleapis/nodejs-vertexai/commit/93f6d70660dbee44f81766544047da7baf427e30)) | ||
### Bug Fixes | ||
@@ -7,0 +12,0 @@ |
{ | ||
"name": "@google-cloud/vertexai", | ||
"description": "Vertex Generative AI client for Node.js", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google LLC", |
@@ -180,2 +180,10 @@ /** | ||
topK?: number; | ||
/** Optional. Output response mimetype of the generated candidate text. | ||
* Supported mimetype: | ||
* - `text/plain`: (default) Text output. | ||
* - `application/json`: JSON response in the candidates. | ||
* The model needs to be prompted to output the appropriate response type, | ||
* otherwise the behavior is undefined. | ||
* This is a preview feature. */ | ||
responseMimeType?: string; | ||
} | ||
@@ -182,0 +190,0 @@ |
@@ -24,3 +24,3 @@ /** | ||
const USER_AGENT_PRODUCT = 'model-builder'; | ||
const CLIENT_LIBRARY_VERSION = '1.3.1'; // x-release-please-version | ||
const CLIENT_LIBRARY_VERSION = '1.4.0'; // x-release-please-version | ||
const CLIENT_LIBRARY_LANGUAGE = `grpc-node/${CLIENT_LIBRARY_VERSION}`; | ||
@@ -27,0 +27,0 @@ export const USER_AGENT = `${USER_AGENT_PRODUCT}/${CLIENT_LIBRARY_VERSION} ${CLIENT_LIBRARY_LANGUAGE}`; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1162084
21477