onyx icon indicating copy to clipboard operation
onyx copied to clipboard

Feature Request: Per Persona document ranking

Open sjakos opened this issue 1 year ago • 2 comments

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.

sjakos avatar Oct 12 '23 15:10 sjakos

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?

Weves avatar Oct 16 '23 00:10 Weves

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.

sjakos avatar Oct 16 '23 15:10 sjakos