diff --git a/libs/langchain-community/src/chat_models/googlepalm.ts b/libs/langchain-community/src/chat_models/googlepalm.ts index d9310714f863..d753004f5a8c 100644 --- a/libs/langchain-community/src/chat_models/googlepalm.ts +++ b/libs/langchain-community/src/chat_models/googlepalm.ts @@ -21,6 +21,8 @@ export type BaseMessageExamplePair = { }; /** + * @deprecated - Deprecated by Google. Will be removed in 0.3.0 + * * An interface defining the input to the ChatGooglePaLM class. */ export interface GooglePaLMChatInput extends BaseChatModelParams { @@ -95,6 +97,8 @@ function getMessageAuthor(message: BaseMessage) { } /** + * @deprecated - Deprecated by Google. Will be removed in 0.3.0 + * * A class that wraps the Google Palm chat model. * * @example diff --git a/libs/langchain-community/src/embeddings/googlepalm.ts b/libs/langchain-community/src/embeddings/googlepalm.ts index c64581c51a38..ffa474d04bb3 100644 --- a/libs/langchain-community/src/embeddings/googlepalm.ts +++ b/libs/langchain-community/src/embeddings/googlepalm.ts @@ -4,6 +4,8 @@ import { Embeddings, EmbeddingsParams } from "@langchain/core/embeddings"; import { getEnvironmentVariable } from "@langchain/core/utils/env"; /** + * @deprecated - Deprecated by Google. Will be removed in 0.3.0 + * * Interface that extends EmbeddingsParams and defines additional * parameters specific to the GooglePaLMEmbeddings class. */ @@ -29,6 +31,8 @@ export interface GooglePaLMEmbeddingsParams extends EmbeddingsParams { } /** + * @deprecated - Deprecated by Google. Will be removed in 0.3.0 + * * Class that extends the Embeddings class and provides methods for * generating embeddings using the Google Palm API. * diff --git a/libs/langchain-community/src/llms/googlepalm.ts b/libs/langchain-community/src/llms/googlepalm.ts index af2854ab9ed1..eb8c4364c689 100644 --- a/libs/langchain-community/src/llms/googlepalm.ts +++ b/libs/langchain-community/src/llms/googlepalm.ts @@ -4,6 +4,8 @@ import { type BaseLLMParams, LLM } from "@langchain/core/language_models/llms"; import { getEnvironmentVariable } from "@langchain/core/utils/env"; /** + * @deprecated - Deprecated by Google. Will be removed in 0.3.0 + * * Input for Text generation for Google Palm */ export interface GooglePaLMTextInput extends BaseLLMParams { @@ -89,6 +91,8 @@ export interface GooglePaLMTextInput extends BaseLLMParams { } /** + * @deprecated - Deprecated by Google. Will be removed in 0.3.0 + * * Google Palm 2 Language Model Wrapper to generate texts */ export class GooglePaLM extends LLM implements GooglePaLMTextInput {