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

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

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