@langchain/google-common
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -28,3 +28,3 @@ import { type BaseMessage } from "@langchain/core/messages"; | ||
/** | ||
* Integration with a chat model. | ||
* Integration with a Google chat model. | ||
*/ | ||
@@ -31,0 +31,0 @@ export declare abstract class ChatGoogleBase<AuthOptions> extends BaseChatModel<GoogleAIBaseLanguageModelCallOptions, AIMessageChunk> implements ChatGoogleBaseInput<AuthOptions> { |
@@ -98,3 +98,3 @@ import { getEnvironmentVariable } from "@langchain/core/utils/env"; | ||
/** | ||
* Integration with a chat model. | ||
* Integration with a Google chat model. | ||
*/ | ||
@@ -101,0 +101,0 @@ export class ChatGoogleBase extends BaseChatModel { |
@@ -45,22 +45,4 @@ import { Embeddings, EmbeddingsParams } from "@langchain/core/embeddings"; | ||
/** | ||
* Enables calls to the Google Cloud's Vertex AI API to access | ||
* the embeddings generated by Large Language Models. | ||
* | ||
* To use, you will need to have one of the following authentication | ||
* methods in place: | ||
* - You are logged into an account permitted to the Google Cloud project | ||
* using Vertex AI. | ||
* - You are running this on a machine using a service account permitted to | ||
* the Google Cloud project using Vertex AI. | ||
* - The `GOOGLE_APPLICATION_CREDENTIALS` environment variable is set to the | ||
* path of a credentials file for a service account permitted to the | ||
* Google Cloud project using Vertex AI. | ||
* @example | ||
* ```typescript | ||
* const model = new GoogleEmbeddings(); | ||
* const res = await model.embedQuery( | ||
* "What would be a good company name for a company that makes colorful socks?" | ||
* ); | ||
* console.log({ res }); | ||
* ``` | ||
* Enables calls to Google APIs for generating | ||
* text embeddings. | ||
*/ | ||
@@ -67,0 +49,0 @@ export declare abstract class BaseGoogleEmbeddings<AuthOptions> extends Embeddings implements BaseGoogleEmbeddingsParams<AuthOptions> { |
@@ -27,22 +27,4 @@ import { Embeddings } from "@langchain/core/embeddings"; | ||
/** | ||
* Enables calls to the Google Cloud's Vertex AI API to access | ||
* the embeddings generated by Large Language Models. | ||
* | ||
* To use, you will need to have one of the following authentication | ||
* methods in place: | ||
* - You are logged into an account permitted to the Google Cloud project | ||
* using Vertex AI. | ||
* - You are running this on a machine using a service account permitted to | ||
* the Google Cloud project using Vertex AI. | ||
* - The `GOOGLE_APPLICATION_CREDENTIALS` environment variable is set to the | ||
* path of a credentials file for a service account permitted to the | ||
* Google Cloud project using Vertex AI. | ||
* @example | ||
* ```typescript | ||
* const model = new GoogleEmbeddings(); | ||
* const res = await model.embedQuery( | ||
* "What would be a good company name for a company that makes colorful socks?" | ||
* ); | ||
* console.log({ res }); | ||
* ``` | ||
* Enables calls to Google APIs for generating | ||
* text embeddings. | ||
*/ | ||
@@ -49,0 +31,0 @@ export class BaseGoogleEmbeddings extends Embeddings { |
{ | ||
"name": "@langchain/google-common", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"description": "Core types and classes for Google services.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
210922
5540