Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 243e3fe10b | |||
| c594a34e4e |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
name = "SQLLLM"
|
name = "SQLLLM"
|
||||||
uuid = "2ebc79c7-cc10-4a3a-9665-d2e1d61e63d3"
|
uuid = "2ebc79c7-cc10-4a3a-9665-d2e1d61e63d3"
|
||||||
version = "0.2.6"
|
version = "0.2.7"
|
||||||
authors = ["narawat lamaiin <narawat@outlook.com>"]
|
authors = ["narawat lamaiin <narawat@outlook.com>"]
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|||||||
+2
-2
@@ -502,7 +502,7 @@ function SQLexecution(executeSQL::Function, sql::T
|
|||||||
tablesize = size(df)
|
tablesize = size(df)
|
||||||
row, column = tablesize
|
row, column = tablesize
|
||||||
if row == 0
|
if row == 0
|
||||||
return (result_str="The resulting table has 0 row.", result_raw=df, success=true, errormsg=nothing)
|
return (result_str="No records found.", result_raw=df, success=true, errormsg=nothing)
|
||||||
elseif column > 30
|
elseif column > 30
|
||||||
return (result_str="There are more than 30 columns. Please be more specific.", result_raw=df, success=true, errormsg=nothing)
|
return (result_str="There are more than 30 columns. Please be more specific.", result_raw=df, success=true, errormsg=nothing)
|
||||||
else
|
else
|
||||||
@@ -545,7 +545,7 @@ end
|
|||||||
- `result::String`
|
- `result::String`
|
||||||
|
|
||||||
# Signature
|
# Signature
|
||||||
""" #WORKING
|
""" #PENDING
|
||||||
function extractContent_dataframe(df::DataFrame, text2textInstructLLM::Function, action::String,
|
function extractContent_dataframe(df::DataFrame, text2textInstructLLM::Function, action::String,
|
||||||
llmFormatName::String
|
llmFormatName::String
|
||||||
)::String
|
)::String
|
||||||
|
|||||||
Reference in New Issue
Block a user