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:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
CreateChatCompletionRequest:
|
#@overlay/match missing_ok=True
|
||||||
|
LocalAIBaseRequestExtension:
|
||||||
|
type: object
|
||||||
|
nullable: true
|
||||||
properties:
|
properties:
|
||||||
#@overlay/match missing_ok=True
|
seed:
|
||||||
x-localai-extensions:
|
type: integer
|
||||||
type: object
|
nullable: true
|
||||||
|
#@overlay/match missing_ok=True
|
||||||
|
LocalAITextRequestExtension:
|
||||||
|
allOf:
|
||||||
|
- $ref: "#/components/schemas/LocalAIBaseRequestExtension"
|
||||||
|
- type: object
|
||||||
nullable: true
|
nullable: true
|
||||||
properties:
|
properties:
|
||||||
seed:
|
|
||||||
type: integer
|
|
||||||
nullable: true
|
|
||||||
top_k:
|
top_k:
|
||||||
type: integer
|
type: integer
|
||||||
nullable: true
|
nullable: true
|
||||||
|
@ -46,19 +51,27 @@ components:
|
||||||
type: number
|
type: number
|
||||||
nullable: true
|
nullable: true
|
||||||
x-go-type: float64
|
x-go-type: float64
|
||||||
CreateImageRequest:
|
#@overlay/match missing_ok=True
|
||||||
properties:
|
LocalAIImageRequestExtension:
|
||||||
#@overlay/match missing_ok=True
|
allOf:
|
||||||
x-localai-extensions:
|
- $ref: "#/components/schemas/LocalAIBaseRequestExtension"
|
||||||
type: object
|
- type: object
|
||||||
nullable: true
|
nullable: true
|
||||||
properties:
|
properties:
|
||||||
seed:
|
|
||||||
type: integer
|
|
||||||
nullable: true
|
|
||||||
mode:
|
mode:
|
||||||
type: integer
|
type: integer
|
||||||
nullable: true
|
nullable: true
|
||||||
step:
|
step:
|
||||||
type: integer
|
type: integer
|
||||||
nullable: true
|
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