AI Gateway · Component · embeddings-reranking

Embedding and rerank APIs

Working Synthetic data T2 · Vector Space & Ranking

What it does

Route embedding and document reranking calls, with embedding batching and usage accounting.

Core pattern

Batched text embeddings + candidate reranking

Input
Texts or query/document candidates
Output
Vectors or reranked results

Key parameters

NameTypeDefaultValues
model———
input_batcharray——
querystring——
top_ninteger11–1000000
provider_supported_embedding_options———

Maturity and limits

Working

Controllers, normalizers and priced batching implementations. Static source inspection only; no runtime, provider, deployment or test-pass claim.

config with credentials present. MIT; retain notices. Provider compatibility is configuration-dependent; metadata/privacy and optional payload plugins need review. Static inspection only.

Industry tags

  • Legal servicesTransferable use

    For clause lookup in an authorized contract library, use batched text embeddings followed by candidate reranking.

Skills pack

Contract scaffold and deterministic mock

Download · 11KB

SHA-256 b2a402e000e16e7caa9eb7f0739e5737b62183da5821cd18dce7783b5a66ba39

Related components

Skill pack download

You are downloading

Get the skill pack

Tell us who you are and the download starts right away. We read every request and follow up only about this capability.

Contact

We send the download link here as well.

Company address