Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Joanna Grycz authored and iennae committed Dec 5, 2024
1 parent 4a7faca commit 936d05b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ai-platform/snippets/create-batch-embedding.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function main(projectId, inputUri, outputUri, jobName) {
// Optional: URI where the output will be stored.
// Could be a BigQuery table or a Google Cloud Storage file.
// E.g. "gs://[BUCKET]/[OUTPUT].jsonl" OR "bq://[PROJECT].[DATASET].[TABLE]"
// outputUri = 'gs://your_backet/embedding_batch_output';
// outputUri = 'gs://your_bucket/embedding_batch_output';

// The name of the job
// jobName = `Batch embedding job: ${new Date().getMilliseconds()}`;
Expand Down
4 changes: 2 additions & 2 deletions ai-platform/snippets/test/create-batch-embedding.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('Batch embedding', async () => {

before(async () => {
const bucketName = `test-bucket-${uuid()}`;
// Create a Google Cloud Storage bucket for UsageReports
// Create a Google Cloud Storage bucket for embedding output
[bucket] = await storage.createBucket(bucketName);
outputUri = `gs://${bucketName}/embedding_batch_output`;
});
Expand All @@ -67,7 +67,7 @@ describe('Batch embedding', async () => {

return jobServiceClient.deleteBatchPredictionJob(deleteRequest);
});
// Delete the Google Cloud Storage bucket created for usage reports.
// Delete the Google Cloud Storage bucket created for embedding output.
await bucket.delete();
});

Expand Down

0 comments on commit 936d05b

Please sign in to comment.