Skip to content

Commit

Permalink
Merge pull request #3366 from langchain-ai/release
Browse files Browse the repository at this point in the history
Release 0.0.196
  • Loading branch information
jacoblee93 authored Nov 22, 2023
2 parents ddcca20 + 67616db commit 5337273
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion langchain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "langchain",
"version": "0.0.195",
"version": "0.0.196",
"description": "Typescript bindings for langchain",
"type": "module",
"engines": {
Expand Down
36 changes: 18 additions & 18 deletions langchain/src/chat_models/tests/chatbedrock.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ import { test, expect } from "@jest/globals";
import { BedrockChat } from "../bedrock/web.js";
import { HumanMessage } from "../../schema/index.js";

void testChatModel(
"Test Bedrock chat model: Llama2 13B v1",
"us-east-1",
"meta.llama2-13b-chat-v1",
"What is your name?"
);
void testChatStreamingModel(
"Test Bedrock streaming chat model: Llama2 13B v1",
"us-east-1",
"meta.llama2-13b-chat-v1",
"What is your name and something about yourself?"
);
// void testChatModel(
// "Test Bedrock chat model: Llama2 13B v1",
// "us-east-1",
// "meta.llama2-13b-chat-v1",
// "What is your name?"
// );
// void testChatStreamingModel(
// "Test Bedrock streaming chat model: Llama2 13B v1",
// "us-east-1",
// "meta.llama2-13b-chat-v1",
// "What is your name and something about yourself?"
// );

void testChatModel(
"Test Bedrock chat model: Claude-v2",
Expand All @@ -37,12 +37,12 @@ void testChatHandleLLMNewToken(
"anthropic.claude-v2",
"What is your name and something about yourself?"
);
void testChatHandleLLMNewToken(
"Test Bedrock chat model HandleLLMNewToken: Llama2 13B v1",
"us-east-1",
"meta.llama2-13b-chat-v1",
"What is your name and something about yourself?"
);
// void testChatHandleLLMNewToken(
// "Test Bedrock chat model HandleLLMNewToken: Llama2 13B v1",
// "us-east-1",
// "meta.llama2-13b-chat-v1",
// "What is your name and something about yourself?"
// );

/**
* Tests a BedrockChat model
Expand Down
4 changes: 2 additions & 2 deletions langchain/src/llms/tests/bedrock.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test("Test Bedrock LLM: AI21", async () => {
console.log(res);
});

test("Test Bedrock LLM: Meta Llama2", async () => {
test.skip("Test Bedrock LLM: Meta Llama2", async () => {
const region = process.env.BEDROCK_AWS_REGION!;
const model = "meta.llama2-13b-chat-v1";
const prompt = "Human: What is your name?";
Expand All @@ -50,7 +50,7 @@ test("Test Bedrock LLM: Meta Llama2", async () => {
console.log(res);
});

test("Test Bedrock LLM streaming: Meta Llama2", async () => {
test.skip("Test Bedrock LLM streaming: Meta Llama2", async () => {
const region = process.env.BEDROCK_AWS_REGION!;
const model = "meta.llama2-13b-chat-v1";
const prompt = "What is your name?";
Expand Down

2 comments on commit 5337273

@vercel
Copy link

@vercel vercel bot commented on 5337273 Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

langchainjs-docs – ./docs/core_docs/

langchainjs-docs-git-main-langchain.vercel.app
langchainjs-docs-langchain.vercel.app
langchainjs-docs-ruddy.vercel.app
js.langchain.com

@vercel
Copy link

@vercel vercel bot commented on 5337273 Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.