This pull request makes updates to three Jupyter notebooks: co_aws_ch5_rerank_sm.ipynb, co_aws_ch6_rag_bedrock_sm.ipynb, and co_aws_ch8_ft_command.ipynb.
co_aws_ch5_rerank_sm.ipynb
The changes in this notebook involve:
Removing the role parameter from the co_aws.create_endpoint method invocation.
Reformatting the co.rerank method invocation for better readability by adding line breaks and indentation.
co_aws_ch6_rag_bedrock_sm.ipynb
The updates in this notebook include:
Adding cohere and boto3 to the pip install command.
Removing the Vectorstore class definition and its associated docstrings and attributes.
Modifying the run_chatbot function to accept None as a default value for the chat_history parameter and initializing an empty list if None is provided.
co_aws_ch8_ft_command.ipynb
The notebook has been updated to:
Change s3_data_dir to use YOUR_S3_DATA_PATH instead of YOUR_S3_PATH.
Update s3_models_dir to use YOUR_S3_MODEL_PATH instead of YOUR_S3_PATH.
This pull request makes updates to three Jupyter notebooks:
co_aws_ch5_rerank_sm.ipynb
,co_aws_ch6_rag_bedrock_sm.ipynb
, andco_aws_ch8_ft_command.ipynb
.co_aws_ch5_rerank_sm.ipynb
The changes in this notebook involve:
role
parameter from theco_aws.create_endpoint
method invocation.co.rerank
method invocation for better readability by adding line breaks and indentation.co_aws_ch6_rag_bedrock_sm.ipynb
The updates in this notebook include:
cohere
andboto3
to thepip install
command.Vectorstore
class definition and its associated docstrings and attributes.run_chatbot
function to acceptNone
as a default value for thechat_history
parameter and initializing an empty list ifNone
is provided.co_aws_ch8_ft_command.ipynb
The notebook has been updated to:
s3_data_dir
to useYOUR_S3_DATA_PATH
instead ofYOUR_S3_PATH
.s3_models_dir
to useYOUR_S3_MODEL_PATH
instead ofYOUR_S3_PATH
.