squash on a reasonable progress checkpoint

This commit is contained in:
Dave Lee 2023-05-20 18:29:54 -04:00
parent b8f52d67e1
commit 4d48b362f6
No known key found for this signature in database
10 changed files with 1067 additions and 252 deletions

View file

@ -0,0 +1,30 @@
#! This file is just for my reference during development and will be removed.
components:
schemas:
CreateChatCompletionRequest:
type: object
properties:
model:
description: ID of the model to use. Currently, only `gpt-3.5-turbo` and `gpt-3.5-turbo-0301` are supported.
type: string
messages:
description: The messages to generate chat completions for, in the [chat format](/docs/guides/chat/introduction).
type: array
minItems: 1
items:
$ref: '#/components/schemas/ChatCompletionRequestMessage'
temperature:
type: number
minimum: 0
maximum: 2
default: 1
example: 1
nullable: true
description: *completions_temperature_description
CreateImageRequest:
type: object
properties:
prompt:
description: A text description of the desired image(s). The maximum length is 1000 characters.
type: string
example: "A cute baby sea otter"