File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
[ ![ NPM Downloads] ( https://img.shields.io/npm/dm/%40google-cloud%2Fvertexai )] ( https://www.npmjs.com/package/@google-cloud/vertexai )
2
+ [ ![ Node Current] ( https://img.shields.io/node/v/%40google-cloud%2Fvertexai )] ( https://www.npmjs.com/package/@google-cloud/vertexai )
2
3
3
4
# Vertex AI SDK for Node.js quickstart
4
5
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- /**
19
- * Make a async call to generate content.
20
- * @param request A GenerateContentRequest object with the request contents.
21
- * @returns The GenerateContentResponse object with the response candidates.
22
- */
23
-
24
18
import {
25
19
GenerateContentRequest ,
26
20
GenerateContentResult ,
@@ -47,6 +41,11 @@ import {
47
41
getApiVersion ,
48
42
} from './pre_fetch_processing' ;
49
43
44
+ /**
45
+ * Make a async call to generate content.
46
+ * @param request A GenerateContentRequest object with the request contents.
47
+ * @returns The GenerateContentResponse object with the response candidates.
48
+ */
50
49
export async function generateContent (
51
50
location : string ,
52
51
resourcePath : string ,
You can’t perform that action at this time.
0 commit comments