From 4b4244a9f957201aac6d778a183862e53fcaf845 Mon Sep 17 00:00:00 2001 From: Jun Nishimura Date: Tue, 29 Aug 2023 00:16:40 +0900 Subject: [PATCH] add Call struct (#75) --- ai/functions/template.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ai/functions/template.go b/ai/functions/template.go index a226a73..7da3b86 100644 --- a/ai/functions/template.go +++ b/ai/functions/template.go @@ -37,6 +37,10 @@ var List = []FunctionName{ SetSpeechinessFunctionName, } +type Call struct { + Name string `json:"name"` +} + type Parameters struct { Type string `json:"type"` Properties any `json:"properties"`