UNPKG

voyageai-cli

Version:

CLI for Voyage AI embeddings, reranking, and MongoDB Atlas Vector Search

46 lines (45 loc) 1.17 kB
{ "name": "kb-health-report", "description": "Analyze knowledge base health: counts, coverage, staleness", "version": "1.0.0", "branding": { "icon": "activity", "color": "#DC2626" }, "inputs": { "test_queries": { "type": "array", "default": ["authentication", "deployment", "error handling", "configuration"], "description": "Queries to test coverage" } }, "defaults": { "db": "myapp", "collection": "knowledge" }, "steps": [ { "id": "coverage_check", "tool": "loop", "name": "Test query coverage", "inputs": { "items": "{{ inputs.test_queries }}", "as": "test_query", "step": { "tool": "query", "inputs": { "query": "{{ test_query }}", "limit": 3 } } } }, { "id": "report", "tool": "generate", "name": "Generate health report", "inputs": { "prompt": "Analyze this knowledge base health data and write a brief report.", "context": "Query coverage tests: {{ coverage_check.output.results }}" } } ], "output": "{{ report.output }}" }