mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-24 17:58:31 +02:00
refactored to clap, mrr and ndcg
This commit is contained in:
@@ -21,5 +21,6 @@ async-openai = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
fastembed = { workspace = true }
|
||||
clap = { version = "4.4", features = ["derive"] }
|
||||
|
||||
common = { path = "../common", features = ["test-utils"] }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::fmt;
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, clap::ValueEnum)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum RetrievalStrategy {
|
||||
Initial,
|
||||
|
||||
Reference in New Issue
Block a user