Our new LangChain Academy course on Deep Agents is now live! Enroll for free.
OSS (v1-alpha)
LangChain and LangGraph
pip install dataherald %pip install -qU langchain-community
import os os.environ["DATAHERALD_API_KEY"] = ""
from langchain_community.utilities.dataherald import DataheraldAPIWrapper
dataherald = DataheraldAPIWrapper(db_connection_id="65fb766367dd22c99ce1a12d")
dataherald.run("How many employees are in the company?")
'select COUNT(*) from employees'
Was this page helpful?