- Architecture Overview: A Node.js/Bun bridge that acts as an intelligent middleware between a Legacy Source API and a Modern Destination API.
- Failure Detection: Uses an automated retry loop that catches 400 Bad Request errors triggered by schema mismatches or field renames.
- RAG-Powered Recovery: Upon failure, a LangChain agent performs a similarity search across a local "API Manual" using Hugging Face Transformer embeddings to find correct field mappings.
- LLM Reasoning: Passes the retrieved context and error logs to a Groq-hosted Llama-3 model to generate a precise, JSON-formatted mapping fix.
- Persistent Layer: I am currently using the inmemory vector db to store the embeddings . it is NOT persistent rn.
Skip06/selfHealingBridge-api
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|