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 ff7da2f commit 90f86ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2508,7 +2508,10 @@ components:
type: string
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,
or `length` if the maximum number of tokens specified in the request was reached.
`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"]
usage:
$ref: "#/components/schemas/CompletionUsage"
Expand Down

0 comments on commit 90f86ec

Please sign in to comment.