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)