Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rattrayalex committed Sep 19, 2023
1 parent 90f86ec commit 02152fd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2509,10 +2509,8 @@ components:
description: &completion_finish_reason_description |
The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,
`length` if the maximum number of tokens specified in the request was reached,
`content_filter` if content was omitted due to a flag from our content filters,
or `function_call` if the model decided to call a function.

enum: ["stop", "length", "content_filter", "function_call"]
or `content_filter` if content was omitted due to a flag from our content filters.
enum: ["stop", "length", "content_filter"]
usage:
$ref: "#/components/schemas/CompletionUsage"
required:
Expand Down Expand Up @@ -2816,8 +2814,10 @@ components:
type: string
description: &chat_completion_finish_reason_description |
The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,
`length` if the maximum number of tokens specified in the request was reached, or `function_call` if the model called a function.
enum: ["stop", "length", "function_call"]
`length` if the maximum number of tokens specified in the request was reached,
`content_filter` if content was omitted due to a flag from our content filters,
or `function_call` if the model called a function.
enum: ["stop", "length", "function_call", "content_filter"]
usage:
$ref: "#/components/schemas/CompletionUsage"
required:
Expand Down

0 comments on commit 02152fd

Please sign in to comment.