Skip to content

Commit 3d9fbd8

Browse files
docs: add missing docs for some enums (#114)
1 parent 3f66734 commit 3d9fbd8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

completion.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,11 @@ func (r CompletionNewParams) MarshalJSON() (data []byte, err error) {
396396
return apijson.MarshalRoot(r)
397397
}
398398

399+
// ID of the model to use. You can use the
400+
// [List models](https://platform.openai.com/docs/api-reference/models/list) API to
401+
// see all of your available models, or see our
402+
// [Model overview](https://platform.openai.com/docs/models) for descriptions of
403+
// them.
399404
type CompletionNewParamsModel string
400405

401406
const (

finetuningjob.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ func (r FineTuningJobNewParams) MarshalJSON() (data []byte, err error) {
549549
return apijson.MarshalRoot(r)
550550
}
551551

552+
// The name of the model to fine-tune. You can select one of the
553+
// [supported models](https://platform.openai.com/docs/guides/fine-tuning#which-models-can-be-fine-tuned).
552554
type FineTuningJobNewParamsModel string
553555

554556
const (

0 commit comments

Comments
 (0)