Skip to content

Commit

Permalink
docs: add missing docs for some enums (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 7, 2024
1 parent 3f66734 commit f01913f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 2 additions & 0 deletions finetuningjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit f01913f

Please sign in to comment.