Skip to main content

Prerequisites

Before installing Xpert, ensure your machine meets the following minimum system requirements:
  • CPU >= 2 cores
  • RAM >= 4 GiB

Clone Xpert

Start Xpert

  1. Navigate to the Docker directory in the Xpert source code
  1. Copy the environment configuration file
  1. Start the Docker containers
After executing the command, you should see output similar to the following, showing the status and port mappings of all containers:
Finally, check if all containers are running successfully:
This includes two core services: api / webapp, and two dependency components: db / redis.

Enable BI Service

If you need to enable multidimensional modeling for data analysis, start the Docker containers with the bi profile:

Start Milvus Service

If you need to use Milvus for knowledge base vector storage and retrieval:
  • Modify the VECTOR_STORE configuration item in the .env file, setting it to milvus. Also, configure the Milvus account with MILVUS_USER and MILVUS_PASSWORD.
  • Start the Docker containers with the milvus profile:

Start Crawl4AI service

If you need to use Rawl4AI To crawl web data, please add the ‘crawl4ai’ configuration when executing the Docker compose command:

Access Xpert AI

Visit the initialization page to set up the admin account and tenant:
Change the base URL in the .env file to the server address when deploying Xpert AI in a server environment.

Custom Configuration

Directly edit the environment variable values in the .env file. Then, restart Xpert:

Upgrade

Navigate to the docker directory in the Xpert source code and execute the following commands:

Sync Environment Variable Configuration (Important)

  • If the env.example file has been updated, be sure to modify your local .env file accordingly.
  • Check and adjust the configuration items in the .env file as needed to ensure they match your actual environment. You may need to add any new variables from env.example to your .env file and update any changed values.

Read More

If you have any questions, refer to the FAQ.