Commit 4079eb9
authored
docs(use-cases): initial scenarios and success metrics (#29)
* feat(rag): step 6B retrieval tool (MCP) with tests
- Add mcp-server/tools/search_docs.py with real embedding query
- Update mcp-server/server.py to use new search tool
- Add tests/rag/test_retrieval_topk.py with top-k retrieval tests
- Query → embed → cosine → top-k (k=3–5) functionality
- Return passages + metadata (doc_id, chunk_id, score)
- Fallback to mock results when RAG components unavailable
Awaits CI for merge.
* fix(mcp): correct import path for search_docs endpoint
- Rename mcp-server/ to mcp_server/ for proper Python package structure
- Add __init__.py to make it a proper package
- Update all references from mcp-server to mcp_server
- Fixes import error: mcp_server.tools.search_docs import search_documents_endpoint
* docs(research): add RAG baseline findings log with metrics table
- Add living metrics log for tracking chunking, retrieval, and QA metrics
- Include baseline configuration: 1000 tokens, 15% overlap, cosine similarity
- Add seeded metrics table with TBD placeholders for initial run
- Include repro instructions for lab/rag/eval.py with fixed seed
* docs(use-cases): add AI-assisted dev and multi-tool support agent docs
- Add AI-Assisted Development use case with success metrics and minimal flow
- Add Multi-Tool Support Agent use case with MTTD and escalation metrics
- Include grounded use-case docs with measurable success criteria
- Define tools inventory and minimal flows for each scenario
* fix(docs): add version headers to all documentation files
- Add Version: v0.6.2 header to docs/releases/v0.6.2.md
- Add Version: v0.6.2 header to docs/research/rag-baseline.md
- Add Version: v0.6.2 header to docs/use-cases/multi-tool-support-agent.md
- Add Version: v0.6.2 header to docs/use-cases/ai-assisted-dev.md
Fixes docs-check CI failure for PRs #27-291 parent ec9f17e commit 4079eb9
20 files changed
Lines changed: 1747 additions & 9 deletions
File tree
- app/mcp-servers/promotions
- docs
- releases
- research
- use-cases
- lab/rag
- logs
- mcp_server
- tools
- tests/rag
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
0 commit comments