Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rattrayalex committed Jul 13, 2023
1 parent 5c7cd04 commit 5670294
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,8 @@ components:
type: object
required:
- index
- delta
- finish_reason
properties:
index:
type: integer
Expand All @@ -2169,6 +2171,7 @@ components:
finish_reason:
type: string
enum: ["stop", "length", "function_call"]
nullable: true
required:
- id
- object
Expand Down Expand Up @@ -2242,35 +2245,12 @@ components:
required:
- text
- index
- logprobs
- finish_reason
properties:
text:
type: string
index:
type: integer
logprobs:
type: object
nullable: true
properties:
tokens:
type: array
items:
type: string
token_logprobs:
type: array
items:
type: number
top_logprobs:
type: array
items:
type: object
additionalProperties:
type: integer
text_offset:
type: array
items:
type: integer
finish_reason:
type: string
enum: ["stop", "length"]
Expand Down

0 comments on commit 5670294

Please sign in to comment.