update
This commit is contained in:
+9
-9
@@ -330,17 +330,17 @@ function search_wine_database!(a::T, thoughtdict::AbstractDict; useSQLLLM::Bool=
|
||||
pg_conn_str = "host=$host_url port=$port dbname=$dbname user=$user password=$password"
|
||||
|
||||
#WORKING
|
||||
df = GeneralUtils.find_text_vector_similarity(
|
||||
vector_search_str,
|
||||
"wine",
|
||||
"tasting_notes_embedding",
|
||||
GeneralUtils.execute_postgres_sql(pg_conn_str, sql), #BUG input pair (F, arg)
|
||||
a.context.getTextEmbedding([vector_search_str]) #BUG input pair (F, arg)
|
||||
)
|
||||
# df = GeneralUtils.find_text_vector_similarity(
|
||||
# vector_search_str,
|
||||
# "wine",
|
||||
# "tasting_notes_embedding",
|
||||
# GeneralUtils.execute_postgres_sql(pg_conn_str, sql), #BUG input pair (F, arg)
|
||||
# a.context.getTextEmbedding([vector_search_str]) #BUG input pair (F, arg)
|
||||
# )
|
||||
|
||||
|
||||
@show df
|
||||
error(888888)
|
||||
# @show df
|
||||
# error(888888)
|
||||
|
||||
|
||||
items = nothing
|
||||
|
||||
Reference in New Issue
Block a user