Ask AI to analyze your database and generate SQL queries.
-
Install dependencies:
yarn install
-
Start the development server:
yarn dev
-
Open your browser at http://localhost:5173
-
Enter your Claude API key when prompted (get one from https://console.anthropic.com/keys)
- Enter your API key on the first screen
- Choose your preferred AI model provider (Claude is the default)
- Start chatting with your selected AI model!
- Your API key and preferences are stored locally in your browser
Build the project for production:
yarn build
This application uses the dangerouslyAllowBrowser: true
flag to enable browser usage of the LangChain components. While convenient for this demo, be aware that this approach exposes your API key to potential security risks in a production environment.