mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-30 06:30:43 +00:00
squash on a reasonable progress checkpoint
This commit is contained in:
parent
b8f52d67e1
commit
4d48b362f6
10 changed files with 1067 additions and 252 deletions
30
openai-openapi/test_segment.yml
Normal file
30
openai-openapi/test_segment.yml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue