OpenMindAI is a knowledge base system framework based on RAG (Retrieval-Augmented Generation) that combines modern web technologies and AI models to provide intelligent Q&A and knowledge management capabilities.
- Framework: Vue 3
- UI Framework: soybean-admin backend management system
- Build Tool: Vite
- Node.js:
- Web API service
- User authentication
- File upload and parsing
- Data storage
- Python:
- ChromaDB vector database
- Transformer pre-trained models
- Contextual conversation management
.
├── backend/ # Backend services
│ ├── node/ # Node.js service
│ └── python/ # Python AI service
└── frontend/ # Frontend application
├── public/ # Static resources
├── src/ # Source code
└── packages/ # Local packages
-
Clone the repository
git clone https://github.com/your-repo/OpenMindAI.git cd OpenMindAI -
Install dependencies
# Frontend cd frontend pnpm install # Backend (Node.js) cd ../backend/node yarn install # Backend (Python) cd ../python pip install -r requirements.txt
-
Start services
# Start frontend dev server cd frontend pnpm dev # Start Node.js service cd backend/node pnpm dev # Start Python AI service cd backend/python python app.py
POST /api/auth/login- User loginPOST /api/upload- File uploadGET /api/documents- Get document list
POST /api/chat- Contextual conversationPOST /api/search- Knowledge base search
We welcome all types of contributions! Please follow these steps:
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request