Skip to content

Commit

Permalink
Revert Bedrock change
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Oct 12, 2023
1 parent a0731f9 commit 00b06e1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions langchain/src/chat_models/bedrock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<CallOptions>
implements BaseBedrockInput
{
export class ChatBedrock extends SimpleChatModel implements BaseBedrockInput {
model = "amazon.titan-tg1-large";

region: string;
Expand Down

0 comments on commit 00b06e1

Please sign in to comment.