Ask a question to get started
Enter to sendā¢Shift+Enter new line
Given a batch of (query, document id) pairs, the retriever upweights the scores of the document for the corresponding queries. This is useful for fine-tuning the retriever to user behavior.
upvote_batch( self, query_id_pairs: List[Tuple[str, int]], ) -> None
query_id_pairs
List[Tuple[str, int]]
list of (query, document id) pairs. For each pair in