Open codekiln opened 1 month ago
Can you take a look @rsgrewal-aws ?
Yes ack – will do so
From: Shreyas Subramanian @.> Reply-To: aws-samples/amazon-bedrock-workshop @.> Date: Wednesday, May 29, 2024 at 8:05 AM To: aws-samples/amazon-bedrock-workshop @.> Cc: "Grewal, Rupinder" @.>, Mention @.***> Subject: Re: [aws-samples/amazon-bedrock-workshop] Amazon Bedrock Workshop - [Bug] (Issue #256)
Can you take a look @rsgrewal-awshttps://github.com/rsgrewal-aws ?
— Reply to this email directly, view it on GitHubhttps://github.com/aws-samples/amazon-bedrock-workshop/issues/256#issuecomment-2137641563, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYMBZRURI3Y57Y7PTIUHMBLZEXVAZAVCNFSM6AAAAABIAIRBXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZXGY2DCNJWGM. You are receiving this because you were mentioned.Message ID: @.***>
Describe the bug In the code cell below
### Invoke Langchain with Chain using BedrockChat class
in06_OpenSource_examples/05_OpenSource_agents/01_tools_agents.ipynb
, there's a deprecation warning:Also, in the code cell that contains
llm_math_chain({'question': 'text 4**5'})
there's another more pressing deprecation:In the cell
ask_agent("can you check the weather in Marysville WA for me?", react_agent_llm)
there's another langchain 0.2.0 deprecation warning:Note: the code continues to function for now.
Other places in this notebook (correctly, for now) use
from langchain_aws.chat_models.bedrock import ChatBedrock
.To Reproduce Steps to reproduce the behavior (or some version of this):
06_OpenSource_examples/05_OpenSource_agents/01_tools_agents.ipynb
### Invoke Langchain with \
Chain` using BedrockChat class`Expected behavior Latest, non-deprecated version of langchain-aws's bedrock adapter used
Screenshots![image](https://github.com/aws-samples/amazon-bedrock-workshop/assets/140930/536864c0-9f48-44b0-a504-270d91d834ab)
Desktop (please complete the following information):