mirror of
https://github.com/perstarkse/minne.git
synced 2026-06-12 17:24:26 +02:00
chore: ingestion-pipeline refactor, sort technical debt, rustfmt
This commit is contained in:
@@ -8,8 +8,7 @@ use crate::storage::{
|
||||
db::SurrealDbClient,
|
||||
indexes::{ensure_runtime, rebuild},
|
||||
types::{
|
||||
knowledge_entity_embedding::KnowledgeEntityEmbedding,
|
||||
system_settings::SystemSettings,
|
||||
knowledge_entity_embedding::KnowledgeEntityEmbedding, system_settings::SystemSettings,
|
||||
text_chunk_embedding::TextChunkEmbedding,
|
||||
},
|
||||
};
|
||||
@@ -27,9 +26,7 @@ pub async fn setup_test_db() -> Result<SurrealDbClient> {
|
||||
.await
|
||||
.context("start in-memory surrealdb")?;
|
||||
|
||||
db.apply_migrations()
|
||||
.await
|
||||
.context("apply migrations")?;
|
||||
db.apply_migrations().await.context("apply migrations")?;
|
||||
|
||||
Ok(db)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user