From 5d9ec26407b15c7effceb999bba3dfbeefc0adf2 Mon Sep 17 00:00:00 2001 From: Jacob Zimmerman Date: Tue, 3 Sep 2024 16:27:50 -0400 Subject: [PATCH] fix(examples/fine-tuning): used an old constant name (#34) --- examples/fine-tuning/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fine-tuning/main.go b/examples/fine-tuning/main.go index 5c3a744..3c8aeb7 100644 --- a/examples/fine-tuning/main.go +++ b/examples/fine-tuning/main.go @@ -19,7 +19,7 @@ func main() { data, err := os.Open("./fine-tuning-data.jsonl") file, err := client.Files.New(ctx, openai.FileNewParams{ File: openai.F[io.Reader](data), - Purpose: openai.F(openai.FileNewParamsPurposeFineTune), + Purpose: openai.F(openai.FilePurposeFineTune), }) if err != nil { panic(err)