mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-28 02:19:34 +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-openai",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"axum",
|
"axum",
|
||||||
"clap",
|
|
||||||
"common",
|
"common",
|
||||||
"fastembed",
|
"fastembed",
|
||||||
"futures",
|
"futures",
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ impl SurrealDbClient {
|
|||||||
SessionStore::new(
|
SessionStore::new(
|
||||||
Some(self.client.clone().into()),
|
Some(self.client.clone().into()),
|
||||||
SessionConfig::default()
|
SessionConfig::default()
|
||||||
.with_table_name("test_session_table")
|
.with_table_name("session")
|
||||||
.with_secure(true),
|
.with_secure(true),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
|||||||
@@ -21,9 +21,5 @@ async-openai = { workspace = true }
|
|||||||
async-trait = { workspace = true }
|
async-trait = { workspace = true }
|
||||||
uuid = { workspace = true }
|
uuid = { workspace = true }
|
||||||
fastembed = { workspace = true }
|
fastembed = { workspace = true }
|
||||||
clap = { version = "4.4", features = ["derive"] }
|
|
||||||
|
|
||||||
common = { path = "../common" }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
common = { path = "../common", features = ["test-utils"] }
|
common = { path = "../common", features = ["test-utils"] }
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ use std::fmt;
|
|||||||
|
|
||||||
use crate::scoring::FusionWeights;
|
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")]
|
#[serde(rename_all = "snake_case")]
|
||||||
pub enum RetrievalStrategy {
|
pub enum RetrievalStrategy {
|
||||||
/// Primary hybrid chunk retrieval for search/chat (formerly Revised)
|
/// Primary hybrid chunk retrieval for search/chat (formerly Revised)
|
||||||
|
|||||||
Reference in New Issue
Block a user