Reranking text documents with Ollama and Qwen3 Embedding model - in Golang:
Reranking text documents with Ollama and Qwen3 Embedding
This little Reranking Go code example is calling Ollama to generate embeddings for the query and for eache candidate document, then sorting descending by cosine similarity.
We already did similar activity - Reranking with embedding models but that was in python, with different LLM and almost a year ago.
Comments
Post a Comment