From fbdc88a62f521370259d4a4d1837ac8a4fa55c69 Mon Sep 17 00:00:00 2001 From: J S <49557684+svilupp@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:05:21 +0200 Subject: [PATCH] update logs --- src/pipeline_defaults.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pipeline_defaults.jl b/src/pipeline_defaults.jl index 6c2e826..0d6a55f 100644 --- a/src/pipeline_defaults.jl +++ b/src/pipeline_defaults.jl @@ -156,7 +156,7 @@ function update_pipeline!( @warn "Invalid configuration for knowledge packs! For `nomic-embed-text`, `embedding_dimension` must be 0. See the available artifacts." end if model_embedding == "text-embedding-3-large" && - (embedding_dimension ∉ [1024, 0] || !isnothing(embedding_dimension)) + !(embedding_dimension in [1024, 0] || isnothing(embedding_dimension)) @warn "Invalid configuration for knowledge packs! For `text-embedding-3-large`, `embedding_dimension` must be 0 or 1024. See the available artifacts." end @@ -184,7 +184,6 @@ function update_pipeline!( ## Update GLOBAL variables MODEL_CHAT = model_chat MODEL_EMBEDDING = model_embedding - @info embedding_dimension EMBEDDING_DIMENSION = embedding_dimension ## Set the options