
Bge Reranker V2 M3
About Infomaniak Bge Reranker V2 M3
Riordinare un elenco di documenti in base alla loro rilevanza rispetto a una query, al fine di migliorare la generazione potenziata dalla ricerca e dal recupero.
Infomaniak Bge Reranker V2 M3 è un modello di Infomaniak disponibile su Eden AI tramite la sua API compatibile con OpenAI, a partire da 0,012 $ / 1M token. Chiamalo con la stessa chiave API di tutti gli altri modelli di Eden AI, inviando il suo ID modello all’endpoint /v3/rerank, oppure tramite qualsiasi SDK OpenAI, con elaborazione in Svizzera.
Tasks and prices
Infomaniak Bge Reranker V2 M3 is available on Eden AI for 1 tasks. È servito tramite l’API compatibile con OpenAI di Eden AI: invia il suo ID modello all’endpoint /v3/rerank con la tua chiave API di Eden AI.
Parameters
What you send and what you get back when you call Infomaniak Bge Reranker V2 M3 through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Input
- model (obbligatorio): testo. L'ID del modello, nel formato provider/modello.
- query (obbligatorio): testo. La query di ricerca.
- documents (obbligatorio): list. I documenti da classificare in base alla query.
- top_n: numero. Numero di risultati da restituire.
Risposta
- results
Estimate your monthly cost
Enter your monthly volume for Rerank to compare Infomaniak Bge Reranker V2 M3 with its cheapest alternatives.
Call Infomaniak Bge Reranker V2 M3 with Eden AI
Invia l’ID del modello all’endpoint compatibile con OpenAI /v3/rerank. Funziona anche qualsiasi SDK OpenAI: imposta il suo URL di base su https://api.edenai.run/v3.
import requests
response = requests.post(
"https://api.edenai.run/v3/rerank",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "infomaniak/BAAI/bge-reranker-v2-m3",
"query": "Come reimposto la mia password?",
"documents": [
"La fatturazione avviene il primo giorno di ogni mese.",
"Per reimpostare la password, apri Impostazioni e scegli Sicurezza.",
],
"top_n": 1,
},
)
print(response.json())
curl https://api.edenai.run/v3/rerank \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "infomaniak/BAAI/bge-reranker-v2-m3", "query": "Come reimposto la mia password?", "documents": ["La fatturazione avviene il primo giorno di ogni mese.", "Per reimpostare la password, apri Impostazioni e scegli Sicurezza."], "top_n": 1}'
const response = await fetch("https://api.edenai.run/v3/rerank", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "infomaniak/BAAI/bge-reranker-v2-m3",
query: "Come reimposto la mia password?",
documents: [
"La fatturazione avviene il primo giorno di ogni mese.",
"Per reimpostare la password, apri Impostazioni e scegli Sicurezza.",
],
top_n: 1,
}),
});
console.log(await response.json());
Questions about Infomaniak Bge Reranker V2 M3
On Eden AI, Infomaniak Bge Reranker V2 M3 costs 0,012 $ / 1M token for Rerank. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Infomaniak Bge Reranker V2 M3 is available for: Rerank. Input: Testo. Output: results.
Eden AI offers Rerank from 9 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Rerank
Other Rerank models you can call with the same key, cheapest first.
More from Infomaniak
Other Infomaniak models on Eden AI, for every task.





