{"version":3,"file":"llms.cjs","names":["GoogleLLM"],"sources":["../src/llms.ts"],"sourcesContent":["import { type GoogleLLMInput, GoogleLLM } from \"@langchain/google-gauth\";\n\n/**\n * Input to a Google Vertex AI LLM class.\n */\nexport interface VertexAIInput extends GoogleLLMInput {}\n\n/**\n * Integration with a Google Vertex AI LLM using\n * the \"@langchain/google-gauth\" package for auth.\n */\nexport class VertexAI extends GoogleLLM {\n  lc_namespace = [\"langchain\", \"llms\", \"vertexai\"];\n\n  static lc_name() {\n    return \"VertexAI\";\n  }\n\n  constructor(fields?: VertexAIInput) {\n    super({\n      ...fields,\n      platformType: \"gcp\",\n    });\n    this._addVersion(\"@langchain/google-vertexai\", __PKG_VERSION__);\n  }\n}\n"],"mappings":";;;;;;AAWA,IAAa,WAAb,cAA8BA,wBAAAA,UAAU;CACtC,eAAe;EAAC;EAAa;EAAQ;EAAW;CAEhD,OAAO,UAAU;AACf,SAAO;;CAGT,YAAY,QAAwB;AAClC,QAAM;GACJ,GAAG;GACH,cAAc;GACf,CAAC;AACF,OAAK,YAAY,8BAAA,SAA8C"}