Skip to content

Commit 6257612

Browse files
gericdonggcf-owl-bot[bot]pattishin
authored
fix(aiplatform): set appropriate maxOutputTokens (GoogleCloudPlatform#3482)
* fix(aiplatform): set appropriate maxOutputTokens * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * refactor: lint fix * refactor: update node version in ci workflow --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: pattishin@google.com <pattishin@users.noreply.github.com>
1 parent 0a07cb8 commit 6257612

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v3.5.3
2929
- uses: actions/setup-node@v3
3030
with:
31-
node-version: 16
31+
node-version: 18
3232
- run: npm install
3333
- run: npm run lint
3434
docs:

ai-platform/snippets/predict-text-prompt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async function main(project, location = 'us-central1') {
5656

5757
const parameter = {
5858
temperature: 0.2,
59-
maxOutputTokens: 5,
59+
maxOutputTokens: 256,
6060
topP: 0.95,
6161
topK: 40,
6262
};

0 commit comments

Comments
 (0)