diff --git a/Cargo.lock b/Cargo.lock index a81c197..7256454 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1775,7 +1775,7 @@ dependencies = [ [[package]] name = "k-core" -version = "0.1.7" +version = "0.1.8" dependencies = [ "anyhow", "async-nats", diff --git a/Cargo.toml b/Cargo.toml index c223c3e..b8e955c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "k-core" -version = "0.1.7" +version = "0.1.8" edition = "2024" [features] diff --git a/src/ai/embeddings.rs b/src/ai/embeddings.rs index 1f13887..046631b 100644 --- a/src/ai/embeddings.rs +++ b/src/ai/embeddings.rs @@ -7,7 +7,7 @@ pub struct FastEmbedAdapter { } impl FastEmbedAdapter { - pub fn new() -> DomainResult { + pub fn new() -> anyhow::Result { let mut options = InitOptions::default(); options.model_name = EmbeddingModel::AllMiniLML6V2; options.show_download_progress = false;