Skip to content

Commit

Permalink
Fix ranker docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bendk committed Nov 8, 2024
1 parent 215e37e commit 82868b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/relevancy/src/ranker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::interest::{Interest, InterestVector};
/// `RelevancyStore::user_interest_vector()`.
/// - `content_categories`: a list of categories (interests) of the give content.
/// Return:
// - A score ranges in [0, 1].
/// - A score ranges in [0, 1].
#[uniffi::export]
pub fn score(interest_vector: InterestVector, content_categories: Vec<Interest>) -> f64 {
let n = content_categories
Expand Down

0 comments on commit 82868b4

Please sign in to comment.