Integrations
Plug the verification in where your RAG lives.
Status of each integration
REST API
Python SDK
TypeScript SDK
LangChain, LlamaIndex
MCP server
GitHub
Marketplaces
One API call, in the service that already calls your RAG.
After your retrieval and your model, send the question, the passages and the answer. WYRLO returns its decision: answer, or say “I don’t know”.
Integration methods
- REST API
- Python
- TypeScript
- LangChain
- LlamaIndex
export WYRLO_API_KEY="wyr_test_…"curl https://api.wyrlo.io/functions/v1/guard \
-H "Authorization: Bearer $WYRLO_API_KEY" \
-H "Content-Type: application/json" \
-H "x-region: eu-west-3" \
-d '{
"question": "What is the return period?",
"answer": "The return period is 14 days.",
"passages": [{
"id": "p1",
"text": "Items can be returned within 14 days of delivery."
}]
}'pip install wyrloimport os
from wyrlo import Wyrlo
wyrlo = Wyrlo(api_key=os.environ["WYRLO_API_KEY"])
res = wyrlo.guard(question=question, passages=passages, generate=generate)npm install @wyrlo/sdkimport { Wyrlo } from "@wyrlo/sdk";
const wyrlo = new Wyrlo({ apiKey: process.env.WYRLO_API_KEY });
const res = await wyrlo.guard({ question, passages, generate });Your RAG deserves a second reading.
Access to the API is opening gradually.
- Free to get started
- Database hosted in Paris
- Your RAG answers even if WYRLO does not