onyx
onyx copied to clipboard
Feature Request: Per Persona document ranking
As a user I want to be able to rank documents based on the persona I am querying under. Some documents can be relatively important for some personas and not for others, so I don't want to rely on the global ranking.
Hey @sjakos! That definitely makes a lot of sense.
How would you feel about document-set level weighting for a specific persona? Would that do the trick, or for your use case do you need to weight the individual documents for the persona?
I think the document-set level weighting could work for personas.
I think I was thinking of the doc_retrieval_feedback endpoint and the boost as applied during the re-ranking step. Since the user_id is being passed into the ranked documents retriever, use a per user boost ranking.