From 00b06e18f1744bdc162f4c97275a73d18061517c Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Wed, 11 Oct 2023 17:48:03 -0700 Subject: [PATCH] Revert Bedrock change --- langchain/src/chat_models/bedrock.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/langchain/src/chat_models/bedrock.ts b/langchain/src/chat_models/bedrock.ts index d9b1fb2186f6..54d92c11dcde 100644 --- a/langchain/src/chat_models/bedrock.ts +++ b/langchain/src/chat_models/bedrock.ts @@ -87,12 +87,7 @@ export function convertMessagesToPrompt( * configured with various parameters such as the model to use, the AWS * region, and the maximum number of tokens to generate. */ -export class ChatBedrock< - CallOptions extends BaseLanguageModelCallOptions = BaseLanguageModelCallOptions - > - extends SimpleChatModel - implements BaseBedrockInput -{ +export class ChatBedrock extends SimpleChatModel implements BaseBedrockInput { model = "amazon.titan-tg1-large"; region: string;