mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-06 19:38:30 +02:00
* add mmr to hybrid queries section * update to new interface * proofread * update for renaming `lambda` into `diversity` * update for `candidates_limit` * add formula * fix rust snippet * docs: Simplified go.md * docs: Simplify csharp.md * docs: Simplified java.md * output is regular scores --------- Co-authored-by: Anush <anushshetty90@gmail.com>
446 B
446 B
using Qdrant.Client;
using Qdrant.Client.Grpc;
var client = new QdrantClient("localhost", 6334);
await client.QueryAsync(
collectionName: "{collection_name}",
query: (
new float[] { 0.01f, 0.45f, 0.67f },
new Mmr
{
Diversity = 0.5f, // 0.0 - relevance; 1.0 - diversity
CandidatesLimit = 100 // Number of candidates to preselect
}
),
limit: 10
);