Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Google Vertex AI API Samples

Vertex AI offers everything you need to build and use generative AI—from AI solutions, to Search and Conversation, to 100+ foundation models, to a unified AI platform.

Description

These samples show how to use the Google Vertex AI API.

Build and Run

  1. Enable APIs - Enable the Vertex AI API and create a new project or select an existing project.

  2. Install and Initialize Cloud SDK Follow instructions from the available quickstarts

  3. Clone the repo and cd into this directory

    git clone https://github.com/googleapis/google-cloud-ruby.git
    $ cd google-cloud-ruby/google-cloud-ai_platform
    
  4. Install Dependencies via Bundler.

    $ bundle install
    
  5. Set Environment Variables

    $ export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID"
    
  6. Run samples

    bundle exec rake test
    

Contributing changes

Licensing