This commit is contained in:
narawat lamaiin
2024-07-28 20:45:19 +07:00
parent d042c1d9c3
commit 71479c5fd0
2 changed files with 27 additions and 26 deletions

View File

@@ -358,7 +358,7 @@ julia> result = winestock(agent, input)
# TODO
- [] update docs
- [WORKING] implement the function
- [x] implement the function
# Signature
"""
@@ -370,7 +370,7 @@ function winestock(a::T1, input::T2
# replace because SQLLLM didn't know what food_paired means
result = replace(wineattributes, "food_pairing" => "food_to_be_paired_with_wine")
result = SQLLLM.query(Dict(:text=> wineattributes), a.executeSQL, a.text2textInstructLLM)
result = SQLLLM.query(result, a.executeSQL, a.text2textInstructLLM)
return result
end