update #20

Merged
ton merged 1 commits from v0.6.0-output_text_image into main 2026-07-15 07:01:48 +00:00
Showing only changes of commit ad917ea8d0 - Show all commits
+4 -3
View File
@@ -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 = ""