diff --git a/completion.go b/completion.go index 60bc215b..d28edd40 100644 --- a/completion.go +++ b/completion.go @@ -396,6 +396,11 @@ func (r CompletionNewParams) MarshalJSON() (data []byte, err error) { return apijson.MarshalRoot(r) } +// ID of the model to use. You can use the +// [List models](https://platform.openai.com/docs/api-reference/models/list) API to +// see all of your available models, or see our +// [Model overview](https://platform.openai.com/docs/models) for descriptions of +// them. type CompletionNewParamsModel string const ( diff --git a/finetuningjob.go b/finetuningjob.go index 0a664c9f..d3101eb3 100644 --- a/finetuningjob.go +++ b/finetuningjob.go @@ -549,6 +549,8 @@ func (r FineTuningJobNewParams) MarshalJSON() (data []byte, err error) { return apijson.MarshalRoot(r) } +// The name of the model to fine-tune. You can select one of the +// [supported models](https://platform.openai.com/docs/guides/fine-tuning#which-models-can-be-fine-tuned). type FineTuningJobNewParamsModel string const (