Skip to content

Commit

Permalink
docs: format .yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xHieu01 committed Jan 24, 2024
1 parent 45c0859 commit b4ffe00
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/openapi/specs/assistants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@ components:
deleted:
type: boolean
description: Indicates whether the assistant was successfully deleted.
example: true
example: true
17 changes: 11 additions & 6 deletions docs/openapi/specs/chat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ components:
stream:
type: boolean
default: true
description: Enables continuous output generation, allowing for streaming of
description:
Enables continuous output generation, allowing for streaming of
model responses.
model:
type: string
Expand All @@ -25,23 +26,27 @@ components:
max_tokens:
type: number
default: 2048
description: The maximum number of tokens the model will generate in a single
description:
The maximum number of tokens the model will generate in a single
response.
stop:
type: arrays
example:
- hello
description: Defines specific tokens or phrases at which the model will stop
description:
Defines specific tokens or phrases at which the model will stop
generating further output/
frequency_penalty:
type: number
default: 0
description: Adjusts the likelihood of the model repeating words or phrases in
description:
Adjusts the likelihood of the model repeating words or phrases in
its output.
presence_penalty:
type: number
default: 0
description: Influences the generation of new and varied concepts in the model's
description:
Influences the generation of new and varied concepts in the model's
output.
temperature:
type: number
Expand Down Expand Up @@ -188,4 +193,4 @@ components:
total_tokens:
type: integer
example: 533
description: Total number of tokens used
description: Total number of tokens used
2 changes: 1 addition & 1 deletion docs/openapi/specs/messages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,4 +309,4 @@ components:
data:
type: array
items:
$ref: "#/components/schemas/MessageFileObject"
$ref: "#/components/schemas/MessageFileObject"
2 changes: 1 addition & 1 deletion docs/openapi/specs/models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ components:
type: string
description: |
The identifier of the model.
example: ztrinity-v1.2-7b
example: trinity-v1.2-7b
object:
type: string
description: |
Expand Down
2 changes: 1 addition & 1 deletion docs/openapi/specs/threads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@ components:
deleted:
type: boolean
description: Indicates whether the thread was successfully deleted.
example: true
example: true

0 comments on commit b4ffe00

Please sign in to comment.