mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
doc: update swagger
This commit is contained in:
21
swagger.yml
21
swagger.yml
@ -54,10 +54,19 @@ components:
|
||||
audio:
|
||||
type: string
|
||||
format: binary
|
||||
TextAndImageInput:
|
||||
type: object
|
||||
properties:
|
||||
text:
|
||||
type: string
|
||||
image:
|
||||
type: string
|
||||
format: binary
|
||||
Input:
|
||||
oneOf:
|
||||
- $ref: "#/components/schemas/TextToAudioInput"
|
||||
- $ref: "#/components/schemas/AudioToTextInput"
|
||||
- $ref: "#/components/schemas/TextAndImageInput"
|
||||
TextResult:
|
||||
type: object
|
||||
properties:
|
||||
@ -71,5 +80,13 @@ components:
|
||||
type: string
|
||||
description: "Blackbox name"
|
||||
enum:
|
||||
- "text_to_audio"
|
||||
- "audio_to_text"
|
||||
- text_to_audio
|
||||
- audio_to_text
|
||||
- asr
|
||||
- tts
|
||||
- sentiment_engine
|
||||
- tesou
|
||||
- fastchat
|
||||
- audio_chat
|
||||
- g2e
|
||||
- text_and_image
|
||||
Reference in New Issue
Block a user