Enter to sendยทShift+Enter new line
upvote( self, query: str, document_id: int, ) -> None
query
str
text to associate with document_id
document_id
int
id of the document to associate query with.
The retriever upweights the score of a document for a specific query. This is useful for fine-tuning the retriever to user behavior.