Learn how to leverage StackOne integrations in your AI agent with StackOne
This comprehensive guide will help you get started with StackOne’s AI tools, covering installation, basic usage, tool filtering, and advanced features.
from langchain_openai import ChatOpenAItoolset = StackOneToolSet()tools = toolset.get_tools(["hris_*"], account_id=account_id)langchainTools = tools.to_langchain();# Create model with toolsmodel = ChatOpenAI(model="gpt-4o-mini")model_with_tools = model.bind_tools(langchain_tools)result = model_with_tools.invoke(f"Find all employees in the engineering department")