LLM + RAG augmentation and auto-coding for PMS
RAG retrieval of internal API contracts and project knowledge, combined with AI code generation
Finding, fitting, and verifying integration code, all within ITSCOPE
Vector DB tech for RAGTech transfer- 12Generation LLMs comparedGen LLMs
- 97.8%Avg functional accuracy (FA)
- 93.2%Avg requirement-to-code rate (RRR)
Research details
- 01Index organization and project assets
- System catalogs and API contracts turned into searchable text
- Loaded into a vector DB
- 02Search the VDB by requirement
- Hybrid search on meaning and keywords
- Re-ranked API candidates, confirmed by people
- 03Retrieval-based code generation
- Packaged prompts with only the mapped contracts
- Integration code generated into the skeleton
- 04Verify by test
- Scored by real calls to the target system server
- Judged by a majority of three LLMs
Technology in the pilot
| Vector DB | Milvus hybrid index (dense + BM25), RRF fusionMilvus (dense + BM25) |
|---|---|
| Embedding and re-ranking | vLLM embedding server (GPU), re-rankervLLM, re-ranker |
| Asset contracts | OpenAPI 3.1 per system, YAML asset catalogOpenAPI 3.1, YAML |
| Code generation | 12 generation LLMs behind one adapter, same conditions12 LLMs |
| Verification | pytest test assets, real calls to target serverspytest, live calls |
| Judging | Majority of three judge LLMs, people decide splits3-LLM majority |
Evaluation
- RRR93.2%Requirement-to-code rate (avg)
- FA97.8%Functional accuracy (avg)
- OCI0.94+Output consistency (all models)
- CMV≤ 5ppCross-model variance (target met)
| Metric | Result | Description |
|---|---|---|
| RRR | 93.2% | Requirement-to-code rate (avg) |
| FA | 97.8% | Functional accuracy (avg) |
| OCI | 0.94+ | Output consistency (all models) |
| CMV | ≤ 5pp | Cross-model variance (target met) |
Note: Pilot as of October 2026. The main experiment is in progress.