update #18
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
name = "YiemAgent"
|
name = "YiemAgent"
|
||||||
uuid = "e012c34b-7f78-48e0-971c-7abb83b6f0a2"
|
uuid = "e012c34b-7f78-48e0-971c-7abb83b6f0a2"
|
||||||
version = "0.6.2"
|
version = "0.6.3"
|
||||||
authors = ["narawat lamaiin <narawat@outlook.com>"]
|
authors = ["narawat lamaiin <narawat@outlook.com>"]
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|||||||
+1
-1
@@ -517,7 +517,7 @@ function generatesql(a::T, searchterm::String,
|
|||||||
requiredKeys = ["plan", "action_name", "action_input"]
|
requiredKeys = ["plan", "action_name", "action_input"]
|
||||||
errornote = ""
|
errornote = ""
|
||||||
# provide similar sql only for the first attempt
|
# provide similar sql only for the first attempt
|
||||||
sql, distance = a.context.similarSQLVectorDB(searchterm)
|
# sql, distance = a.context.similarSQLVectorDB(searchterm)
|
||||||
|
|
||||||
# similarSQL_ = sql !== nothing ? sql : "None"
|
# similarSQL_ = sql !== nothing ? sql : "None"
|
||||||
# # if sql is really close, just use it
|
# # if sql is really close, just use it
|
||||||
|
|||||||
Reference in New Issue
Block a user