docs: format .yaml

This commit is contained in:
hieu-jan 2024-01-24 10:55:24 +09:00
parent 45c08597fe
commit b4ffe006fe
5 changed files with 15 additions and 10 deletions

View File

@ -316,4 +316,4 @@ components:
deleted:
type: boolean
description: Indicates whether the assistant was successfully deleted.
example: true
example: true

View File

@ -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
@ -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
@ -188,4 +193,4 @@ components:
total_tokens:
type: integer
example: 533
description: Total number of tokens used
description: Total number of tokens used

View File

@ -309,4 +309,4 @@ components:
data:
type: array
items:
$ref: "#/components/schemas/MessageFileObject"
$ref: "#/components/schemas/MessageFileObject"

View File

@ -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: |

View File

@ -224,4 +224,4 @@ components:
deleted:
type: boolean
description: Indicates whether the thread was successfully deleted.
example: true
example: true