- 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.
-
Notifications
You must be signed in to change notification settings - Fork 0
Skip06/selfHealingBridge-api
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Self-healing API bridge that automatically detects and repairs schema drift using LangChain and Groq. It uses RAG with Hugging Face Transformer embeddings.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published