You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Updated to the script to use the latest langchain_community module.
2. Updated the Mistral models to use LangChain.
3. Added Claude 3 models.
4. Updated the sort prompt for the CSV data format.
Copy file name to clipboardExpand all lines: notebooks/llm_csv_data_processing.ipynb
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
"* Sorting\n",
19
19
"* Transformations\n",
20
20
"\n",
21
-
"We will use [LangChain](https://www.langchain.com/) to simplify the process of constructing the prompts and interacting with the LLMs. However, some new LLMs on Amazon Bedrock may not be supported on LangChain yet. For those, we will use the [boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) client. In the process of working through this notebook, you will learn how to setup the Amazon Bedrock client environment, configure security permissions and use prompt templates in LangChain."
21
+
"We will use [LangChain](https://www.langchain.com/) to simplify the process of constructing the prompts and interacting with the LLMs. In the process of working through this notebook, you will learn how to setup the Amazon Bedrock client environment, configure security permissions and use prompt templates in LangChain."
22
22
]
23
23
},
24
24
{
@@ -165,9 +165,9 @@
165
165
},
166
166
"outputs": [],
167
167
"source": [
168
-
"!pip install boto3==1.34.58\n",
169
-
"!pip install langchain==0.1.11\n",
170
-
"!pip install sagemaker==2.210.0\n",
168
+
"!pip install boto3==1.34.62\n",
169
+
"!pip install langchain==0.1.12\n",
170
+
"!pip install sagemaker==2.212.0\n",
171
171
"\n",
172
172
"import IPython\n",
173
173
"\n",
@@ -649,8 +649,8 @@
649
649
"#call_to_action = 'I want to buy all the books. How much will it cost?'\n",
650
650
"\n",
651
651
"#### Sorting (NOTE: You will NOT see accurate results most of the time)\n",
652
-
"#call_to_action = 'sort the records in ascending order of publication date.'\n",
653
-
"#call_to_action = 'sort the records in descending order of price.'\n",
652
+
"#call_to_action = 'consider every line as a record. Then, sort the records in ascending order of publication date.'\n",
653
+
"#call_to_action = 'consider every line as a record. Then, sort the records in descending order of price.'\n",
654
654
"\n",
655
655
"#### Transformations (NOTE: You will see accurate results almost all the time)\n",
656
656
"#call_to_action = 'convert this CSV to a HTML table.'\n",
Copy file name to clipboardExpand all lines: notebooks/llm_json_data_processing.ipynb
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
"* Transformations\n",
19
19
"* Sample API request generation from a Swagger document\n",
20
20
"\n",
21
-
"We will use [LangChain](https://www.langchain.com/) to simplify the process of constructing the prompts and interacting with the LLMs. However, some new LLMs on Amazon Bedrock may not be supported on LangChain yet. For those, we will use the [boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) client. In the process of working through this notebook, you will learn how to setup the Amazon Bedrock client environment, configure security permissions and use prompt templates in LangChain."
21
+
"We will use [LangChain](https://www.langchain.com/) to simplify the process of constructing the prompts and interacting with the LLMs. In the process of working through this notebook, you will learn how to setup the Amazon Bedrock client environment, configure security permissions and use prompt templates in LangChain."
Copy file name to clipboardExpand all lines: notebooks/llm_xml_data_processing.ipynb
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
"* Transformations\n",
19
19
"* Sample data generation from schemas\n",
20
20
"\n",
21
-
"We will use [LangChain](https://www.langchain.com/) to simplify the process of constructing the prompts and interacting with the LLMs. However, some new LLMs on Amazon Bedrock may not be supported on LangChain yet. For those, we will use the [boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) client. In the process of working through this notebook, you will learn how to setup the Amazon Bedrock client environment, configure security permissions and use prompt templates in LangChain."
21
+
"We will use [LangChain](https://www.langchain.com/) to simplify the process of constructing the prompts and interacting with the LLMs. In the process of working through this notebook, you will learn how to setup the Amazon Bedrock client environment, configure security permissions and use prompt templates in LangChain."
0 commit comments