Home Architecture Guide (JA) GitHub

AI Knowledge Base Platform - README (EN)

OSS implementation of an enterprise-oriented knowledge base platform. This page is a static-site friendly README view aligned with project documentation.

1. What You Can Do

2. Typical Use Cases

Cross-document search
Search across design docs, operation manuals, and flow diagrams.
Org-scoped sharing
Control visibility by owner/public/org boundaries.
Quality operations
Improve Recall/Precision/Faithfulness/Completeness over time.
Evidence-first answers
Return source links/images for verification.

3. Quick Start (Docker)

  1. Create config file:
cp .env.example .env
  1. Edit .env (minimum: OPENAI_API_KEY and passwords)
  2. Start services:
cd app
./start_docker.sh pg up
  1. Health check:
docker ps --format "table {{.Names}}\t{{.Status}}"
curl http://localhost:8000/health
  1. Stop services:
cd app
./start_docker.sh pg down

4. Minimal User Flow

  1. Register account (org settings)
  2. Upload document (scope + org tag)
  3. Ask in Knowledge Q&A
  4. Validate answer with evidence links/images

5. System Overview (Summary)

For diagrams and design details, see Architecture.

API Layer
FastAPI + WebSocket
Processing Layer
Kafka + Document Processor
Data Layer
PostgreSQL / Redis / MinIO / Elasticsearch
AI Layer
OpenAI Embedding / Chat / Vision

6. Main Flows

6.1 Upload -> Parse -> Index

6.2 Question -> Retrieve -> Answer

7. Key APIs

MethodPathPurpose
POST/api/v1/auth/registerUser registration
POST/api/v1/auth/loginLogin
POST/api/v1/upload/chunkChunk upload
POST/api/v1/upload/mergeFinalize upload
GET/api/v1/search/hybridHybrid search
WS/api/v1/chat?token=...Q&A chat

8. Operational Notes

9. Known Limitations (v0.1.0-draft)

10. Additional Documents

11. Security Reporting

See security.html for vulnerability reporting and SLA policy.

12. Contributing

See contributing.html for development setup and PR rules.

13. Release Notes

See release-notes.html for current milestone notes.

14. License

See license.html (Apache-2.0 summary and source link).