feat: +example

This commit is contained in:
莘权 马 2023-09-05 19:35:48 +08:00
parent 96aad1ce77
commit c800ad02d1

View file

@ -21,7 +21,9 @@ entities:
- ask: 'A boy affectionate says "hello world"'
answer: 'text_to_speech(text="hello world", role="Boy", style="affectionate")'
- ask: 'A boy says "你好"'
answer: 'text_to_speech(text="hello world", role="Boy", lang="Chinese")'
answer: 'text_to_speech(text="你好", role="Boy", lang="Chinese")'
- ask: 'How to speak "你好"?'
answer: 'text_to_speech(text="你好", lang="Chinese")'
returns:
type: string
format: base64
@ -42,6 +44,10 @@ entities:
answer: 'text_to_image(text="Draw a girl", size_type="512x512")'
- ask: 'Draw an apple'
answer: 'text_to_image(text="Draw an apple", size_type="512x512")'
- ask: 'Draw an apple picture'
answer: 'text_to_image(text="Draw an apple", size_type="512x512")'
- ask: 'Draw an apple image'
answer: 'text_to_image(text="Draw an apple", size_type="512x512")'
returns:
type: string
format: base64