From ad917ea8d08062fb6685adc03663175c0b8561dc Mon Sep 17 00:00:00 2001 From: narawat Date: Wed, 15 Jul 2026 14:01:32 +0700 Subject: [PATCH] update --- src/llmfunction.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/llmfunction.jl b/src/llmfunction.jl index 8d15e8a..9a2dad4 100644 --- a/src/llmfunction.jl +++ b/src/llmfunction.jl @@ -834,9 +834,10 @@ function extractWineAttributes_1(a::T1, input::T2; maxattempt=10 # check each attributes against each column in a database table with BM25 for (k, v) in responsedict if k ∉ ["wine_price_min", "wine_price_max"] - words_catalog = GeneralUtils.harvest_entity_catalog(a.context.pg_conn_str, "wine", k) - resolved_word = GeneralUtils.resolve_entity(v, words_catalog;threshold=0.9) - responsedict[k] = resolved_word + words_catalog = GeneralUtils.harvest_entity_catalog(a.context.pg_conn_str, "wine", k) + resolved_word = GeneralUtils.resolve_entity(v, words_catalog;threshold=0.9) + responsedict[k] = resolved_word + end end result = "" -- 2.52.0