Set OPENAI_API_KEY env variable
Set OPENAI_API_BASE env variable
Install mongodb,create database "speedtestdata"
Install postgresql,create database "speedtestdata"
set your own user and password of database in src/backend/config/configs.js
init table with src/backend/database/init.sql in postgressql
npm start
Open http://localhost:5173 to view it in your browser.
npm run backend
Runs backend server, the server url is http://localhost:5000
langchain js has not support other model, so our app only can use gpt-xx-xx model
For GenSQL, you can import xxx.sql schema file in src/testata
For GenData, upload dataset csv file must include field name
5000 port has been used issue can be fixed if user disable AirPlay Receiver. It is only an issue for M1
App showcase see here