Skip to content

Commit

Permalink
Rename apiEndpoint for samples (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaswadedavis authored Feb 22, 2021
1 parent 85870eb commit 26e3429
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ai-platform/snippets/predict-custom-trained-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function main(filename, endpointId, project, location = 'us-central1') {

// Specifies the location of the api endpoint
const clientOptions = {
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
};

// Instantiates a client
Expand Down
2 changes: 1 addition & 1 deletion ai-platform/snippets/predict-image-classification.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function main(filename, endpointId, project, location = 'us-central1') {

// Specifies the location of the api endpoint
const clientOptions = {
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
};

// Instantiates a client
Expand Down
2 changes: 1 addition & 1 deletion ai-platform/snippets/predict-image-object-detection.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function main(filename, endpointId, project, location = 'us-central1') {

// Specifies the location of the api endpoint
const clientOptions = {
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
};

// Instantiates a client
Expand Down
2 changes: 1 addition & 1 deletion ai-platform/snippets/predict-tabular-classification.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function main(endpointId, project, location = 'us-central1') {

// Specifies the location of the api endpoint
const clientOptions = {
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
};

// Instantiates a client
Expand Down
2 changes: 1 addition & 1 deletion ai-platform/snippets/predict-tabular-regression.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function main(endpointId, project, location = 'us-central1') {

// Specifies the location of the api endpoint
const clientOptions = {
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
};

// Instantiates a client
Expand Down
2 changes: 1 addition & 1 deletion ai-platform/snippets/predict-text-classification.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function main(text, endpointId, project, location) {

// Specifies the location of the api endpoint
const clientOptions = {
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
};

// Instantiates a client
Expand Down
2 changes: 1 addition & 1 deletion ai-platform/snippets/predict-text-entity-extraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function main(text, endpointId, project, location = 'us-central1') {

// Specifies the location of the api endpoint
const clientOptions = {
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
};

// Instantiates a client
Expand Down
2 changes: 1 addition & 1 deletion ai-platform/snippets/predict-text-sentiment-analysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function main(text, endpointId, project, location = 'us-central1') {

// Specifies the location of the api endpoint
const clientOptions = {
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
};

// Instantiates a client
Expand Down

0 comments on commit 26e3429

Please sign in to comment.