In the world of data analytics, business users often struggle to extract insights without the help of a data analyst. Enter Dataherald, a powerful natural language-to-SQL engine that transforms your relational data into intelligible answers through plain English queries. In this article, we’ll guide you through the setup and running of Dataherald, ensuring you can harness the insights waiting in your databases.
What is Dataherald?
Dataherald offers a seamless solution for querying relational data, making it easy for business users to dig into data without needing technical know-how. Its standout features include:
- API creation from your database for effortless querying.
- Integration into SaaS applications for Q&A capabilities directly from production databases.
- Possibility of creating a ChatGPT plug-in using proprietary data.
Components of Dataherald
To effectively utilize Dataherald, four main components are included in the repository:
- Engine: The foundation of the Dataherald system, responsible for converting natural language into SQL queries.
- Enterprise: This adds authentication, organizations, and user management to the engine, allowing for a robust application API.
- Admin-console: A graphical user interface that aids in configuration and allows for observability of the components.
- Slackbot: A useful interface for Slack users to interact and run queries directly through their channels.
Keep in mind that running both the engine and enterprise is necessary for the admin-console and Slackbot to function effectively.
How to Set Up and Run Dataherald Locally
If you’re ready to dive in, follow these simple steps to set up Dataherald in your local environment:
- Set Environment Variables: Each component has specific environment variables it requires. Check the
.env.examplefile in each service directory and create your.envfile with the necessary values. If you’re focused on the Next.js front-end application, remember that your file should be named.env.local. - Run Services: All services can be launched simultaneously using a single script provided in the root directory. This script creates a common Docker network and runs each service in detached mode. Run the script with the following command:
bash sh docker-run.sh
Troubleshooting Common Issues
While setting up Dataherald, you may encounter a few bumps along the road. Here are some troubleshooting ideas to help you out:
- Docker Issues: If Docker is not running, ensure that Docker is properly installed and that it’s up and running on your machine.
- Environment Variable Problems: Double-check the accuracy of the values in your
.envfiles. A single misspelled variable can prevent services from initializing correctly. - Service Connectivity: Ensure that each service can connect to the necessary databases and APIs, as this can block access to functionality.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Conclusion
Dataherald emerges as a remarkable tool for enabling users to query relational databases using natural language, effectively democratizing data analytics. By following the outlined steps, you can easily set up and run Dataherald in your local environment, opening up new avenues for data exploration and decision-making.
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

