From 323178dd724dad74913e09a3a6c3dc3cdb0dc985 Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Thu, 18 Jul 2024 13:47:05 +0700 Subject: [PATCH] update --- src/llmfunction.jl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/llmfunction.jl b/src/llmfunction.jl index bc9a587..19b6d2d 100644 --- a/src/llmfunction.jl +++ b/src/llmfunction.jl @@ -370,7 +370,7 @@ function winestock(a::T1, input::T2 # WHERE 'China' = ANY(food_name) # OR 'India' = ANY(food_name); - wineattributes = wineattributes_wordToNumber(a, input) + wineattributes = extractWineAttributes(a, input) systemmsg = """ @@ -448,6 +448,11 @@ function winestock(a::T1, input::T2 Let's begin! """ + systemmsg = + """ + + """ + usermsg = """ $input @@ -574,11 +579,11 @@ julia> # TODO - [] update docstring - - [WORKING] implement the function + - [x] implement the function # Signature """ -function wineattributes_wordToNumber(a::T1, input::T2 +function extractWineAttributes(a::T1, input::T2 )::String where {T1<:agent, T2<:AbstractString} converstiontable =