langchain.utilities.vertexai.init_vertexai(project: Optional[str] = None, location: Optional[str] = None, credentials: Optional[Credentials] = None) None[source]ΒΆ

Init vertexai.

  • project – The default GCP project to use when making Vertex API calls.

  • location – The default location to use when making API calls.

  • credentials – The default custom credentials to use when making API calls. If not provided credentials will be ascertained from the environment.


ImportError – If importing vertexai SDK did not succeed.