Skip to content

Commit

Permalink
fix(examples/fine-tuning): used an old constant name (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobzim-stl authored Sep 3, 2024
1 parent 7e81719 commit 5d9ec26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fine-tuning/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5d9ec26

Please sign in to comment.