Welcome to the future of database querying with natural language! This article will guide you through the process of using an experimental app that utilizes large language models (LLMs) to interact with SQL databases. Follow these straightforward instructions to get started!
Step 1: Setting Up the Environment
Before diving into the exciting world of natural language queries, you need to set up the application. Here’s how:
- First, ensure you have your OPENAI_API_KEY ready.
- Add this key to the
.env.localfile in your project directory.
Step 2: Installing the App
Now it’s time to install the app. Open your terminal and run the following command:
bash
npm install
Step 3: Running the App
With the app installed, you can now launch it! Execute the following command in your terminal:
bash
npm run dev
Your application should now be running and ready for you to interact with!
Understanding the Sample Database
To give you a visual insight, here’s a sample of the Northwind database that you’ll be interacting with:
See It in Action!
Want to get a feel for how this all works? Check out these videos demonstrating the functionalities of the app:
Troubleshooting Tips
If you encounter any issues while setting up or running the app, here are some troubleshooting ideas:
- Ensure your
.env.localfile is formatted correctly and contains the correct OPENAI_API_KEY. - Check that you have Node.js and npm installed and updated to the latest version.
- If the app fails to run, try stopping it and running
npm run devagain.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Conclusion
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.

