feat: implement automatic ChromaDB indexing and loop-based documentation generation
Some checks failed
CI/CD Pipeline / Run Tests (push) Has been skipped
CI/CD Pipeline / Security Scanning (push) Has been skipped
CI/CD Pipeline / Generate Documentation (push) Failing after 8m31s
CI/CD Pipeline / Lint Code (push) Failing after 8m33s
CI/CD Pipeline / Build and Push Docker Images (api) (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (chat) (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (frontend) (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (worker) (push) Has been skipped
CI/CD Pipeline / Deploy to Staging (push) Has been skipped
CI/CD Pipeline / Deploy to Production (push) Has been skipped
Some checks failed
CI/CD Pipeline / Run Tests (push) Has been skipped
CI/CD Pipeline / Security Scanning (push) Has been skipped
CI/CD Pipeline / Generate Documentation (push) Failing after 8m31s
CI/CD Pipeline / Lint Code (push) Failing after 8m33s
CI/CD Pipeline / Build and Push Docker Images (api) (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (chat) (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (frontend) (push) Has been skipped
CI/CD Pipeline / Build and Push Docker Images (worker) (push) Has been skipped
CI/CD Pipeline / Deploy to Staging (push) Has been skipped
CI/CD Pipeline / Deploy to Production (push) Has been skipped
- Add automatic ChromaDB indexing after documentation generation - Implement loop-based section generation for individual VM and container documentation - Fix Celery anti-pattern in generate_proxmox_docs task (removed blocking .get() call) - Share ChromaDB vector store volume between worker and chat services - Add documentation management UI to frontend with manual job triggering and log viewing - Fix frontend Socket.IO connection URL to point to correct chat service port - Enhance DocumentationAgent.index_documentation() with automatic cleanup of old documents - Update Proxmox template to generate individual files for each VM and container This enables the RAG system to properly respond with infrastructure-specific information from the generated documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -58,7 +58,8 @@ services:
|
||||
- ../../src:/app/src
|
||||
- ../../config:/app/config
|
||||
- api-logs:/app/logs
|
||||
- api-output:/app/output
|
||||
- worker-output:/app/output # Shared with worker for documentation files
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro # For accessing worker logs
|
||||
depends_on:
|
||||
mongodb:
|
||||
condition: service_healthy
|
||||
@@ -82,7 +83,7 @@ services:
|
||||
volumes:
|
||||
- ../../src:/app/src:z
|
||||
- ../../config:/app/config:z
|
||||
- ../../output:/app/output:z # Documentation files
|
||||
- worker-output:/app/output # Shared documentation files with worker
|
||||
- ../../scripts:/app/scripts:z # Indexing scripts
|
||||
- chat-logs:/app/logs
|
||||
- chat-data:/app/data # Vector store persistence
|
||||
@@ -109,6 +110,7 @@ services:
|
||||
- ../../config:/app/config
|
||||
- worker-logs:/app/logs
|
||||
- worker-output:/app/output
|
||||
- chat-data:/app/data # Shared ChromaDB vector store with chat
|
||||
depends_on:
|
||||
mongodb:
|
||||
condition: service_healthy
|
||||
@@ -163,8 +165,6 @@ volumes:
|
||||
name: datacenter-docs-redis-data-dev
|
||||
api-logs:
|
||||
name: datacenter-docs-api-logs-dev
|
||||
api-output:
|
||||
name: datacenter-docs-api-output-dev
|
||||
chat-logs:
|
||||
name: datacenter-docs-chat-logs-dev
|
||||
chat-data:
|
||||
|
||||
Reference in New Issue
Block a user