Prerequisites
Before installing Xpert, ensure your machine meets the following minimum system requirements:
- CPU >= 2 cores
- RAM >= 4 GiB
Cloning Xpert
Starting the Infrastructure
Before enabling business services, we need to deploy PostgreSQL/Redis (if not available locally). You can start them with the following commands:Starting the Milvus Service
If you need to use Milvus for knowledge base vector storage and retrieval, please:- Modify the
VECTOR_STOREconfiguration item in the.envfile, setting it tomilvus. - Start the Docker container with the
milvusconfiguration file:
Starting the Server and Web Application
Navigate to the project root directory:- Install the NodeJs LTS version or higher, e.g., 18.x.
-
Install Yarn (if not already installed) using the command
npm i -g yarn. -
Use the command
yarn bootstrapto install NPM packages and bootstrap the solution. -
Copy the
.env.localfile to.envand adjust the settings in the file for local execution. -
Run the API and UI services using
yarn start:apiandyarn start:cloud, respectively. - Open the XpertAI UI in a browser at http://localhost:4200 (the API runs at http://localhost:3000/api).
- Start the onboarding wizard…
- Enjoy!
Hot Reloading
If you want the Node application to automatically restart when file changes are detected in the directory, start the server with the following two commands:yarn start:api:devyarn start:cloud
Using the OLAP Engine
If you want to use the Xpert data analysis platform with the OLAP engine, run the following commands:- Install the Java runtime and Maven.
yarn start:olap