mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-29 22:20:43 +00:00
fix generation!
This commit is contained in:
parent
2867bca1f2
commit
fc3c105d42
1 changed files with 29 additions and 16 deletions
|
@ -8,16 +8,21 @@
|
|||
---
|
||||
components:
|
||||
schemas:
|
||||
CreateChatCompletionRequest:
|
||||
properties:
|
||||
#@overlay/match missing_ok=True
|
||||
x-localai-extensions:
|
||||
LocalAIBaseRequestExtension:
|
||||
type: object
|
||||
nullable: true
|
||||
properties:
|
||||
seed:
|
||||
type: integer
|
||||
nullable: true
|
||||
#@overlay/match missing_ok=True
|
||||
LocalAITextRequestExtension:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/LocalAIBaseRequestExtension"
|
||||
- type: object
|
||||
nullable: true
|
||||
properties:
|
||||
top_k:
|
||||
type: integer
|
||||
nullable: true
|
||||
|
@ -46,19 +51,27 @@ components:
|
|||
type: number
|
||||
nullable: true
|
||||
x-go-type: float64
|
||||
CreateImageRequest:
|
||||
properties:
|
||||
#@overlay/match missing_ok=True
|
||||
x-localai-extensions:
|
||||
type: object
|
||||
LocalAIImageRequestExtension:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/LocalAIBaseRequestExtension"
|
||||
- type: object
|
||||
nullable: true
|
||||
properties:
|
||||
seed:
|
||||
type: integer
|
||||
nullable: true
|
||||
mode:
|
||||
type: integer
|
||||
nullable: true
|
||||
step:
|
||||
type: integer
|
||||
nullable: true
|
||||
CreateChatCompletionRequest:
|
||||
properties:
|
||||
#@overlay/match missing_ok=True
|
||||
x-localai-extensions:
|
||||
$ref: "#/components/schemas/LocalAITextRequestExtension"
|
||||
CreateImageRequest:
|
||||
properties:
|
||||
#@overlay/match missing_ok=True
|
||||
x-localai-extensions:
|
||||
$ref: "#/components/schemas/LocalAIImageRequestExtension"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue