Open-source RAG (Retrieval-Augmented Generation) system for uploading documents, vector-indexing them, and chatting over that knowledge with multiple LLM providers.
Get a complete AI knowledge management system running in under 2 minutes:
# Download the Docker Compose file
curl -O https://raw.githubusercontent.com/waynen12/ChatComplete/main/docker-compose.dockerhub.yml
# Start the full stack (Knowledge Manager + Qdrant + Ollama)
docker-compose -f docker-compose.dockerhub.yml up -d
# Access the application
open http://localhost:8080
Create a .env file or set via command line:
# Required for external LLM providers
OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key
GEMINI_API_KEY=your_gemini_key
# Vector store configuration (pre-configured in compose)
ChatCompleteSettings__VectorStore__Provider=Qdrant
ChatCompleteSettings__VectorStore__Qdrant__Host=qdrant
ChatCompleteSettings__VectorStore__Qdrant__Port=6334 # gRPC port
# Ollama configuration (pre-configured in compose)
ChatCompleteSettings__OllamaBaseUrl=http://ollama:11434
Note: The docker-compose.dockerhub.yml file already includes these configurations. You only need to set the API keys.
curl -X POST http://localhost:8080/api/knowledge \
-F "[email protected]" \
-F "knowledgeId=my-docs"
curl -X POST http://localhost:8080/api/chat \
-H "Content-Type: application/json" \
-d '{
"knowledgeId": "my-docs",
"message": "What is this document about?",
"provider": "OpenAi"
}'
Includes Knowledge Manager, Qdrant, and Ollama:
curl -O https://raw.githubusercontent.com/waynen12/ChatComplete/main/docker-compose.dockerhub.yml
docker-compose -f docker-compose.dockerhub.yml up -d
Just the Knowledge Manager (bring your own vector DB):
docker run -d -p 8080:7040 \
-e OPENAI_API_KEY=your_key \
-v ai-knowledge-data:/app/data \
waynen12/ai-knowledge-manager:latest
Check service status:
# Main application
curl http://localhost:8080/api/ping
# Expected: {"status":"healthy"}
# Qdrant vector database (REST API)
curl http://localhost:6333/health
# Expected: {"status":"ok"}
# Ollama LLM service
curl http://localhost:11434/api/version
# Expected: {"version":"..."}
# Check all services via Docker
docker-compose -f docker-compose.dockerhub.yml ps
Port Reference:
8080: AI Knowledge Manager web UI and API6333: Qdrant REST API (health checks)6334: Qdrant gRPC API (data operations - used by app)11434: Ollama APIlatest - Latest stable releasev1.0.0 - Specific version releasesmain - Latest from main branchDatabase Location:
/app/data/knowledge.db (mounted to Docker volume)/opt/knowledge-api/data/knowledge.db (outside /out directory)Critical: The database MUST be outside the /out directory to survive deployments. The /out folder is wiped during updates.
Volumes:
ai-knowledge-data: Application database, configuration, chat historyqdrant-data: Vector embeddings storageollama-data: Downloaded LLM modelsVisit the GitHub repository to contribute, report issues, or request features.
Open source under the MIT License.
Content type
Image
Digest
sha256:4808502dd…
Size
172.6 MB
Last updated
7 months ago
docker pull waynen12/ai-knowledge-manager