feat: implement new fine tuning job API (#479)
* feat: implement new fine tuning job API * fix: export ListFineTuningJobEventsParameter * fix: lint errors * fix: test errors * fix: code test coverage * fix: code test coverage * fix: use any * chore: use url.Values
This commit is contained in:
@@ -223,6 +223,18 @@ func TestClientReturnsRequestBuilderErrors(t *testing.T) {
|
||||
{"ListFineTuneEvents", func() (any, error) {
|
||||
return client.ListFineTuneEvents(ctx, "")
|
||||
}},
|
||||
{"CreateFineTuningJob", func() (any, error) {
|
||||
return client.CreateFineTuningJob(ctx, FineTuningJobRequest{})
|
||||
}},
|
||||
{"CancelFineTuningJob", func() (any, error) {
|
||||
return client.CancelFineTuningJob(ctx, "")
|
||||
}},
|
||||
{"RetrieveFineTuningJob", func() (any, error) {
|
||||
return client.RetrieveFineTuningJob(ctx, "")
|
||||
}},
|
||||
{"ListFineTuningJobEvents", func() (any, error) {
|
||||
return client.ListFineTuningJobEvents(ctx, "")
|
||||
}},
|
||||
{"Moderations", func() (any, error) {
|
||||
return client.Moderations(ctx, ModerationRequest{})
|
||||
}},
|
||||
|
||||
Reference in New Issue
Block a user