Moderations

Check text for policy violations:

Response

For providers that support moderation (OpenAI), the request is passed through to the upstream. ManyLayers also has a built-in moderation capability.

Rerank

Rerank a set of documents against a query for better RAG retrieval or search ranking. Supported by Cohere (translated to /v2/rerank) and Together (passthrough to /v1/rerank).

Response

Rerank in RAG

The rerank endpoint is also used by the RAG pipeline when rag.rerank_model is configured. Configure it in Admin → Settings → RAG: