-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AWS CloudWatch logs agent toolkit #27
Conversation
…rove log fetching logic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this.
create_cloudwatch_logs_agent
is using some older abstractions (LLMChain, AgentExecutor, ZeroShotAgent). My recommendation is to just implement a tool that is compatible with modern chat models with tool-calling features. These can then be used in standard agent constructors.
Read more:
This PR adds to the dependencies in pyrpoject.toml. If adding to langchain-experimental
, these would need to be removed following the contributing guide. I recommend looking into adding the tool to langchain-aws where it can be properly tested and versioned, and the dependencies can be managed.
Introduce a toolkit for analyzing AWS CloudWatch logs using a language model. This includes functions for fetching logs and creating an agent to process and analyze them.