Documentation
The documentation ships with the library.
In the meantime, here is an honest preview of the integration. Package and method names are not final yet.
Installation
Install the library in the service that already calls your RAG. Your index, your model and your documents stay the same.
npm install @wyrlo/sdkpip install wyrloThe five checks
The library sits between your retrieval and your answer, and runs five checks on every question.
Vocabulary
The question is also searched with the terms used in your documents: “refund” is also searched as “withdrawal”.
Reranking
The passages found by your retrieval are reordered; only the most useful ones are passed to your model.
Injections
Instructions hidden in the question or in the passages are detected and blocked.
Verification
Each sentence of the answer is matched to the passage that supports it. A sentence without a source is flagged.
Decision
A confidence level is computed (certain, probable or uncertain): answer, or say “I don’t know” when the information is missing.
Then the loop runs on its own
Every night, a loop adjusts your organisation’s settings from its own traces. Every week, a report shows what changed.
Coming soon
- Getting started guide
- Library reference, in TypeScript and Python
- LangChain and LlamaIndex integrations
- REST API for other languages