Open sancaes opened 10 hours ago
Hello @sancaes! I'm here to help you with any bugs, questions, or contributions you have. Let's work together to solve this issue.
The function initializeAgentExecutorWithOptions
is indeed deprecated. To use the Google Calendar tool with the updated LangChain framework, you should refer to the new agent creation documentation. Unfortunately, I don't have the exact updated example for Google Calendar integration, but you can start by exploring the new agent creation methods in the LangChain documentation.
For now, you can look into using the PlanAndExecuteAgentExecutor
class, which is part of the recent updates in LangChain. This class is designed for executing a sequence of actions and might be suitable for integrating with tools like Google Calendar. You can find more details in the LangChain documentation or by exploring the PlanAndExecuteAgentExecutor
class in the codebase [1][2].
If you need further assistance, reviewing the latest LangChain documentation on agent creation would be beneficial.
To continue talking to Dosu, mention @dosu.
Checklist
Issue with current documentation:
is deprecated this function: import { initializeAgentExecutorWithOptions } from "langchain/agents";
How can i solve it to use google calendar tool?
This example is outdated: https://js.langchain.com/docs/integrations/tools/google_calendar/
Can you provide new example?
Thank you
Idea or request for content:
No response