Pierre Bressand
Pierre Bressand

Reputation: 317

Get the list of all fine tunable models from GCP

I want to return the list of all fine tunable models from Vertex AI from GCP. To do so I used the ModelServiceClient from aiplatform library but I get not model : [ [], null, null ]

I used the following code :

const modelDisplayName = 'fineTunedTest';
    const { ModelServiceClient } = aiplatform.v1;

    const location = 'us-central1';
    const project = 'projectID';
    const model = 'text-bison@001';

    const modele = new ModelServiceClient({
      apiEndpoint: `${location}-aiplatform.googleapis.com`,
      keyFilename: config.vector_store_key_filename,
    });
    console.log(
      'modele',
      await modele.listModels({
        parent: `projects/${project}/locations/${location}`,
      })
    );

Does ModelServiceClient object only return already fine tuned model ?

Docs

Upvotes: 1

Views: 83

Answers (0)

Related Questions