# ecomai **Repository Path**: aiPros_otter/ecomai ## Basic Information - **Project Name**: ecomai - **Description**: EcomAI-电商智能客服机器人 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-02-25 - **Last Updated**: 2026-02-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README EcomAI skeleton repo -------------------- This archive contains a minimal backend (FastAPI) and frontend (Next.js) skeleton for the EcomAI MVP. To run locally (simple):// to do 1. Install Docker and Docker Compose 2. Copy .env.example to .env and adjust if needed 3. cd into infra and run: docker compose up --build 4. Backend: http://localhost:8000 5. Frontend: http://localhost:3000 Files created under /backend and /frontend. Please extend with DB migrations, authentication, and LLM integrations. ## backend 1. 本地启动 cd ecomai uvicorn backend.app.main:app --reload --host 0.0.0.0 --port 8000 http://127.0.0.1:8000/health ## frontend 1. 本地启动 ecomai\frontend npm install npm run dev ## streamlit_app 1. 本地启动 cd streamlit_app streamlit run app.py ## 本地目录关联远程仓库并拉取代码 mkdir ecomai cd ecomai git init git remote add origin https://gitee.com/james0at139/ecomai.git git remote -v git checkout dev git pull origin dev ## pgvector 安装 postgres 16.10 win64 下载和postgres匹配的版本 https://github.com/andreiramani/pgvector_pgsql_windows/releases?utm_source=chatgpt.com pgvector v0.8.1 for PostgreSQL 16, Microsoft Windows 解压,将文件复制到 PostgreSQL 目录 把里面的文件复制到: 文件 目标路径 vector.control C:\Program Files\PostgreSQL\16\share\extension\ pgvector--0.8.1.sql 同上 vector.dll C:\Program Files\PostgreSQL\16\lib\ 路径你可按自己安装目录调整 -- sql执行处执行 CREATE EXTENSION IF NOT EXISTS vector;