{"version":3,"file":"embeddings.cjs","names":["GoogleEmbeddings"],"sources":["../src/embeddings.ts"],"sourcesContent":["import {\n  type GoogleEmbeddingsInput,\n  GoogleEmbeddings,\n} from \"@langchain/google-gauth\";\n\n/**\n * Input to a Google Vertex AI embeddings class.\n */\nexport interface GoogleVertexAIEmbeddingsInput extends GoogleEmbeddingsInput {}\n\n/**\n * Integration with a Google Vertex AI embeddings model using\n * the \"@langchain/google-gauth\" package for auth.\n */\nexport class VertexAIEmbeddings extends GoogleEmbeddings {\n  static lc_name() {\n    return \"VertexAIEmbeddings\";\n  }\n\n  constructor(fields: GoogleVertexAIEmbeddingsInput) {\n    super({\n      ...fields,\n      platformType: \"gcp\",\n    });\n  }\n}\n"],"mappings":";;;;;;AAcA,IAAa,qBAAb,cAAwCA,wBAAAA,iBAAiB;CACvD,OAAO,UAAU;AACf,SAAO;;CAGT,YAAY,QAAuC;AACjD,QAAM;GACJ,GAAG;GACH,cAAc;GACf,CAAC"}