langchain_community.utilities.vertexai
.init_vertexaiΒΆ
- langchain_community.utilities.vertexai.init_vertexai(project: Optional[str] = None, location: Optional[str] = None, credentials: Optional[Credentials] = None) None [source]ΒΆ
Init vertexai.
- Parameters
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.
- Raises
ImportError β If importing vertexai SDK did not succeed.