diff --git a/00_Intro/bedrock_boto3_setup.ipynb b/00_Intro/bedrock_boto3_setup.ipynb index 6684c7d4..60997daa 100644 --- a/00_Intro/bedrock_boto3_setup.ipynb +++ b/00_Intro/bedrock_boto3_setup.ipynb @@ -61,7 +61,7 @@ }, "outputs": [], "source": [ - "%pip install --quiet langchain==0.0.190" + "%pip install --quiet langchain==0.0.249" ] }, { diff --git a/01_Generation/00_generate_w_bedrock.ipynb b/01_Generation/00_generate_w_bedrock.ipynb index aeb5c793..49fbd02e 100644 --- a/01_Generation/00_generate_w_bedrock.ipynb +++ b/01_Generation/00_generate_w_bedrock.ipynb @@ -72,7 +72,7 @@ " ../dependencies/boto3-1.26.162-py3-none-any.whl \\\n", " ../dependencies/botocore-1.29.162-py3-none-any.whl\n", "\n", - "%pip install --quiet langchain==0.0.190" + "%pip install --quiet langchain==0.0.249" ] }, { diff --git a/01_Generation/01_zero_shot_generation.ipynb b/01_Generation/01_zero_shot_generation.ipynb index 7cc0afe3..58507409 100644 --- a/01_Generation/01_zero_shot_generation.ipynb +++ b/01_Generation/01_zero_shot_generation.ipynb @@ -68,7 +68,7 @@ " ../dependencies/boto3-1.26.162-py3-none-any.whl \\\n", " ../dependencies/botocore-1.29.162-py3-none-any.whl\n", "\n", - "%pip install --quiet langchain==0.0.190" + "%pip install --quiet langchain==0.0.249" ] }, { diff --git a/01_Generation/02_contextual_generation.ipynb b/01_Generation/02_contextual_generation.ipynb index 4ed69eef..224383e4 100644 --- a/01_Generation/02_contextual_generation.ipynb +++ b/01_Generation/02_contextual_generation.ipynb @@ -78,7 +78,7 @@ " ../dependencies/boto3-1.26.162-py3-none-any.whl \\\n", " ../dependencies/botocore-1.29.162-py3-none-any.whl\n", "\n", - "%pip install --quiet langchain==0.0.190 transformers==4.24.0" + "%pip install --quiet langchain==0.0.249 \"transformers>=4.24,<5\"" ] }, { diff --git a/02_Summarization/01.small-text-summarization-claude.ipynb b/02_Summarization/01.small-text-summarization-claude.ipynb index a205cc05..708837dc 100644 --- a/02_Summarization/01.small-text-summarization-claude.ipynb +++ b/02_Summarization/01.small-text-summarization-claude.ipynb @@ -65,7 +65,7 @@ " ../dependencies/boto3-1.26.162-py3-none-any.whl \\\n", " ../dependencies/botocore-1.29.162-py3-none-any.whl\n", "\n", - "%pip install --quiet langchain==0.0.190" + "%pip install --quiet langchain==0.0.249" ] }, { diff --git a/02_Summarization/01.small-text-summarization-titan.ipynb b/02_Summarization/01.small-text-summarization-titan.ipynb index efc64196..d98844e3 100644 --- a/02_Summarization/01.small-text-summarization-titan.ipynb +++ b/02_Summarization/01.small-text-summarization-titan.ipynb @@ -64,7 +64,7 @@ " ../dependencies/boto3-1.26.162-py3-none-any.whl \\\n", " ../dependencies/botocore-1.29.162-py3-none-any.whl\n", "\n", - "%pip install --quiet langchain==0.0.190" + "%pip install --quiet langchain==0.0.249" ] }, { diff --git a/02_Summarization/02.long-text-summarization-titan.ipynb b/02_Summarization/02.long-text-summarization-titan.ipynb index 5c1767d0..488da3ea 100644 --- a/02_Summarization/02.long-text-summarization-titan.ipynb +++ b/02_Summarization/02.long-text-summarization-titan.ipynb @@ -65,7 +65,7 @@ " ../dependencies/boto3-1.26.162-py3-none-any.whl \\\n", " ../dependencies/botocore-1.29.162-py3-none-any.whl\n", "\n", - "%pip install --quiet langchain==0.0.190 transformers==4.24.0" + "%pip install --quiet langchain==0.0.249 \"transformers>=4.24,<5\"" ] }, { diff --git a/03_QuestionAnswering/00_qa_w_bedrock_titan.ipynb b/03_QuestionAnswering/00_qa_w_bedrock_titan.ipynb index 1761eb4c..706edab6 100644 --- a/03_QuestionAnswering/00_qa_w_bedrock_titan.ipynb +++ b/03_QuestionAnswering/00_qa_w_bedrock_titan.ipynb @@ -49,7 +49,7 @@ " ../dependencies/boto3-1.26.162-py3-none-any.whl \\\n", " ../dependencies/botocore-1.29.162-py3-none-any.whl\n", "\n", - "%pip install --quiet langchain==0.0.190" + "%pip install --quiet langchain==0.0.249" ] }, { diff --git a/03_QuestionAnswering/01_qa_w_rag_claude.ipynb b/03_QuestionAnswering/01_qa_w_rag_claude.ipynb index 9f293e8f..cbd7cb15 100644 --- a/03_QuestionAnswering/01_qa_w_rag_claude.ipynb +++ b/03_QuestionAnswering/01_qa_w_rag_claude.ipynb @@ -118,7 +118,7 @@ " ../dependencies/boto3-1.26.162-py3-none-any.whl \\\n", " ../dependencies/botocore-1.29.162-py3-none-any.whl\n", "\n", - "%pip install --quiet faiss-cpu==1.7.4 langchain==0.0.190 pypdf=3.8.1" + "%pip install --quiet \"faiss-cpu>=1.7,<2\" langchain==0.0.249 \"pypdf>=3.8,<4\"" ] }, { diff --git a/04_Chatbot/00_Chatbot_AI21.ipynb b/04_Chatbot/00_Chatbot_AI21.ipynb index a29aebf1..3ce1136a 100644 --- a/04_Chatbot/00_Chatbot_AI21.ipynb +++ b/04_Chatbot/00_Chatbot_AI21.ipynb @@ -93,7 +93,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install --quiet faiss-cpu==1.7.4 \"ipywidgets>=7,<8\" langchain==0.0.190 pypdf==3.8.1" + "%pip install --quiet \"faiss-cpu>=1.7,<2\" \"ipywidgets>=7,<8\" langchain==0.0.249 \"pypdf>=3.8,<4\"" ] }, { diff --git a/04_Chatbot/00_Chatbot_Claude.ipynb b/04_Chatbot/00_Chatbot_Claude.ipynb index 0cafd4da..fe7b31dc 100644 --- a/04_Chatbot/00_Chatbot_Claude.ipynb +++ b/04_Chatbot/00_Chatbot_Claude.ipynb @@ -93,7 +93,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install --quiet faiss-cpu==1.7.4 \"ipywidgets>=7,<8\" langchain==0.0.190 pypdf==3.8.1" + "%pip install --quiet \"faiss-cpu>=1.7,<2\" \"ipywidgets>=7,<8\" langchain==0.0.249 \"pypdf>=3.8,<4\"" ] }, { diff --git a/04_Chatbot/00_Chatbot_Titan.ipynb b/04_Chatbot/00_Chatbot_Titan.ipynb index 9c0c40d9..85d215b0 100644 --- a/04_Chatbot/00_Chatbot_Titan.ipynb +++ b/04_Chatbot/00_Chatbot_Titan.ipynb @@ -93,7 +93,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install --quiet faiss-cpu==1.7.4 \"ipywidgets>=7,<8\" langchain==0.0.190 pypdf==3.8.1" + "%pip install --quiet \"faiss-cpu>=1.7,<2\" \"ipywidgets>=7,<8\" langchain==0.0.249 \"pypdf>=3.8,<4\"" ] }, { diff --git a/05_Image/Bedrock Stable Diffusion XL.ipynb b/05_Image/Bedrock Stable Diffusion XL.ipynb index 16d36f5a..a55f2cbc 100644 --- a/05_Image/Bedrock Stable Diffusion XL.ipynb +++ b/05_Image/Bedrock Stable Diffusion XL.ipynb @@ -71,7 +71,7 @@ " ../dependencies/boto3-1.26.162-py3-none-any.whl \\\n", " ../dependencies/botocore-1.29.162-py3-none-any.whl\n", "\n", - "%pip install --quiet pillow==9.5.0" + "%pip install --quiet \"pillow>=9.5,<10\"" ] }, {