update
This commit is contained in:
@@ -289,12 +289,12 @@ julia> result = checkinventory(agent, input)
|
||||
"""
|
||||
function checkinventory(a::T1, input::T2
|
||||
)::NamedTuple{(:result, :success, :errormsg), Tuple{String, Bool, Union{String, Nothing}}} where {T1<:agent, T2<:AbstractString}
|
||||
|
||||
println("--> checkinventory input: $input ", @__FILE__, " ", @__LINE__)
|
||||
wineattributes_1 = extractWineAttributes_1(a, input)
|
||||
wineattributes_2 = extractWineAttributes_2(a, input)
|
||||
|
||||
inventoryquery = "$wineattributes_1, $wineattributes_2"
|
||||
println("--> checkinventory: $inventoryquery")
|
||||
println("--> checkinventory: $inventoryquery ", @__FILE__, " ", @__LINE__)
|
||||
result = SQLLLM.query(inventoryquery, a.executeSQL, a.text2textInstructLLM)
|
||||
return (result=result, success=true, errormsg=nothing)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user