新增功能:
- 前端设置页面可切换 LLM 提供商
- 支持 DeepSeek, OpenAI, Qwen, Ollama
- API 密钥配置界面
- 配置保存到 .env 文件
后端 API:
- GET /ai/config - 获取当前配置
- POST /ai/config - 更新配置
使用方式:
1. 打开前端 "⚙️ 设置" 页面
2. 选择 LLM 提供商
3. 输入 API 密钥(云端)或设置地址(本地)
4. 保存配置并重启后端
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| backend | ||
| frontend | ||
| scripts | ||
| .gitignore | ||
| CLAUDE.md | ||
| README.md | ||
| ai.rtf | ||
| design.md | ||
| launcher.py | ||
| start.sh | ||
| stop.py | ||
| stop.sh | ||
| 用户使用手册.md | ||
README.md
Neural Sync - AI Project Manager
This is a custom internal AI Project Management platform designed to align cognitive processes and manage AI experiments efficiently. It focuses on speed and model adaptation, providing a centralized "AI Kitchen" for the team.
Project Structure
- Backend: Python (FastAPI) with PostgreSQL (pgvector) for vector storage.
- Frontend: Vue 3 + TypeScript + Naive UI (Web-only, Desktop First).
Prerequisites
- Python 3.10+
- Node.js 18+
- PostgreSQL 15+ (running on port 5435 by default)
pgvectorextension for PostgreSQL
Setup Instructions
1. Database Setup
Ensure PostgreSQL is running and create the database:
CREATE DATABASE neural_sync;
\c neural_sync
CREATE EXTENSION vector;
2. Backend Setup
Navigate to the backend directory:
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
pip install asyncpg alembic pgvector # Install key dependencies if not in requirements.txt
Run database migrations:
alembic upgrade head
Start the backend server:
uvicorn app.main:app --reload --port 8000
3. Frontend Setup
Navigate to the frontend directory:
cd frontend
npm install
Start the frontend development server:
npm run dev -- --host
Access the frontend at: http://localhost:5173
Features
- Signal Dashboard: Monitor external signals and system status.
- Experiment Board: Manage AI experiments with hypothesis tracking and scoring.
- Context Manager: Define and manage cognitive nodes (RAG slices, rules).
Notes
- The interface is currently optimized for Desktop Web usage only. Mobile support is not a priority.