Skip to content

[RFC] Files Recommendations: Improve algorithm and data sources #888

@skjnldsv

Description

@skjnldsv

Goals

I think we can improve the current state.
Right now we support three providers:

  • Recently Commented
  • Recently Edited
  • Recently Shared

Sources suggestions

  • Recently Accessed
  • Recently Uploaded (because we keep the mtime when uploading, so new files might not appear as Recently Edited)
  • Frequently Accessed
  • Time of day: Accessed files during specific time of days ?

Aggregation bonus

  • Some data could be regrouped too. Like if you frequently access more than x files in the same folder, also recommend the folder directly?

Distribution

I also suggest to add a weight combining score
Something that can be fined tuned over time, but we could weight the relevancy of a result if it matches multiple criterias (dumb values used for this example below)

$score = (
    0.3 * $recencyScore +
    0.2 * $frequencyScore +
    0.1 * $editScore +
    0.1 * $sharedScore +
    0.1 * $commentedScore
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🏗️ At engineering

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions