mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-28 10:29:30 +02:00
chore: remove unused clap dep and fix test_session_table name
- Remove clap dependency from retrieval-pipeline (RetrievalStrategy already has FromStr/Display; evaluations uses clap directly) - Rename session table from test_session_table to session
This commit is contained in:
Generated
-1
@@ -5422,7 +5422,6 @@ dependencies = [
|
||||
"async-openai",
|
||||
"async-trait",
|
||||
"axum",
|
||||
"clap",
|
||||
"common",
|
||||
"fastembed",
|
||||
"futures",
|
||||
|
||||
@@ -75,7 +75,7 @@ impl SurrealDbClient {
|
||||
SessionStore::new(
|
||||
Some(self.client.clone().into()),
|
||||
SessionConfig::default()
|
||||
.with_table_name("test_session_table")
|
||||
.with_table_name("session")
|
||||
.with_secure(true),
|
||||
)
|
||||
.await
|
||||
|
||||
@@ -21,9 +21,5 @@ async-openai = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
fastembed = { workspace = true }
|
||||
clap = { version = "4.4", features = ["derive"] }
|
||||
|
||||
common = { path = "../common" }
|
||||
|
||||
[dev-dependencies]
|
||||
common = { path = "../common", features = ["test-utils"] }
|
||||
|
||||
@@ -3,7 +3,7 @@ use std::fmt;
|
||||
|
||||
use crate::scoring::FusionWeights;
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, clap::ValueEnum)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum RetrievalStrategy {
|
||||
/// Primary hybrid chunk retrieval for search/chat (formerly Revised)
|
||||
|
||||
Reference in New Issue
Block a user