diff --git a/Project.toml b/Project.toml index 9d782cf..6c2b773 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "SQLLLM" uuid = "2ebc79c7-cc10-4a3a-9665-d2e1d61e63d3" -version = "0.2.5" +version = "0.2.6" authors = ["narawat lamaiin "] [deps] diff --git a/src/interface.jl b/src/interface.jl index b149abd..50bf25c 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -118,9 +118,9 @@ function decisionMaker(state::T1, text2textInstructLLM::Function, llmFormatName: $similarSQL_ - + $(GeneralUtils.dict_to_string_html(state["action_history"])) - + $errornote @@ -284,14 +284,16 @@ function evaluator(state::T1, text2textInstructLLM::Function, llmFormatName::Str usermsg = """ - $(state["context"]["table_schema"]) + + $(state["context"]["table_schema"]) + + + $(state["chathistory"][2]["content"][1]["text"]) + + + $(GeneralUtils.dict_to_string_html(state["action_history"])) + - - $(state["chathistory"][2]["content"][1]["text"]) - - - $(GeneralUtils.dict_to_string_html(state["action_history"])) - """ msg = Dict(